aboutsummaryrefslogtreecommitdiff
path: root/textproc/libwps/Makefile
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2012-05-30 10:37:55 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2012-05-30 10:37:55 +0000
commitad1c72bcff21f7d7a43528a7dbed2d2b7e2e73c0 (patch)
tree69d6020e734d87db31ea25c4f9bbb41e7bb6f3f9 /textproc/libwps/Makefile
parent174adaa4ec510c97d60f4c2cf9cade13f8e44f57 (diff)
downloadports-ad1c72bcff21f7d7a43528a7dbed2d2b7e2e73c0.tar.gz
ports-ad1c72bcff21f7d7a43528a7dbed2d2b7e2e73c0.zip
Notes
Diffstat (limited to 'textproc/libwps/Makefile')
-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