summaryrefslogtreecommitdiff
path: root/textproc/iso-codes/buildlink3.mk
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2005-10-14 21:54:57 +0000
committerjmmv <jmmv@pkgsrc.org>2005-10-14 21:54:57 +0000
commitf2daf1597d7e79e40eec99daa2443fb57292425d (patch)
tree413c7a551cbfc153bb61ab493368ce6285028977 /textproc/iso-codes/buildlink3.mk
parent44348b6d82a5f9d2b05da5119144d14703a7a015 (diff)
downloadpkgsrc-f2daf1597d7e79e40eec99daa2443fb57292425d.tar.gz
Initial import of iso-codes, version 0.48:
iso-codes provides the list of the country, language and currency names in one place, rather than repeated in many third-party programs. This was originally done to centralize this data in Debian systems. The aim of iso-codes is to create a single "gettext" domain "iso-639" which contains the translations of language names, and one "iso-3166" listing the translations of country names.
Diffstat (limited to 'textproc/iso-codes/buildlink3.mk')
-rw-r--r--textproc/iso-codes/buildlink3.mk18
1 files changed, 18 insertions, 0 deletions
diff --git a/textproc/iso-codes/buildlink3.mk b/textproc/iso-codes/buildlink3.mk
new file mode 100644
index 00000000000..3e676e0da15
--- /dev/null
+++ b/textproc/iso-codes/buildlink3.mk
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2005/10/14 21:54:57 jmmv Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+ISO_CODES_BUILDLINK3_MK:= ${ISO_CODES_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= iso-codes
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Niso-codes}
+BUILDLINK_PACKAGES+= iso-codes
+
+.if !empty(ISO_CODES_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.iso-codes+= iso-codes>=0.48
+BUILDLINK_PKGSRCDIR.iso-codes?= ../../textproc/iso-codes
+.endif # ISO_CODES_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}