aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authorlawrance <lawrance@FreeBSD.org>2006-05-14 21:17:22 +0800
committerlawrance <lawrance@FreeBSD.org>2006-05-14 21:17:22 +0800
commit5bba6a34454a2842fb7c9de370b170c00cdecf63 (patch)
treef17cc9135f4a74205806b5227afdf2a37670f613 /x11
parent07209f19766e237457ce921048590e97142701b9 (diff)
downloadfreebsd-ports-graphics-5bba6a34454a2842fb7c9de370b170c00cdecf63.tar.gz
freebsd-ports-graphics-5bba6a34454a2842fb7c9de370b170c00cdecf63.tar.zst
freebsd-ports-graphics-5bba6a34454a2842fb7c9de370b170c00cdecf63.zip
Update mastersites.
Make compliant with CC/CFLAGS/X11BASE. Add WWW link. PR: ports/96221 Submitted by: Ports Fury
Diffstat (limited to 'x11')
-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 be1229bafae..2a0f87f6604 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 bed0ec4b14e..00000000000
--- 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 19f1eca943a..ff080856acd 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 c5e4dfb9fea..00000000000
--- 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