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
|
||||
.endif
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MDOXYGEN}
|
||||
BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen
|
||||
PLIST_SUB+= DOXYGEN=""
|
||||
.else
|
||||
CMAKE_ARGS+= -DBUILD_DOCUMENTATION=OFF
|
||||
PLIST_SUB+= DOXYGEN="@comment "
|
||||
.endif
|
||||
OPTIONS_SUB=yes
|
||||
DOXYGEN_BUILD_DEPENDS= doxygen:${PORTSDIR}/devel/doxygen
|
||||
DOXYGEN_CMAKE_OFF= -DBUILD_DOCUMENTATION=OFF
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Add table
Reference in a new issue