summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-07-25 22:55:35 +0000
committerrillig <rillig@pkgsrc.org>2007-07-25 22:55:35 +0000
commit933e780e40efe95fa289edf18bdd33d6c0333a24 (patch)
tree25d1ca94b6ebcfcbff31b7dbe8e6a6f190890bca /games
parent5665acbf1932b7e92d2cd4d1b04786f5f80d58c6 (diff)
downloadpkgsrc-933e780e40efe95fa289edf18bdd33d6c0333a24.tar.gz
Velena needs the opening book installed to work correctly. PKGREVISION++
Diffstat (limited to 'games')
-rw-r--r--games/velena/Makefile9
-rw-r--r--games/velena/PLIST3
2 files changed, 10 insertions, 2 deletions
diff --git a/games/velena/Makefile b/games/velena/Makefile
index aee2128174a..1054ecd13a8 100644
--- a/games/velena/Makefile
+++ b/games/velena/Makefile
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.2 2007/07/25 00:19:33 rillig Exp $
+# $NetBSD: Makefile,v 1.3 2007/07/25 22:55:35 rillig Exp $
#
DISTNAME= veleng10
PKGNAME= velena-1.0
+PKGREVISION= 1
CATEGORIES= games
MASTER_SITES= http://www.ce.unipr.it/~gbe/
EXTRACT_SUFX= .zip
@@ -21,8 +22,14 @@ WRKSRC= ${WRKDIR}
MAKE_FILE= makefile
INSTALLATION_DIRS_FROM_PLIST= yes
+SUBST_CLASSES+= path
+SUBST_STAGE.path= pre-configure
+SUBST_FILES.path= connect4.h
+SUBST_SED.path= -e 's,"white_ob.cn4","${PREFIX}/share/velena/white_ob.cn4",'
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/veleng ${DESTDIR}${PREFIX}/bin/velena
${INSTALL_DATA} ${WRKSRC}/readme ${DESTDIR}${PREFIX}/share/doc/velena/README
+ ${INSTALL_DATA} ${WRKSRC}/white_ob.cn4 ${DESTDIR}${PREFIX}/share/velena/.
.include "../../mk/bsd.pkg.mk"
diff --git a/games/velena/PLIST b/games/velena/PLIST
index b6ab37bab5c..3576da16c4e 100644
--- a/games/velena/PLIST
+++ b/games/velena/PLIST
@@ -1,3 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2007/07/25 00:11:10 rillig Exp $
+@comment $NetBSD: PLIST,v 1.2 2007/07/25 22:55:35 rillig Exp $
bin/velena
share/doc/velena/README
+share/velena/white_ob.cn4