diff options
author | Antoine Brodin <antoine@FreeBSD.org> | 2014-02-20 23:40:14 +0000 |
---|---|---|
committer | Antoine Brodin <antoine@FreeBSD.org> | 2014-02-20 23:40:14 +0000 |
commit | e9e4178a2cb6a034565c8cd4b4f898b65416de70 (patch) | |
tree | 6a13de86b4fe7b0f4543048c2ae4ebc25e6c9672 /games/ufoai-data | |
parent | 88301af044a553ef3ae57f4495a1c59b1d13c293 (diff) | |
download | ports-e9e4178a2cb6a034565c8cd4b4f898b65416de70.tar.gz ports-e9e4178a2cb6a034565c8cd4b4f898b65416de70.zip |
- Stage support
- Add LICENSE and allow packaging
Notes
Notes:
svn path=/head/; revision=345277
Diffstat (limited to 'games/ufoai-data')
-rw-r--r-- | games/ufoai-data/Makefile | 16 | ||||
-rw-r--r-- | games/ufoai-data/pkg-descr | 2 |
2 files changed, 10 insertions, 8 deletions
diff --git a/games/ufoai-data/Makefile b/games/ufoai-data/Makefile index 182aa166f86d..2669b6d239c4 100644 --- a/games/ufoai-data/Makefile +++ b/games/ufoai-data/Makefile @@ -13,16 +13,21 @@ DIST_SUBDIR= ${PKGNAMEPREFIX:S/-//} MAINTAINER= acm@FreeBSD.org COMMENT= UFO alien invasion data files -EXTRACT_DEPENDS= ${UNZIP_CMD}:${PORTSDIR}/archivers/unzip +# See http://ufoai.org/wiki/License +LICENSE= GPLv2 CCbySA3 +LICENSE_COMB= multi +LICENSE_NAME_CCbySA3= Creative Commons Attribution-ShareAlike 3.0 Unported +LICENSE_TEXT_CCbySA3= See http://creativecommons.org/licenses/by-sa/3.0/ +LICENSE_PERMS_CCbySA3= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept + +EXTRACT_DEPENDS= ${UNZIP_CMD}:${PORTSDIR}/archivers/unzip -NO_PACKAGE= Package will be 900MB, set FORCE_PACKAGE if you really want it NO_BUILD= yes NO_WRKSUBDIR= yes DATADIR= share/${PKGNAMEPREFIX:S/-//} PLIST= ${WRKDIR}/pkg-plist -NO_STAGE= yes post-extract: @cd ${WRKDIR}/base && \ ${FIND} * -type f -exec ${UNZIP_CMD} "{}" -d ${WRKDIR}/base \; @@ -37,9 +42,6 @@ pre-install: @${ECHO_CMD} "@dirrmtry %%DATADIR%%" >> ${PLIST} do-install: - ${MKDIR} ${PREFIX}/${DATADIR}/base - cd ${WRKDIR}/base && \ - ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/${DATADIR}/base/{}" \; && \ - ${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${PREFIX}/${DATADIR}/base/{}" \; + cd ${WRKDIR}/base && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${DATADIR}/base .include <bsd.port.mk> diff --git a/games/ufoai-data/pkg-descr b/games/ufoai-data/pkg-descr index e384c1feaa58..d41d34db5169 100644 --- a/games/ufoai-data/pkg-descr +++ b/games/ufoai-data/pkg-descr @@ -1,3 +1,3 @@ UFO ALIEN INVASION data files. -WWW: http://ufoai.ninex.info/ +WWW: http://ufoai.ninex.info/ |