aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/libwpg
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/libwpg')
-rw-r--r--graphics/libwpg/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/graphics/libwpg/Makefile b/graphics/libwpg/Makefile
index bb33c0048f8b..940a1a8c27ca 100644
--- a/graphics/libwpg/Makefile
+++ b/graphics/libwpg/Makefile
@@ -23,11 +23,16 @@ USE_GNOME= gnomeprefix gnomehack ltverhack
USE_BZIP2= yes
USE_PERL5= yes
USE_LDCONFIG= yes
+USE_PKGCONFIG= yes
CONFIGURE_ARGS= --disable-werror
+OPTIONS_DEFINE= DOCS
+
PORTDOCS= *
-.if !defined(NOPORTDOCS)
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MDOCS}
BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen
.else
post-patch: