diff options
author | jmz <jmz@FreeBSD.org> | 2000-02-13 09:21:24 +0800 |
---|---|---|
committer | jmz <jmz@FreeBSD.org> | 2000-02-13 09:21:24 +0800 |
commit | b7072185491aa0db02858501ab7a3648d7983459 (patch) | |
tree | 4137d85cbd57c6c970f28ad530e59abc4f96d8ac /games/xjewel | |
parent | 9920740511cd1e8797e68fb5a494d475d48d8a6b (diff) | |
download | freebsd-ports-gnome-b7072185491aa0db02858501ab7a3648d7983459.tar.gz freebsd-ports-gnome-b7072185491aa0db02858501ab7a3648d7983459.tar.zst freebsd-ports-gnome-b7072185491aa0db02858501ab7a3648d7983459.zip |
Add new MASTER_SITES
Support CFLAGS properly
PR: ports/1667
Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
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 |