summaryrefslogtreecommitdiff
path: root/print/kpathsea/buildlink3.mk
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2009-01-03 22:12:42 +0000
committerminskim <minskim@pkgsrc.org>2009-01-03 22:12:42 +0000
commit4994025669422cef1a3273bb731f2cf68401e4ec (patch)
tree7b32a1f5b175ad03c1be9a7bd6a33c6dddfec648 /print/kpathsea/buildlink3.mk
parentce26022244f81c18be25ead5195fdc90bb4dbd4d (diff)
downloadpkgsrc-4994025669422cef1a3273bb731f2cf68401e4ec.tar.gz
Import kpathsea-3.5.7 from pkgsrc-wip.
Kpathsea is a library to do path searching. It is used in the Web2C implementation of TeX and friends. The library's fundamental purpose is to return a filename from a list of directories specified by the user, similar to what shells do when looking up program names to execute.
Diffstat (limited to 'print/kpathsea/buildlink3.mk')
-rw-r--r--print/kpathsea/buildlink3.mk20
1 files changed, 20 insertions, 0 deletions
diff --git a/print/kpathsea/buildlink3.mk b/print/kpathsea/buildlink3.mk
new file mode 100644
index 00000000000..dd72c5a546c
--- /dev/null
+++ b/print/kpathsea/buildlink3.mk
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2009/01/03 22:12:42 minskim Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+KPATHSEA_BUILDLINK3_MK:= ${KPATHSEA_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= kpathsea
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nkpathsea}
+BUILDLINK_PACKAGES+= kpathsea
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}kpathsea
+
+.if ${KPATHSEA_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.kpathsea+= kpathsea>=3.5.7
+BUILDLINK_PKGSRCDIR.kpathsea?= ../../print/kpathsea
+BUILDLINK_FILES.kpathsea+= bin/kpsewhich
+.endif # KPATHSEA_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}