summaryrefslogtreecommitdiff
path: root/textproc/gtk-doc
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2006-02-26 10:24:35 +0000
committerwiz <wiz@pkgsrc.org>2006-02-26 10:24:35 +0000
commit8159626577e78e271dde43b71475e252a1c91b05 (patch)
tree3144a019fbfe12593424b02d8123b9ba09748dfb /textproc/gtk-doc
parente5fca1b1d3037d44f756644e8e477294672b3643 (diff)
downloadpkgsrc-8159626577e78e271dde43b71475e252a1c91b05.tar.gz
Add buildlink3 file, defaulting to build dependency.
Intended to be used by packages that look for gtk-doc using pkg-config.
Diffstat (limited to 'textproc/gtk-doc')
-rw-r--r--textproc/gtk-doc/buildlink3.mk22
1 files changed, 22 insertions, 0 deletions
diff --git a/textproc/gtk-doc/buildlink3.mk b/textproc/gtk-doc/buildlink3.mk
new file mode 100644
index 00000000000..9f9982b6d2f
--- /dev/null
+++ b/textproc/gtk-doc/buildlink3.mk
@@ -0,0 +1,22 @@
+# $NetBSD: buildlink3.mk,v 1.1 2006/02/26 10:24:35 wiz Exp $
+
+# provided mostly for pkg-config
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+GTK_DOC_BUILDLINK3_MK:= ${GTK_DOC_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= gtk-doc
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngtk-doc}
+BUILDLINK_PACKAGES+= gtk-doc
+
+.if !empty(GTK_DOC_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.gtk-doc+= gtk-doc>=1.4nb1
+BUILDLINK_PKGSRCDIR.gtk-doc?= ../../textproc/gtk-doc
+.endif # GTK_DOC_BUILDLINK3_MK
+
+BUILDLINK_DEPMETHOD.gtk-doc?= build
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}