aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/libwpg
diff options
context:
space:
mode:
authorfluffy <fluffy@FreeBSD.org>2012-08-27 12:23:07 +0800
committerfluffy <fluffy@FreeBSD.org>2012-08-27 12:23:07 +0800
commit82fe70baaadadb3f7a4620d66ca714746797c5ae (patch)
tree80987ee5defd5def8f3aed06f389b23aca4811c9 /graphics/libwpg
parent52d6fa4359defc868cde514d4763742237db8e7e (diff)
downloadfreebsd-ports-gnome-82fe70baaadadb3f7a4620d66ca714746797c5ae.tar.gz
freebsd-ports-gnome-82fe70baaadadb3f7a4620d66ca714746797c5ae.tar.zst
freebsd-ports-gnome-82fe70baaadadb3f7a4620d66ca714746797c5ae.zip
- USE_PKGCONFIG [1]
- make docs build optional PR: 171093 [1] Submitted by: dougb
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: