svn commit: r374196 - head/games/noegnud-addons
Dmitry Marakasov
amdmi3 at FreeBSD.org
Sun Dec 7 13:36:54 UTC 2014
Author: amdmi3
Date: Sun Dec 7 13:36:53 2014
New Revision: 374196
URL: https://svnweb.freebsd.org/changeset/ports/374196
QAT: https://qat.redports.org/buildarchive/r374196/
Log:
- Simplify plist generation
- Add NO_ARCH
- Cosmetic fix on empty variable
Modified:
head/games/noegnud-addons/Makefile
Modified: head/games/noegnud-addons/Makefile
==============================================================================
--- head/games/noegnud-addons/Makefile Sun Dec 7 13:36:47 2014 (r374195)
+++ head/games/noegnud-addons/Makefile Sun Dec 7 13:36:53 2014 (r374196)
@@ -13,7 +13,9 @@ COMMENT= Addons (tilesets and sound them
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>
More information about the svn-ports-all
mailing list