mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
- Support staging
- Use options helpers
This commit is contained in:
parent
903eef6e32
commit
d3fd6f2145
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=328666
1 changed files with 3 additions and 10 deletions
|
@ -20,15 +20,8 @@ OPTIONS_DEFINE= DOXYGEN
|
||||||
OPTIONS_DEFAULT+= DOXYGEN
|
OPTIONS_DEFAULT+= DOXYGEN
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
NO_STAGE= yes
|
OPTIONS_SUB=yes
|
||||||
.include <bsd.port.options.mk>
|
DOXYGEN_BUILD_DEPENDS= doxygen:${PORTSDIR}/devel/doxygen
|
||||||
|
DOXYGEN_CMAKE_OFF= -DBUILD_DOCUMENTATION=OFF
|
||||||
.if ${PORT_OPTIONS:MDOXYGEN}
|
|
||||||
BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen
|
|
||||||
PLIST_SUB+= DOXYGEN=""
|
|
||||||
.else
|
|
||||||
CMAKE_ARGS+= -DBUILD_DOCUMENTATION=OFF
|
|
||||||
PLIST_SUB+= DOXYGEN="@comment "
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
Loading…
Add table
Reference in a new issue