aboutsummaryrefslogtreecommitdiffstats
path: root/science
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2015-08-19 09:39:50 +0800
committersunpoet <sunpoet@FreeBSD.org>2015-08-19 09:39:50 +0800
commitfd231f16530a5c818f973968705fc81555fcbfeb (patch)
treeab7689205aa2e4a3da5d3b3b3dab62ea26363823 /science
parent4f24e3811b44ae3c3e7130676f742122309ed578 (diff)
downloadfreebsd-ports-gnome-fd231f16530a5c818f973968705fc81555fcbfeb.tar.gz
freebsd-ports-gnome-fd231f16530a5c818f973968705fc81555fcbfeb.tar.zst
freebsd-ports-gnome-fd231f16530a5c818f973968705fc81555fcbfeb.zip
- Convert to new options helper
Diffstat (limited to 'science')
-rw-r--r--science/netcdf/Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/science/netcdf/Makefile b/science/netcdf/Makefile
index 00f647af5124..4278a660ed5c 100644
--- a/science/netcdf/Makefile
+++ b/science/netcdf/Makefile
@@ -36,15 +36,12 @@ DAP_LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl
DOXYGEN_BUILD_DEPENDS= ${LOCALBASE}/bin/doxygen:${PORTSDIR}/devel/doxygen
DOXYGEN_CONFIGURE_OFF= --disable-doxygen
DOXYGEN_CONFIGURE_ON= --enable-doxygen
+DOXYGEN_PORTDOCS= *
SZIP_LIB_DEPENDS= libsz.so:${PORTSDIR}/science/szip
SZIP_LIBS= -lsz
.include <bsd.port.options.mk>
-.if ${PORT_OPTIONS:MDOXYGEN}
-PORTDOCS= *
-.endif
-
post-patch:
@${REINPLACE_CMD} -e 's|-ldl ||g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|mmap|_&|g' ${WRKSRC}/nc_test/tst_diskless.c ${WRKSRC}/nc_test/tst_diskless3.c