1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00

Support stage, use options helpers

This commit is contained in:
Baptiste Daroussin 2013-12-14 01:06:35 +00:00
parent f97693945b
commit 4615f2d892
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=336413

View File

@ -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>