- Fix LICENSE

- Add LICENSE_FILE
- Add NO_ARCH
- Switch to options helpers
This commit is contained in:
Dmitry Marakasov 2017-02-07 09:01:26 +00:00
parent 40ebf5e978
commit 3802308c57
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=433537

View file

@ -14,7 +14,8 @@ DIST_SUBDIR= python
MAINTAINER= ports@FreeBSD.org
COMMENT= Remake of an old SEGA Dreamcast game called Chu Chu Rocket
LICENSE= GPLv3
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= ${PYGAME}
@ -22,9 +23,9 @@ WRKSRC= ${WRKDIR}/"ice ice penguin"
USES= python:run zip
NO_BUILD= yes
NO_ARCH= yes
PORTDOCS= CHANGELOG.txt readme.txt
OPTIONS_DEFINE= DOCS
INSTALLS_ICONS= yes
ICON_SIZES= 32x32 48x48 64x64 72x72 96x96
@ -34,6 +35,8 @@ SUB_FILES= ${PORTNAME}
DESKTOP_ENTRIES="Ice Ice Penguin" "" "${PORTNAME}" \
"${PORTNAME}" "Game;ArcadeGame;" ""
OPTIONS_DEFINE= DOCS
do-install:
@${REINPLACE_CMD} -e 's|%%PYTHON_CMD%%|${PYTHON_CMD}|' \
${WRKDIR}/${PORTNAME}
@ -52,6 +55,7 @@ do-install:
${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \
${STAGEDIR}${PREFIX}/share/pixmaps/
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}