Lines 3-9
Link Here
|
3 |
|
3 |
|
4 |
PORTNAME= xtet42 |
4 |
PORTNAME= xtet42 |
5 |
PORTVERSION= 2.21 |
5 |
PORTVERSION= 2.21 |
6 |
PORTREVISION= 4 |
6 |
PORTREVISION= 5 |
7 |
CATEGORIES= games |
7 |
CATEGORIES= games |
8 |
MASTER_SITES= http://utenti.gufi.org/~gmarco/files/distfiles/ |
8 |
MASTER_SITES= http://utenti.gufi.org/~gmarco/files/distfiles/ |
9 |
|
9 |
|
Lines 11-35
Link Here
|
11 |
COMMENT= One or two player T*tris game |
11 |
COMMENT= One or two player T*tris game |
12 |
|
12 |
|
13 |
GNU_CONFIGURE= yes |
13 |
GNU_CONFIGURE= yes |
14 |
CONFIGURE_ARGS= --enable-setgid=games |
14 |
CONFIGURE_ARGS= --localstatedir=/var/games |
15 |
USE_XORG= x11 |
15 |
USE_XORG= x11 |
|
|
16 |
ALL_TARGET= ${PORTNAME} |
16 |
|
17 |
|
17 |
post-extract: |
18 |
post-extract: |
18 |
@${CHMOD} -R u+w ${WRKSRC} |
19 |
@${CHMOD} -R u+w ${WRKSRC} |
19 |
|
20 |
|
20 |
post-patch: |
|
|
21 |
@${REINPLACE_CMD} -e 's,^hiscoredir.*,hiscoredir=${DATADIR},' \ |
22 |
${WRKSRC}/Makefile.in |
23 |
|
24 |
do-install: |
21 |
do-install: |
25 |
${MKDIR} ${STAGEDIR}${DATADIR} |
22 |
${INSTALL_PROGRAM} ${WRKSRC}/xtet42 ${STAGEDIR}${PREFIX}/bin |
26 |
@${CHMOD} 775 ${STAGEDIR}${DATADIR} |
|
|
27 |
@${STRIP_CMD} ${WRKSRC}/xtet42 |
28 |
${INSTALL} -c -m 755 ${WRKSRC}/xtet42 ${STAGEDIR}${PREFIX}/bin |
29 |
${INSTALL} -c -m 664 ${WRKSRC}/xtet42.hiscore ${STAGEDIR}${DATADIR}/.xtet42.hiscore |
30 |
${INSTALL} -c -m 664 ${WRKSRC}/xtet42.hiscore.single ${STAGEDIR}${DATADIR}/.xtet42.hiscore.single |
31 |
${INSTALL} -c -m 664 /dev/null ${STAGEDIR}${DATADIR}/.xtet42.unlock |
32 |
${INSTALL} -c -m 664 /dev/null ${STAGEDIR}${DATADIR}/.xtet42.log |
33 |
${INSTALL_MAN} ${WRKSRC}/xtet42.6 ${STAGEDIR}${MANPREFIX}/man/man6 |
23 |
${INSTALL_MAN} ${WRKSRC}/xtet42.6 ${STAGEDIR}${MANPREFIX}/man/man6 |
|
|
24 |
@${MKDIR} ${STAGEDIR}/var/games/xtet42 |
25 |
${INSTALL_DATA} ${WRKSRC}/xtet42.hiscore ${STAGEDIR}/var/games/xtet42/.xtet42.hiscore.sample |
26 |
${INSTALL_DATA} ${WRKSRC}/xtet42.hiscore.single ${STAGEDIR}/var/games/xtet42/.xtet42.hiscore.single.sample |
27 |
${INSTALL_DATA} /dev/null ${STAGEDIR}/var/games/xtet42/.xtet42.unlock.sample |
28 |
${INSTALL_DATA} /dev/null ${STAGEDIR}/var/games/xtet42/.xtet42.log.sample |
34 |
|
29 |
|
35 |
.include <bsd.port.mk> |
30 |
.include <bsd.port.mk> |