2006-12-27 14:37:35 +01:00
|
|
|
# $NetBSD: Makefile,v 1.20 2006/12/27 13:37:37 joerg Exp $
|
1999-08-26 02:22:53 +02:00
|
|
|
#
|
|
|
|
|
2004-10-02 08:09:08 +02:00
|
|
|
DISTNAME= xscrabble-1.0
|
2006-02-06 00:08:03 +01:00
|
|
|
PKGREVISION= 4
|
1999-08-26 02:22:53 +02:00
|
|
|
CATEGORIES= games x11
|
2004-10-02 08:09:08 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
1999-08-26 02:22:53 +02:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2001-02-16 16:10:41 +01:00
|
|
|
COMMENT= X version of the popular board game, for 1 to 4 players
|
1999-08-26 02:22:53 +02:00
|
|
|
|
2004-01-20 13:07:06 +01:00
|
|
|
WRKSRC= ${WRKDIR}/xscrabble
|
2000-08-24 01:14:21 +02:00
|
|
|
USE_IMAKE= YES
|
1999-08-26 02:22:53 +02:00
|
|
|
|
2005-06-16 08:57:37 +02:00
|
|
|
INSTALLATION_DIRS= bin lib/X11/app-defaults
|
|
|
|
|
2005-10-07 12:20:49 +02:00
|
|
|
SUBST_CLASSES+= xscrabble
|
|
|
|
SUBST_FILES.xscrabble= XScrabble.ad
|
|
|
|
SUBST_STAGE.xscrabble= pre-configure
|
|
|
|
SUBST_SED.xscrabble= -e 's,/usr/local/lib/xscrabble\.scores,${VARBASE}/games/xscrabble.scores,g'
|
|
|
|
SUBST_SED.xscrabble+= -e 's,/usr/local/lib,${PREFIX}/share/games/xscrabble,g'
|
2005-08-23 04:34:26 +02:00
|
|
|
|
2005-10-07 12:20:49 +02:00
|
|
|
MAKE_DIRS= ${VARBASE}/games
|
|
|
|
EGDIR= ${PREFIX}/share/games/xscrabble
|
|
|
|
CONF_FILES_PERMS= ${EGDIR}/xscrabble.scores.dist ${VARBASE}/games/xscrabble.scores ${GAMEOWN} ${GAMEGRP} ${GAMEDATAMODE}
|
|
|
|
SETGIDGAME= yes
|
1999-08-26 02:22:53 +02:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/xscrabble ${PREFIX}/bin
|
2005-10-07 12:20:49 +02:00
|
|
|
${INSTALL_GAME} ${WRKSRC}/src/xscrab ${PREFIX}/bin
|
1999-08-26 02:22:53 +02:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/games
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/games/xscrabble
|
2005-10-07 12:20:49 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/OSPD3.gz ${EGDIR}/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/scrabble_permutations ${EGDIR}/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/xscrabble.scores ${EGDIR}/xscrabble.scores.dist
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/XScrabble.ad ${PREFIX}/lib/X11/app-defaults/XScrabble
|
1999-08-26 02:22:53 +02:00
|
|
|
|
2006-12-27 14:37:35 +01:00
|
|
|
.include "../../x11/libXaw/buildlink3.mk"
|
2006-12-15 21:32:52 +01:00
|
|
|
.include "../../x11/libXpm/buildlink3.mk"
|
2006-12-27 14:37:35 +01:00
|
|
|
.include "../../x11/libXp/buildlink3.mk"
|
1999-08-26 02:22:53 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|