aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-12-14 09:06:35 +0800
committerbapt <bapt@FreeBSD.org>2013-12-14 09:06:35 +0800
commit42e2d39b8d01e800dc04ac3cff58b60a3d1213f6 (patch)
treee2cc6f150aa56bdfead991e8ec9f183e21178604 /textproc
parenta0e227a2e85383ba5016d8f67bce693a5505dd6d (diff)
downloadfreebsd-ports-gnome-42e2d39b8d01e800dc04ac3cff58b60a3d1213f6.tar.gz
freebsd-ports-gnome-42e2d39b8d01e800dc04ac3cff58b60a3d1213f6.tar.zst
freebsd-ports-gnome-42e2d39b8d01e800dc04ac3cff58b60a3d1213f6.zip
Support stage, use options helpers
Diffstat (limited to 'textproc')
-rw-r--r--textproc/libwps/Makefile17
1 files 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 <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>