summaryrefslogtreecommitdiff
path: root/devel/doxygen/Makefile
diff options
context:
space:
mode:
authormef <mef@pkgsrc.org>2012-08-17 01:02:05 +0000
committermef <mef@pkgsrc.org>2012-08-17 01:02:05 +0000
commitd884f5f9ecb1689eae5bcb713d0c82e0401c266e (patch)
tree8b79053ebede5cf55c15813ac5140bd82b23c2f0 /devel/doxygen/Makefile
parent6d8f8585423df073b77a4a60e8473c1d56147c6e (diff)
downloadpkgsrc-d884f5f9ecb1689eae5bcb713d0c82e0401c266e.tar.gz
Fix PR pkg/46681.
PLIST of doxygen varies depending on graphviz configuration. Say, graphviz configured with PKG_OPTIONS.pangocairo yes or no. Graphviz/buildlink3.mk will set PKG_BUILD_OPTIONS.graphviz for use with doxygen PLIST variation. Thanks Ian McWilliam for reporting and testing the problem.
Diffstat (limited to 'devel/doxygen/Makefile')
-rw-r--r--devel/doxygen/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/devel/doxygen/Makefile b/devel/doxygen/Makefile
index 86449a7e7e9..b052043de0e 100644
--- a/devel/doxygen/Makefile
+++ b/devel/doxygen/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.89 2012/08/15 23:25:15 dsainty Exp $
+# $NetBSD: Makefile,v 1.90 2012/08/17 01:02:05 mef Exp $
DISTNAME= doxygen-1.8.1.1.src
PKGNAME= ${DISTNAME:S/.src//}
@@ -28,8 +28,12 @@ CONFIGURE_ARGS+= --docdir ${PREFIX}/share/doc/doxygen
MAKE_ENV+= PKGSRC_CFLAGS=${CFLAGS:Q}
MAKE_FLAGS+= MAN1DIR=${PKGMANDIR}/man1
+# Case Insensitive fs or Sensitive
PLIST_VARS+= ci cs
+# pangocairo: basic ps/pdf support via PKG_BUILD_OPTIONS.graphviz
+PLIST_VARS+= pangocairo nopangocairo
+
SUBST_CLASSES+= path
SUBST_STAGE.path= pre-configure
SUBST_FILES.path= doc/Makefile.in
@@ -75,5 +79,11 @@ BUILDLINK_API_DEPENDS.graphviz+= graphviz>=2.12nb1
.include "options.mk"
.include "../../converters/libiconv/buildlink3.mk"
.include "../../graphics/graphviz/buildlink3.mk"
+
+.if !empty(PKG_BUILD_OPTIONS.graphviz:Mpangocairo)
+PLIST.pangocairo= yes
+.else
+PLIST.nopangocairo= yes
+.endif
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"