From b7072185491aa0db02858501ab7a3648d7983459 Mon Sep 17 00:00:00 2001 From: jmz Date: Sun, 13 Feb 2000 01:21:24 +0000 Subject: Add new MASTER_SITES Support CFLAGS properly PR: ports/1667 Submitted by: KATO Tsuguru --- games/xjewel/Makefile | 19 +++++++------------ games/xjewel/pkg-plist | 8 ++++---- 2 files changed, 11 insertions(+), 16 deletions(-) (limited to 'games/xjewel') 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 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 -- cgit