aboutsummaryrefslogtreecommitdiffstats
path: root/biology/platon
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2015-08-19 21:29:59 +0800
committermat <mat@FreeBSD.org>2015-08-19 21:29:59 +0800
commit9d30f78a00bed11384c7259f662e9352754275db (patch)
treeac5a462edc3d85d5f0b20a594802ce4b12f0bf9f /biology/platon
parent996088dedaf9d22bcd7c90caa96d33c0f68b08e7 (diff)
downloadfreebsd-ports-gnome-9d30f78a00bed11384c7259f662e9352754275db.tar.gz
freebsd-ports-gnome-9d30f78a00bed11384c7259f662e9352754275db.tar.zst
freebsd-ports-gnome-9d30f78a00bed11384c7259f662e9352754275db.zip
Convert ports to use the options helpers in categories [abc]*, and minor fixes.
Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D3412?
Diffstat (limited to 'biology/platon')
-rw-r--r--biology/platon/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/biology/platon/Makefile b/biology/platon/Makefile
index 143a65c90517..3a08dbb96aae 100644
--- a/biology/platon/Makefile
+++ b/biology/platon/Makefile
@@ -28,8 +28,6 @@ OPTIONS_DEFINE= DOCS
MAKEFILE= ${FILESDIR}/Makefile
-.include <bsd.port.pre.mk>
-
pre-patch:
${GUNZIP_CMD} ${WRKSRC}/platon.f.gz ${WRKSRC}/xdrvr.c.gz
@@ -37,7 +35,7 @@ do-install:
${INSTALL_PROGRAM} ${WRKDIR}/${DISTNAME}/platon \
${STAGEDIR}${PREFIX}/bin
${LN} -fs platon ${STAGEDIR}${PREFIX}/bin/pluton
-.if ${PORT_OPTIONS:MDOCS}
+do-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${MV} ${WRKDIR}/${DISTNAME}/README* ${STAGEDIR}${DOCSDIR}/
${MV} ${SAMPLES:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}/
@@ -46,6 +44,5 @@ do-install:
${MV} ${WRKSRC}/TEST ${STAGEDIR}${DOCSDIR}/
${FIND} ${STAGEDIR}${DOCSDIR} -type f -print0 | \
${XARGS} -0 ${CHMOD} ${_SHAREMODE}
-.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>