summaryrefslogtreecommitdiff
path: root/textproc/gtk-doc
diff options
context:
space:
mode:
authorrh <rh@pkgsrc.org>2002-09-14 07:25:26 +0000
committerrh <rh@pkgsrc.org>2002-09-14 07:25:26 +0000
commit6cc6d01a650fce1dca4cc7efe98525ffa08bdcc7 (patch)
treebee4427055d0bf46c933468a60b6c9359ff566b4 /textproc/gtk-doc
parent63d8a4992752cf933b0eabd9158890494ce3cff1 (diff)
downloadpkgsrc-6cc6d01a650fce1dca4cc7efe98525ffa08bdcc7.tar.gz
Add a buildlink2.mk defaulting to a build dependency
Diffstat (limited to 'textproc/gtk-doc')
-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