aboutsummaryrefslogtreecommitdiffstats
path: root/games/bubbros
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-06-07 17:03:52 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-06-07 17:03:52 +0800
commit139c3bab3a8e8192957ad9d54921dc0ad1f6f710 (patch)
tree517b91cb469065740c7c7a4647924afef5a45582 /games/bubbros
parent748c7ec6e6d933edde1b6aa2fb1bb218b6b924df (diff)
downloadfreebsd-ports-gnome-139c3bab3a8e8192957ad9d54921dc0ad1f6f710.tar.gz
freebsd-ports-gnome-139c3bab3a8e8192957ad9d54921dc0ad1f6f710.tar.zst
freebsd-ports-gnome-139c3bab3a8e8192957ad9d54921dc0ad1f6f710.zip
- Switch to options helpers
Diffstat (limited to 'games/bubbros')
-rw-r--r--games/bubbros/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/games/bubbros/Makefile b/games/bubbros/Makefile
index 19f7389c9788..60c84065cb3d 100644
--- a/games/bubbros/Makefile
+++ b/games/bubbros/Makefile
@@ -15,18 +15,19 @@ LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
RUN_DEPENDS= ${PYGAME}
-BUILD_DEPENDS:= ${RUN_DEPENDS}
+BUILD_DEPENDS= ${PYGAME}
USES= python
PORTDOCS= *.html
-OPTIONS_DEFINE= DOCS
SUB_FILES= ${PORTNAME}
DESKTOP_ENTRIES="Bub-n-Bros" "" "${PORTNAME}" \
"${PORTNAME}" "Game;ArcadeGame;" ""
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|g' \
${WRKSRC}/display/setup.py
@@ -56,13 +57,13 @@ do-install:
@${PYTHON_CMD} ${STAGEDIR}${DATADIR}/bubbob/images/buildcolors.py
${LN} -sf ${DATADIR}/http2/data/bob.png \
${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png
-
.for l in bubbob/statesaver.so display/xshm.so
- ${CHMOD} u+w ${STAGEDIR}${DATADIR}/${l}
- ${STRIP_CMD} ${STAGEDIR}${DATADIR}/${l}
+ @${CHMOD} u+w ${STAGEDIR}${DATADIR}/${l}
+ @${STRIP_CMD} ${STAGEDIR}${DATADIR}/${l}
.endfor
-
${INSTALL_MAN} ${WRKSRC}/doc/*.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/
+
+do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/|} ${STAGEDIR}${DOCSDIR}