Support stage, use options helpers
This commit is contained in:
parent
f97693945b
commit
4615f2d892
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=336413
1 changed files with 5 additions and 12 deletions
|
@ -13,25 +13,18 @@ LICENSE= LGPL21 MPL
|
|||
LICENSE_COMB= dual
|
||||
|
||||
BUILD_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost-libs
|
||||
LIB_DEPENDS= wpd-0.9:${PORTSDIR}/textproc/libwpd
|
||||
LIB_DEPENDS= libwpd-0.9.so:${PORTSDIR}/textproc/libwpd
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
CONFIGURE_ARGS= --disable-werror
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
USE_AUTOTOOLS= libtool
|
||||
USES= pkgconfig
|
||||
USE_GNOME= gnomehack gnomeprefix ltverhack
|
||||
USES= pkgconfig pathfix
|
||||
USE_GNOME= gnomeprefix ltverhack
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen
|
||||
PORTDOCS= *
|
||||
.else
|
||||
CONFIGURE_ARGS+=--without-docs
|
||||
.endif
|
||||
DOCS_BUILD_DEPENDS= doxygen:${PORTSDIR}/devel/doxygen
|
||||
DOCS_CONFIGURE_OFF= --without-docs
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Reference in a new issue