aboutsummaryrefslogtreecommitdiffstats
path: root/games/openra
diff options
context:
space:
mode:
authorjbeich <jbeich@FreeBSD.org>2015-07-19 15:42:21 +0800
committerjbeich <jbeich@FreeBSD.org>2015-07-19 15:42:21 +0800
commit4393951e2f03b2c04ad5041a2e1ca206c1265605 (patch)
treee4f10c30a8c04f8d60e32e86e645cc614c9b2850 /games/openra
parentd30e9ad8be622d2f666e8810616c6cf61165aec7 (diff)
downloadfreebsd-ports-gnome-4393951e2f03b2c04ad5041a2e1ca206c1265605.tar.gz
freebsd-ports-gnome-4393951e2f03b2c04ad5041a2e1ca206c1265605.tar.zst
freebsd-ports-gnome-4393951e2f03b2c04ad5041a2e1ca206c1265605.zip
Convert my ports to target option helpers
Diffstat (limited to 'games/openra')
-rw-r--r--games/openra/Makefile10
1 files changed, 2 insertions, 8 deletions
diff --git a/games/openra/Makefile b/games/openra/Makefile
index c0e8cd927111..1882a81f868b 100644
--- a/games/openra/Makefile
+++ b/games/openra/Makefile
@@ -71,8 +71,6 @@ ZENITY_RUN_DEPENDS=xdg-open:${PORTSDIR}/devel/xdg-utils \
zenity:${PORTSDIR}/x11/zenity
ZENITY_DESC= Use native crash dialog
-.include <bsd.port.options.mk>
-
post-extract:
@${MKDIR} ${WRKSRC}/thirdparty/download
@${CP} -v ${DISTFILES:C/:.*//:N*.tar*:N*.zip:S,^,${_DISTDIR}/,} \
@@ -102,19 +100,15 @@ post-patch:
${REINPLACE_CMD} -e 's/"BSD"/"${OPSYS}"/' \
${WRKSRC}/OpenRA.Game/Platform.cs
-post-build:
-.if ${PORT_OPTIONS:MDOCS}
+post-build-DOCS-on:
@${ECHO_MSG} Generating HTML documentation...
@for f in ${WRKSRC}/*.md; do \
${ECHO_MSG} markdown $$f -\> $${f%.md}.html; \
markdown $$f >$${f%.md}.html; \
done
-.endif
-post-install:
-.if ${PORT_OPTIONS:MDOCS}
+post-install-DOCS-on:
(cd ${WRKSRC} && ${COPYTREE_SHARE} \
"${PORTDOCS}" ${STAGEDIR}${DOCSDIR})
-.endif
.include <bsd.port.mk>