diff options
author | antoine <antoine@FreeBSD.org> | 2014-05-03 19:43:26 +0800 |
---|---|---|
committer | antoine <antoine@FreeBSD.org> | 2014-05-03 19:43:26 +0800 |
commit | cb7fed4d7d3c990f9c71236e564a68773df1f640 (patch) | |
tree | 2bdd8d19cfc75260efc93a184299836a5a811ad7 /science | |
parent | a448bfd47532576bf246ab956ef87de1040dbc0d (diff) | |
download | freebsd-ports-gnome-cb7fed4d7d3c990f9c71236e564a68773df1f640.tar.gz freebsd-ports-gnome-cb7fed4d7d3c990f9c71236e564a68773df1f640.tar.zst freebsd-ports-gnome-cb7fed4d7d3c990f9c71236e564a68773df1f640.zip |
Fix packaging with default options (without DOXYGEN)
With hat: portmgr
Diffstat (limited to 'science')
-rw-r--r-- | science/netcdf/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/science/netcdf/Makefile b/science/netcdf/Makefile index e9c2389584a3..41784e695464 100644 --- a/science/netcdf/Makefile +++ b/science/netcdf/Makefile @@ -28,7 +28,6 @@ USE_LDCONFIG= yes USES= cmake pathfix PLIST_SUB= PORTVERSION=${PORTVERSION} -PORTDOCS= * DAP_CMAKE_OFF= -DENABLE_DAP=OFF -DENABLE_DAP_REMOTE_TESTS=OFF DAP_CMAKE_ON= -DCURL_INCLUDE_DIRS=${LOCALBASE} -DENABLE_DAP=ON @@ -43,6 +42,10 @@ SZIP_LIB_DEPENDS= libsz.so:${PORTSDIR}/science/szip .include <bsd.port.options.mk> +.if ${PORT_OPTIONS:MDOXYGEN} +PORTDOCS= * +.endif + post-patch: @${REINPLACE_CMD} -e '/man4/d; s|share/cmake|&/Modules|; s|$${CMAKE_INSTALL_LIBDIR}/pkgconfig|libdata/pkgconfig|' ${WRKSRC}/CMakeLists.txt @${REINPLACE_CMD} -e 's|share/man|man|' ${WRKSRC}/libsrc/CMakeLists.txt ${WRKSRC}/ncdump/CMakeLists.txt ${WRKSRC}/ncgen/CMakeLists.txt ${WRKSRC}/ncgen3/CMakeLists.txt |