summaryrefslogtreecommitdiff
path: root/x11/xmangekyou
diff options
context:
space:
mode:
authorSam Lawrance <lawrance@FreeBSD.org>2006-05-14 13:17:22 +0000
committerSam Lawrance <lawrance@FreeBSD.org>2006-05-14 13:17:22 +0000
commit3c1eb6397bfaf07df7c2b878d86008ce41d48dfa (patch)
tree719b59d7198e017f81e1f6bfc902a9ae5b19c745 /x11/xmangekyou
parentUp to 0.954 (diff)
Update mastersites.
Make compliant with CC/CFLAGS/X11BASE. Add WWW link. PR: ports/96221 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=162324
Diffstat (limited to 'x11/xmangekyou')
-rw-r--r--x11/xmangekyou/Makefile26
-rw-r--r--x11/xmangekyou/files/patch-aa8
-rw-r--r--x11/xmangekyou/pkg-descr2
-rw-r--r--x11/xmangekyou/pkg-plist6
4 files changed, 25 insertions, 17 deletions
diff --git a/x11/xmangekyou/Makefile b/x11/xmangekyou/Makefile
index be1229bafae3..2a0f87f66047 100644
--- a/x11/xmangekyou/Makefile
+++ b/x11/xmangekyou/Makefile
@@ -7,14 +7,14 @@
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@FreeBSD.org
COMMENT= A kaleidoscope on X
-BROKEN= does not fetch
-
ALL_TARGET= xmangekyou
USE_X_PREFIX= yes
@@ -22,5 +22,25 @@ USE_XPM= yes
MAN1= xmangekyou.1
MANCOMPRESSED= yes
+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 --git a/x11/xmangekyou/files/patch-aa b/x11/xmangekyou/files/patch-aa
deleted file mode 100644
index bed0ec4b14e6..000000000000
--- a/x11/xmangekyou/files/patch-aa
+++ /dev/null
@@ -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 --git a/x11/xmangekyou/pkg-descr b/x11/xmangekyou/pkg-descr
index 19f1eca943ad..ff080856acd9 100644
--- a/x11/xmangekyou/pkg-descr
+++ b/x11/xmangekyou/pkg-descr
@@ -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 --git a/x11/xmangekyou/pkg-plist b/x11/xmangekyou/pkg-plist
deleted file mode 100644
index c5e4dfb9feae..000000000000
--- a/x11/xmangekyou/pkg-plist
+++ /dev/null
@@ -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
-@dirrm lib/X11/XMangekyou