aboutsummaryrefslogtreecommitdiff
path: root/cad/admesh
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2015-08-19 13:29:59 +0000
committerMathieu Arnold <mat@FreeBSD.org>2015-08-19 13:29:59 +0000
commitbb271f0bf7b513a23a31da4ec8819b113ebf4587 (patch)
treeac5a462edc3d85d5f0b20a594802ce4b12f0bf9f /cad/admesh
parent29879aded766da253313579a3503ff5e15026355 (diff)
downloadports-bb271f0bf7b513a23a31da4ec8819b113ebf4587.tar.gz
ports-bb271f0bf7b513a23a31da4ec8819b113ebf4587.zip
Convert ports to use the options helpers in categories [abc]*, and minor fixes.
Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D3412?
Notes
Notes: svn path=/head/; revision=394778
Diffstat (limited to 'cad/admesh')
-rw-r--r--cad/admesh/Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/cad/admesh/Makefile b/cad/admesh/Makefile
index ea2d0d9fda71..6b054b56371a 100644
--- a/cad/admesh/Makefile
+++ b/cad/admesh/Makefile
@@ -20,16 +20,13 @@ GNU_CONFIGURE= yes
PORTDOCS= admesh.doc
PLIST_FILES= bin/admesh
-.include <bsd.port.options.mk>
-
post-patch:
@${REINPLACE_CMD} -e 's|-O2||' ${WRKSRC}/configure
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/admesh ${STAGEDIR}${PREFIX}/bin/
-.if ${PORT_OPTIONS:MDOCS}
+do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/ADMESH.DOC ${STAGEDIR}${DOCSDIR}/admesh.doc
-.endif
.include <bsd.port.mk>