summaryrefslogtreecommitdiff
path: root/textproc/iso-codes/Makefile
diff options
context:
space:
mode:
authorjmmv <jmmv>2005-10-14 21:54:57 +0000
committerjmmv <jmmv>2005-10-14 21:54:57 +0000
commitfd4bcd09b404ae3d3adb32e7f07efe77fd9be15c (patch)
tree413c7a551cbfc153bb61ab493368ce6285028977 /textproc/iso-codes/Makefile
parent99c1e5ab547a1377f9baa94b0fd3b7793c30448b (diff)
downloadpkgsrc-fd4bcd09b404ae3d3adb32e7f07efe77fd9be15c.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/Makefile')
-rw-r--r--textproc/iso-codes/Makefile41
1 files changed, 41 insertions, 0 deletions
diff --git a/textproc/iso-codes/Makefile b/textproc/iso-codes/Makefile
new file mode 100644
index 00000000000..32444792468
--- /dev/null
+++ b/textproc/iso-codes/Makefile
@@ -0,0 +1,41 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/10/14 21:54:57 jmmv Exp $
+#
+
+DISTNAME= iso-codes_0.48-1
+PKGNAME= ${DISTNAME:S/_/-/:S/-1//}
+CATEGORIES= textproc
+MASTER_SITES= ${MASTER_SITE_DEBIAN:=pool/main/i/iso-codes/}
+
+MAINTAINER= jmmv@NetBSD.org
+HOMEPAGE= http://alioth.debian.org/projects/pkg-isocodes/
+COMMENT= List of country, language and currency names
+
+GNU_CONFIGURE= yes
+USE_PKGLOCALEDIR= yes
+USE_TOOLS+= autoconf automake gmake
+WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
+
+PKGCONFIG_OVERRIDE= iso-codes.pc.in
+
+PYTHON_PATCH_SCRIPTS= *.py */*.py
+REPLACE_PERL= tab2h.pl
+
+PYTHON_FOR_BUILD_ONLY= yes
+BUILDLINK_DEPMETHOD.perl5= build
+BUILDLINK_DEPMETHOD.py-xml= build
+
+pre-configure:
+ ${TOUCH} ${WRKSRC}/AUTHORS
+ ${TOUCH} ${WRKSRC}/NEWS
+ cd ${WRKSRC} && autoreconf -i
+
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/${PKGNAME_NOREV}
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/${PKGNAME_NOREV}
+ ${INSTALL_DATA} ${WRKSRC}/TODO ${PREFIX}/share/doc/${PKGNAME_NOREV}
+
+.include "../../lang/perl5/buildlink3.mk"
+.include "../../lang/python/application.mk"
+.include "../../textproc/py-xml/buildlink3.mk"
+.include "../../textproc/xmlcatmgr/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"