summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2014-12-07 13:36:53 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2014-12-07 13:36:53 +0000
commitc8af6b4992abbf4873f75d9776a0c63648bc1253 (patch)
tree181863cf8ff5070b31f4cfe03b46eed1b0234e0c /games
parent- Simplify MASTER_SITES (diff)
- Simplify plist generation
- Add NO_ARCH - Cosmetic fix on empty variable
Notes
Notes: svn path=/head/; revision=374196
Diffstat (limited to 'games')
-rw-r--r--games/noegnud-addons/Makefile13
1 files changed, 5 insertions, 8 deletions
diff --git a/games/noegnud-addons/Makefile b/games/noegnud-addons/Makefile
index b7dd97a7fbf2..917bf106d009 100644
--- a/games/noegnud-addons/Makefile
+++ b/games/noegnud-addons/Makefile
@@ -13,7 +13,9 @@ COMMENT= Addons (tilesets and sound themes) for noeGNUd
USES= tar:bzip2
NO_BUILD= yes
-PLIST= ${WRKDIR}/pkg-plist
+NO_ARCH= yes
+DATADIR= ${PREFIX}/share/${PORTNAME}-${PORTVERSION}
+PORTDATA= *
OPTIONS_DEFINE= ABSURD ITAKURA ITAKURA ABIGABI GEODUCK LAGGED AOKI \
TFALCONSEYE NHS SFALCONSEYE
@@ -42,15 +44,10 @@ OPTIONS_DEFAULT= ABSURD
.include <bsd.port.options.mk>
.if ! ${PORT_OPTIONS:MABSURD}
-DISTFILES=
+DISTFILES= # empty
.endif
-pre-install:
- @${TOUCH} ${PLIST}
- @(cd ${WRKDIR} && ${FIND} ${DISTNAME} \! -type d) | ${SORT} | ${SED} -e 's:^:share/:' > ${PLIST}
- @(cd ${WRKDIR} && ${FIND} ${DISTNAME} -type d) | ${SORT} -r | ${SED} -e 's:^:@unexec rmdir %D/share/:' | ${SED} -e 's:$$: 2>/dev/null || true:' >> ${PLIST}
-
do-install:
- ${CP} -R ${WRKSRC} ${STAGEDIR}${PREFIX}/share
+ cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/
.include <bsd.port.mk>