diff options
author | adamw <adamw@FreeBSD.org> | 2014-07-04 08:56:41 +0800 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2014-07-04 08:56:41 +0800 |
commit | fa5b5ca69471a9c100090c6bfa29b20aef2a3263 (patch) | |
tree | 0ff34fd8d9d30cc9e4475cc0613a963b3cc00618 /math | |
parent | 312bafbda46d2ff47fbd40a4e4e34f59deeeecc6 (diff) | |
download | freebsd-ports-gnome-fa5b5ca69471a9c100090c6bfa29b20aef2a3263.tar.gz freebsd-ports-gnome-fa5b5ca69471a9c100090c6bfa29b20aef2a3263.tar.zst freebsd-ports-gnome-fa5b5ca69471a9c100090c6bfa29b20aef2a3263.zip |
Missed a NOPORTDOCS
Diffstat (limited to 'math')
-rw-r--r-- | math/bamg/Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/math/bamg/Makefile b/math/bamg/Makefile index 8744cf2b4e23..a84e2ef067da 100644 --- a/math/bamg/Makefile +++ b/math/bamg/Makefile @@ -6,10 +6,6 @@ PORTVERSION= 1.01 CATEGORIES= math science MASTER_SITES= http://www.ann.jussieu.fr/hecht/ftp/bamg/ DISTFILES= ${PORTNAME}-v${PORTVERSION}${EXTRACT_SUFX} -.ifndef(NOPORTDOCS) -DISTFILES+= ${PORTNAME}.pdf -EXTRACT_ONLY= ${PORTNAME}-v${PORTVERSION}${EXTRACT_SUFX} -.endif MAINTAINER= stephen@FreeBSD.org COMMENT= Bidimensional Anisotropic Mesh Generator @@ -32,6 +28,11 @@ OPTIONS_DEFINE= DOCS EXAMPLES .include <bsd.port.pre.mk> +.if ${PORT_OPTIONS:MDOCS} +DISTFILES+= ${PORTNAME}.pdf +EXTRACT_ONLY= ${PORTNAME}-v${PORTVERSION}${EXTRACT_SUFX} +.endif + .pre-configure: HOSTTYPE= ${UNAME} -s MAKE_ENV= HOSTTYPE=${${HOSTTYPE}} @@ -44,8 +45,10 @@ post-install: .for bin in ${BINS} @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${bin} .endfor +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${STAGEDIR}${DOCSDIR} @${INSTALL_DATA} ${DISTDIR}/${PORTNAME}.pdf ${STAGEDIR}${DOCSDIR} +.endif .for exdir in ${EXDIRS} @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/${exdir} @${INSTALL_DATA} ${WRKSRC}/examples/${exdir}/* ${STAGEDIR}${EXAMPLESDIR}/${exdir} |