pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/dipmap This game is a csh script; add a run-time...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a27fac492b95
branches:  trunk
changeset: 515210:a27fac492b95
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Tue Jun 27 16:30:28 2006 +0000

description:
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:

 games/dipmap/Makefile |  10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diffs (30 lines):

diff -r 4e7dcbf0dbb8 -r a27fac492b95 games/dipmap/Makefile
--- a/games/dipmap/Makefile     Tue Jun 27 16:10:05 2006 +0000
+++ b/games/dipmap/Makefile     Tue Jun 27 16:30:28 2006 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index