From 4b4a0381fb728d0ccf0797ed549c90bf1b97b278 Mon Sep 17 00:00:00 2001 From: Antoine Brodin Date: Sat, 3 May 2014 11:43:26 +0000 Subject: [PATCH] Fix packaging with default options (without DOXYGEN) With hat: portmgr --- science/netcdf/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 +.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