diff options
author | dmcmahill <dmcmahill> | 1999-08-26 00:22:53 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill> | 1999-08-26 00:22:53 +0000 |
commit | c40132f02edd5d7f8e1bb2a663e54bcbed5f582a (patch) | |
tree | afbcf57a2b609931490dabfa632508b9a0a51571 /games/xscrabble/Makefile | |
parent | 02266e6a14ba3ace056e3f72ca1679bc4c4babcd (diff) | |
download | pkgsrc-c40132f02edd5d7f8e1bb2a663e54bcbed5f582a.tar.gz |
add xscrabble-1.0 to collection.
X version of the popular board game, for 1 to 4 players.
Diffstat (limited to 'games/xscrabble/Makefile')
-rw-r--r-- | games/xscrabble/Makefile | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/games/xscrabble/Makefile b/games/xscrabble/Makefile new file mode 100644 index 00000000000..25d0e3fa95b --- /dev/null +++ b/games/xscrabble/Makefile @@ -0,0 +1,36 @@ +# $NetBSD: Makefile,v 1.1.1.1 1999/08/26 00:22:53 dmcmahill Exp $ +# + +DISTNAME= xscrabble +PKGNAME= xscrabble-1.0 +CATEGORIES= games x11 +MASTER_SITES= http://www.belgarath.demon.co.uk/programs/ + +MAINTAINER= dmcmahill@netbsd.org +HOMEPAGE= http://www.belgarath.demon.co.uk/programs/ + +WRKSRC= ${WRKDIR}/xscrabble +USE_X11BASE= yes +USE_IMAKE= yes + +post-patch: + ${SED} 's!/usr/local/lib!${PREFIX}/share/games/xscrabble!g' \ + ${WRKSRC}/XScrabble.ad > ${WRKSRC}/XScrabble + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/src/xscrabble ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/src/xscrab ${PREFIX}/bin + ${INSTALL_DATA_DIR} ${PREFIX}/share/games + ${INSTALL_DATA_DIR} ${PREFIX}/share/games/xscrabble + ${INSTALL_DATA} ${WRKSRC}/OSPD3.gz ${PREFIX}/share/games/xscrabble + ${INSTALL_DATA} ${WRKSRC}/scrabble_permutations ${PREFIX}/share/games/xscrabble + ${INSTALL_DATA} ${WRKSRC}/xscrabble.scores ${PREFIX}/share/games/xscrabble/xscrabble.scores.dist + chown ${BINOWN}:games ${PREFIX}/share/games/xscrabble/xscrabble.scores.dist + chmod 0664 ${PREFIX}/share/games/xscrabble/xscrabble.scores.dist + ${INSTALL_DATA} ${WRKSRC}/XScrabble ${PREFIX}/lib/X11/app-defaults + @if [ ! -f /var/games/xscrabble.scores ]; then \ + ${CP} -p ${PREFIX}/share/games/xscrabble/xscrabble.scores.dist \ + /var/games/xscrabble.scores ; \ + fi + +.include "../../mk/bsd.pkg.mk" |