diff options
author | minskim <minskim@pkgsrc.org> | 2006-06-27 16:30:28 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2006-06-27 16:30:28 +0000 |
commit | b8053f85c0b835c3c287759f466541021d13e41d (patch) | |
tree | d38ec01609a48def4234a9cff42315310f227749 /games | |
parent | 40918695c9e190a834190d107534691024ddc930 (diff) | |
download | pkgsrc-b8053f85c0b835c3c287759f466541021d13e41d.tar.gz |
This game is a csh script; add a run-time dependency on csh using USE_TOOLS.
Also set REPLACE_INTERPRETER for the csh script. Bump PKGREVISION.
Diffstat (limited to 'games')
-rw-r--r-- | games/dipmap/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/games/dipmap/Makefile b/games/dipmap/Makefile index a48cfdb01af..53cbc7ddeb0 100644 --- a/games/dipmap/Makefile +++ b/games/dipmap/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.5 2005/06/16 06:57:54 jlam Exp $ +# $NetBSD: Makefile,v 1.6 2006/06/27 16:30:28 minskim Exp $ DISTNAME= mapit.v1-16 PKGNAME= dipmap-1.16 +PKGREVISION= 1 CATEGORIES= games MASTER_SITES= ftp://ftp.ugcs.caltech.edu/pub/diplomacy/Sources/ EXTRACT_SUFX= .tar.Z @@ -11,10 +12,15 @@ HOMEPAGE= http://www.diplom.org/Online/mapsoftware.html COMMENT= Generate postscript maps from results of play-by-email Diplomacy games MAKEFILE= makefile -NO_CONFIGURE= yes +USE_TOOLS+= csh:run WRKSRC= ${WRKDIR}/mapit INSTALLATION_DIRS= bin libexec +REPLACE_INTERPRETER+= csh +REPLACE.csh.old= /bin/csh +REPLACE.csh.new= ${CSH} +REPLACE_FILES.csh= dipmap + post-patch: ${SED} "s,@PREFIX@,${PREFIX},g" ${WRKSRC}/dipmap > ${WRKSRC}/dipmap.new ${MV} ${WRKSRC}/dipmap.new ${WRKSRC}/dipmap |