summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Marc Zucconi <jmz@FreeBSD.org>2000-02-13 01:21:24 +0000
committerJean-Marc Zucconi <jmz@FreeBSD.org>2000-02-13 01:21:24 +0000
commit42aba7d78c51e4cc86c5d748c7b6c4312c22b13a (patch)
tree023f5fecbc41bc69afb62a7b3a73d3439c893ee1
parentOops, add this patch (fixes threading). (diff)
Add new MASTER_SITES
Support CFLAGS properly PR: ports/1667 Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Notes
Notes: svn path=/head/; revision=25726
-rw-r--r--games/xjewel/Makefile19
-rw-r--r--games/xjewel/pkg-plist8
2 files changed, 11 insertions, 16 deletions
diff --git a/games/xjewel/Makefile b/games/xjewel/Makefile
index a766146907a7..ee1a64a05202 100644
--- a/games/xjewel/Makefile
+++ b/games/xjewel/Makefile
@@ -8,7 +8,9 @@
DISTNAME= xjewel-1.6
CATEGORIES= games
-MASTER_SITES= ftp://ftp.warwick.ac.uk/pub/x11/
+MASTER_SITES= ftp://ftp.warwick.ac.uk/pub/x11/ \
+ ftp://ftp.x.org/R5contrib/ \
+ ftp://ftp.cdrom.com/pub/X11/R5contrib/
EXTRACT_SUFX= .tar.z
MAINTAINER= jmz@FreeBSD.org
@@ -16,18 +18,11 @@ MAINTAINER= jmz@FreeBSD.org
USE_IMAKE= yes
MAN6= xjewel.6
-pre-install:
- @${MKDIR} ${PREFIX}/bin
- @${MKDIR} ${PREFIX}/lib/X11/xjewel
- @${MKDIR} ${PREFIX}/man/man6
- @(cd ${WRKSRC}/bitmaps/; ${INSTALL_DATA} seven_seg.pcf.gz fonts.dir \
- ${PREFIX}/lib/X11/xjewel)
+FONTSDIR= lib/X11/fonts/local
+PLIST_SUB= FONTSDIR=${FONTSDIR}
post-install:
- @(${MV} ${PREFIX}/bin/xjewel ${PREFIX}/bin/xjewel_; \
- $(ECHO) "#!/bin/sh" >${PREFIX}/bin/xjewel; \
- $(ECHO) "xset +fp ${PREFIX}/lib/X11/xjewel" >>${PREFIX}/bin/xjewel; \
- $(ECHO) "${PREFIX}/bin/xjewel_" >>${PREFIX}/bin/xjewel; \
- ${CHMOD} ugo+x ${PREFIX}/bin/xjewel)
+ ${INSTALL_DATA} ${WRKSRC}/bitmaps/seven_seg.pcf.gz ${PREFIX}/${FONTSDIR}
+ @(cd ${PREFIX}/${FONTSDIR} ; mkfontdir)
.include <bsd.port.mk>
diff --git a/games/xjewel/pkg-plist b/games/xjewel/pkg-plist
index ce8482e9e52a..2032cfcd4ddc 100644
--- a/games/xjewel/pkg-plist
+++ b/games/xjewel/pkg-plist
@@ -1,6 +1,6 @@
bin/xjewel
-bin/xjewel_
-lib/X11/xjewel.scores
-lib/X11/xjewel/fonts.dir
-lib/X11/xjewel/seven_seg.pcf.gz
+lib/X11/xjewel/xjewel.scores
+%%FONTSDIR%%/seven_seg.pcf.gz
+@exec cd %D/%%FONTSDIR%% ; %D/bin/mkfontdir
+@unexec cd %D/%%FONTSDIR%% ; %D/bin/mkfontdir
@dirrm lib/X11/xjewel