diff options
Diffstat (limited to 'games/xjewel')
-rw-r--r-- | games/xjewel/Makefile | 19 | ||||
-rw-r--r-- | games/xjewel/pkg-plist | 8 |
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 |