blob: a368bec87e6fdafddbe9feeda47ef5dbbf18db78 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# $NetBSD: Makefile,v 1.15 2005/10/07 10:20:49 rillig Exp $
#
DISTNAME= xscrabble-1.0
PKGREVISION= 3
CATEGORIES= games x11
MASTER_SITES= ${MASTER_SITE_LOCAL}
MAINTAINER= tech-pkg@NetBSD.org
COMMENT= X version of the popular board game, for 1 to 4 players
WRKSRC= ${WRKDIR}/xscrabble
USE_IMAKE= YES
USE_PKGINSTALL= YES
INSTALLATION_DIRS= bin lib/X11/app-defaults
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'
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
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/xscrabble ${PREFIX}/bin
${INSTALL_GAME} ${WRKSRC}/src/xscrab ${PREFIX}/bin
${INSTALL_DATA_DIR} ${PREFIX}/share/games
${INSTALL_DATA_DIR} ${PREFIX}/share/games/xscrabble
${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
.include "../../graphics/xpm/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|