aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/libwps
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2012-05-30 18:37:55 +0800
committerbapt <bapt@FreeBSD.org>2012-05-30 18:37:55 +0800
commit209fa350f1908d9cdef1695ac817464c5f232329 (patch)
tree6f43614fc0e5540a631a04c8a9e5cdbd73c31315 /textproc/libwps
parentc5b5826a6503a29b500ff7b18cb6b3737a615710 (diff)
downloadfreebsd-ports-gnome-209fa350f1908d9cdef1695ac817464c5f232329.tar.gz
freebsd-ports-gnome-209fa350f1908d9cdef1695ac817464c5f232329.tar.zst
freebsd-ports-gnome-209fa350f1908d9cdef1695ac817464c5f232329.zip
switch to new options framework
Diffstat (limited to 'textproc/libwps')
-rw-r--r--textproc/libwps/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/textproc/libwps/Makefile b/textproc/libwps/Makefile
index 26f49a3b17f1..04be54b2e1ce 100644
--- a/textproc/libwps/Makefile
+++ b/textproc/libwps/Makefile
@@ -15,6 +15,8 @@ COMMENT= A Microsoft file word processor format import filter library
LICENSE= LGPL21
+OPTIONS_DEFINE= DOCS
+
BUILD_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost-libs
LIB_DEPENDS= wpd-0.9.9:${PORTSDIR}/textproc/libwpd
@@ -26,7 +28,9 @@ CONFIGURE_ARGS+= --disable-werror
PORTDOCS= *
-.if defined(NOPORTDOCS)
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MDOCS}
CONFIGURE_ARGS+= --without-docs
.else
BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen