ports/96221: Update port: x11/xmangekyou
KATO Tsuguru
tkato432 at yahoo.com
Sun Apr 23 18:10:28 UTC 2006
>Number: 96221
>Category: ports
>Synopsis: Update port: x11/xmangekyou
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Apr 23 18:10:21 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 4.11-RELEASE-p15 i386
>Organization:
>Environment:
>Description:
- Fix MASTER_SITES
- Support CC/CFLAGS/X11BASE properly
- Add WWW: line
Remove file:
files/patch-aa
pkg-plist
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/x11/xmangekyou/Makefile x11/xmangekyou/Makefile
--- /usr/ports/x11/xmangekyou/Makefile Sun Apr 23 21:33:03 2006
+++ x11/xmangekyou/Makefile Mon Apr 24 01:38:33 2006
@@ -7,20 +7,39 @@
PORTNAME= xmangekyou
PORTVERSION= 2.0.1
+PORTREVISION= 1
CATEGORIES= x11
-MASTER_SITES= http://www.seki.ee.kagu.tus.ac.jp/~sakai/myfreesoft/
+MASTER_SITES= http://hp.vector.co.jp/authors/VA014157/myfreesoft/ \
+ ftp://ftp.vector.co.jp/pack/unix/art/anime/
MAINTAINER= ports at FreeBSD.org
COMMENT= A kaleidoscope on X
-BROKEN= does not fetch
-
-ALL_TARGET= xmangekyou
-
USE_X_PREFIX= yes
USE_XPM= yes
+ALL_TARGET= xmangekyou
-MAN1= xmangekyou.1
MANCOMPRESSED= yes
+MAN1= xmangekyou.1
+PORTDOCS= COPYRIGHT.euc HISTORY.euc README.euc
+PLIST_FILES= bin/xmangekyou lib/X11/XMangekyou/animation.dat
+PLIST_DIRS= lib/X11/XMangekyou
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|= /usr/X11R6|= $${PREFIX}|g ; \
+ s|gcc |$${CC} |g ; \
+ s|-O |$${CFLAGS} |g ; \
+ s|-I/usr/X11R6/|-I$${X11BASE}/|g ; \
+ s|-L/usr/X11R6/|-L$${X11BASE}/|g' ${WRKSRC}/Makefile
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/xmangekyou ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/xmangekyou.1.gz ${MANPREFIX}/man/man1
+ @${MKDIR} ${PREFIX}/lib/X11/XMangekyou
+ ${INSTALL_DATA} ${WRKSRC}/animation.dat ${PREFIX}/lib/X11/XMangekyou
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/*.euc ${DOCSDIR}
+.endif
.include <bsd.port.mk>
diff -urN /usr/ports/x11/xmangekyou/files/patch-aa x11/xmangekyou/files/patch-aa
--- /usr/ports/x11/xmangekyou/files/patch-aa Sat Nov 4 02:07:32 2000
+++ x11/xmangekyou/files/patch-aa Thu Jan 1 09:00:00 1970
@@ -1,8 +0,0 @@
---- Makefile~ Fri Nov 3 05:13:33 2000
-+++ Makefile Fri Nov 3 05:14:52 2000
-@@ -1,4 +1,4 @@
--XMANGEKYOU_PREFIX = /usr/X11R6
-+XMANGEKYOU_PREFIX = ${PREFIX}
- XMANGEKYOU_BIN = ${XMANGEKYOU_PREFIX}/bin
- XMANGEKYOU_LIB = ${XMANGEKYOU_PREFIX}/lib/X11/XMangekyou
- XMANGEKYOU_MAN = ${XMANGEKYOU_PREFIX}/man/man1
diff -urN /usr/ports/x11/xmangekyou/pkg-descr x11/xmangekyou/pkg-descr
--- /usr/ports/x11/xmangekyou/pkg-descr Sat Apr 15 04:31:42 2006
+++ x11/xmangekyou/pkg-descr Mon Apr 24 01:29:51 2006
@@ -1,2 +1,4 @@
XMangekyou is a kaleidoscope on X. You can see many, many, many kaleidoscope
patterns.
+
+WWW: http://hp.vector.co.jp/authors/VA014157/myfreesoft/
diff -urN /usr/ports/x11/xmangekyou/pkg-plist x11/xmangekyou/pkg-plist
--- /usr/ports/x11/xmangekyou/pkg-plist Thu Dec 24 23:32:14 1998
+++ x11/xmangekyou/pkg-plist Thu Jan 1 09:00:00 1970
@@ -1,6 +0,0 @@
-bin/xmangekyou
-lib/X11/XMangekyou/animation.dat
-lib/X11/XMangekyou/README.euc
-lib/X11/XMangekyou/Makefile
-lib/X11/XMangekyou/COPYRIGHT.euc
- at dirrm lib/X11/XMangekyou
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list