From 4615f2d892fa0e3ae2232fd293e37dfc0bb2ebfe Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Sat, 14 Dec 2013 01:06:35 +0000 Subject: [PATCH] Support stage, use options helpers --- textproc/libwps/Makefile | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/textproc/libwps/Makefile b/textproc/libwps/Makefile index f1382a5f6f2c..b8b0bf583b04 100644 --- a/textproc/libwps/Makefile +++ b/textproc/libwps/Makefile @@ -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 - -.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