mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
Fix packaging with default options (without DOXYGEN)
With hat: portmgr
This commit is contained in:
parent
ababa233b5
commit
4b4a0381fb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=352903
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user