diff options
author | minskim <minskim> | 2006-06-27 16:30:28 +0000 |
---|---|---|
committer | minskim <minskim> | 2006-06-27 16:30:28 +0000 |
commit | 742837241b5ffbbd3787a75393ab77cd3aeb8aa9 (patch) | |
tree | d38ec01609a48def4234a9cff42315310f227749 | |
parent | ab23ccd36b241fc68fac27dc8a742f31d8e3fd10 (diff) | |
download | pkgsrc-742837241b5ffbbd3787a75393ab77cd3aeb8aa9.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.
-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 |