aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-11-30 17:00:41 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-11-30 17:00:41 +0800
commit04aa1fa632972106cb7ecbb0d24cd0f6e03ec9cb (patch)
tree36e8001ec7413908d195788c4abc3582e01cc2eb /games
parentd2f4fa5427943d69d11a876a8463c5ceba2e0079 (diff)
downloadfreebsd-ports-gnome-04aa1fa632972106cb7ecbb0d24cd0f6e03ec9cb.tar.gz
freebsd-ports-gnome-04aa1fa632972106cb7ecbb0d24cd0f6e03ec9cb.tar.zst
freebsd-ports-gnome-04aa1fa632972106cb7ecbb0d24cd0f6e03ec9cb.zip
- Add NO_ARCH
- Switch to options helpers
Diffstat (limited to 'games')
-rw-r--r--games/duckmaze/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/games/duckmaze/Makefile b/games/duckmaze/Makefile
index 714d1ed318cb..48a4660a0c1c 100644
--- a/games/duckmaze/Makefile
+++ b/games/duckmaze/Makefile
@@ -23,15 +23,17 @@ WRKSRC= ${WRKDIR}/${PORTNAME}/trunk
USES= python shebangfix
SHEBANG_FILES= *.py mopelib/mopelib.py
+NO_ARCH= yes
PORTDOCS= index.html style.css
-OPTIONS_DEFINE= DOCS
SUB_FILES= ${PORTNAME}.sh
DESKTOP_ENTRIES="duckmaze" "" "${PORTNAME}" \
"${PORTNAME}" "Game;ArcadeGame;" ""
+OPTIONS_DEFINE= DOCS
+
post-extract:
${MV} ${WRKSRC}/doc/*.png ${WRKSRC}/images/
@@ -56,6 +58,7 @@ do-install:
${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \
${STAGEDIR}${PREFIX}/share/pixmaps/
+do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/|} ${STAGEDIR}${DOCSDIR}