aboutsummaryrefslogtreecommitdiffstats
path: root/math/bamg
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2014-07-04 08:52:39 +0800
committeradamw <adamw@FreeBSD.org>2014-07-04 08:52:39 +0800
commit312bafbda46d2ff47fbd40a4e4e34f59deeeecc6 (patch)
tree71cbf3545f3c46063cafedf3043c72b11789854f /math/bamg
parentffba0efda3d6171430d65d75094c80b02f39bd8e (diff)
downloadfreebsd-ports-gnome-312bafbda46d2ff47fbd40a4e4e34f59deeeecc6.tar.gz
freebsd-ports-gnome-312bafbda46d2ff47fbd40a4e4e34f59deeeecc6.tar.zst
freebsd-ports-gnome-312bafbda46d2ff47fbd40a4e4e34f59deeeecc6.zip
Remove NOPORTDOCS and NOPORTEXAMPLES.
Approved by: portmgr (blanket)
Diffstat (limited to 'math/bamg')
-rw-r--r--math/bamg/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/math/bamg/Makefile b/math/bamg/Makefile
index bfe50e550054..8744cf2b4e23 100644
--- a/math/bamg/Makefile
+++ b/math/bamg/Makefile
@@ -28,6 +28,8 @@ INSTALL_TARGET= install-world
BINS= bamg bamg-g cvmsh2 drawbdmesh
EXDIRS= NACA012 quadloop square test
+OPTIONS_DEFINE= DOCS EXAMPLES
+
.include <bsd.port.pre.mk>
.pre-configure:
@@ -42,16 +44,12 @@ post-install:
.for bin in ${BINS}
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${bin}
.endfor
-.if !defined(NOPORTDOCS)
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@${INSTALL_DATA} ${DISTDIR}/${PORTNAME}.pdf ${STAGEDIR}${DOCSDIR}
-.endif
-.if !defined(NOPORTEXAMPLES)
.for exdir in ${EXDIRS}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/${exdir}
@${INSTALL_DATA} ${WRKSRC}/examples/${exdir}/* ${STAGEDIR}${EXAMPLESDIR}/${exdir}
.endfor
@${FIND} ${STAGEDIR}${EXAMPLESDIR} \( -name "*.pl" -or -name "*.sh" \) -exec ${CHMOD} a+x {} \;
-.endif
.include <bsd.port.post.mk>