- Switch to options helpers

This commit is contained in:
Dmitry Marakasov 2017-02-22 09:01:39 +00:00
parent d27d93f4e8
commit 485929e006
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=434570

View File

@ -19,11 +19,12 @@ USE_LINUX= libogg sdlmixer sdlimage
SUB_FILES= ${PORTNAME}.sh
PORTDOCS= README
OPTIONS_DEFINE= DOCS
DESKTOP_ENTRIES="Arkanoid: Space Ball" "" "${PORTNAME}" \
"${PORTNAME}" "Game;ArcadeGame;" ""
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh \
${STAGEDIR}${PREFIX}/bin/${PORTNAME}
@ -32,6 +33,7 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.png \
${STAGEDIR}${PREFIX}/share/pixmaps/
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}