aboutsummaryrefslogtreecommitdiffstats
path: root/science/getdp/Makefile
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2014-07-05 06:08:14 +0800
committeradamw <adamw@FreeBSD.org>2014-07-05 06:08:14 +0800
commit7f7715bfaf269f91bfd6a3a609279fdd2f62101e (patch)
treee17b8e2668f61273f7d92b0e106d3da5553774ce /science/getdp/Makefile
parentd5f97b8c32afc1a862154e3187d36b3b4806feb0 (diff)
downloadfreebsd-ports-graphics-7f7715bfaf269f91bfd6a3a609279fdd2f62101e.tar.gz
freebsd-ports-graphics-7f7715bfaf269f91bfd6a3a609279fdd2f62101e.tar.zst
freebsd-ports-graphics-7f7715bfaf269f91bfd6a3a609279fdd2f62101e.zip
Remove NOPORTDOCS and NOPORTEXAMPLES.
Diffstat (limited to 'science/getdp/Makefile')
-rw-r--r--science/getdp/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/science/getdp/Makefile b/science/getdp/Makefile
index b1ba29fb826..71378dcb4db 100644
--- a/science/getdp/Makefile
+++ b/science/getdp/Makefile
@@ -28,16 +28,14 @@ MAKE_JOBS_UNSAFE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+OPTIONS_DEFINE= DOCS EXAMPLES
+
post-patch:
@${REINPLACE_CMD} -e 's/-lgfortran/& $${LDFLAGS}/' ${WRKSRC}/configure
post-install:
-.if !defined(NOPORTDOCS)
cd ${WRKSRC}/doc && ${FIND} -s ${WRKSRC}/doc/* | ${SED} -e 's#${WRKSRC}/doc/##' | ${CPIO} -pmud -R ${BINOWN}:${BINGRP} ${STAGEDIR}${DOCSDIR}
-.endif
-.if !defined(NOPORTEXAMPLES)
cd ${WRKSRC}/demos && ${FIND} -s ${WRKSRC}/demos/* | ${SED} -e 's#${WRKSRC}/demos/##' | ${CPIO} -pmud -R ${BINOWN}:${BINGRP} ${STAGEDIR}${EXAMPLESDIR}
-.endif
.include <bsd.port.pre.mk>