summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrh <rh>2002-09-14 07:25:26 +0000
committerrh <rh>2002-09-14 07:25:26 +0000
commitfa3d07d76485dfcaa52556f67e07a561bf6b52cc (patch)
treebee4427055d0bf46c933468a60b6c9359ff566b4
parent01006f73804f09a85d260508bbf62ad92d177bb7 (diff)
downloadpkgsrc-fa3d07d76485dfcaa52556f67e07a561bf6b52cc.tar.gz
Add a buildlink2.mk defaulting to a build dependency
-rw-r--r--textproc/gtk-doc/buildlink2.mk19
1 files changed, 19 insertions, 0 deletions
diff --git a/textproc/gtk-doc/buildlink2.mk b/textproc/gtk-doc/buildlink2.mk
new file mode 100644
index 00000000000..00511f1d907
--- /dev/null
+++ b/textproc/gtk-doc/buildlink2.mk
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink2.mk,v 1.1 2002/09/14 07:25:26 rh Exp $
+#
+
+.if !defined(GTK_DOC_BUILDLINK2_MK)
+GTK_DOC_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= gtk-doc
+BUILDLINK_DEPENDS.gtk-doc?= gtk-doc>=0.9
+BUILDLINK_PKGSRCDIR.gtk-doc?= ../../textproc/gtk-doc
+BUILDLINK_DEPMETHOD.gtk-doc?= build
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.gtk-doc=gtk-doc
+BUILDLINK_PREFIX.gtk-doc_DEFAULT= ${LOCALBASE}
+
+BUILDLINK_TARGETS+= gtk-doc-buildlink
+
+gtk-doc-buildlink: _BUILDLINK_USE
+
+.endif # GTK_DOC_BUILDLINK2_MK