pkgsrc/textproc/iso-codes/Makefile
wiz 6aab02082e Updated iso-codes to 3.70.
iso-codes 3.70
--------------
Dr. Tobias Quathamer <toddy@debian.org>
Mon, 29 Aug 2016

  [ ISO 3166-2 ]
  * Update name for ES-SS to Gipuzkoa, thanks to Albert Cervera
    for the bug report. Closes: alioth#315433

  [ ISO 3166-2 translations ]
  * German by Dr. Tobias Quathamer
  * Spanish by Dr. Tobias Quathamer
  * French by Dr. Tobias Quathamer

  [ ISO 639-2 translations ]
  * Swedish by Anders Jonsson (TP)
2016-09-01 16:06:44 +00:00

44 lines
1.4 KiB
Makefile

# $NetBSD: Makefile,v 1.54 2016/09/01 16:06:44 wiz Exp $
DISTNAME= iso-codes-3.70
CATEGORIES= textproc
MASTER_SITES= https://pkg-isocodes.alioth.debian.org/downloads/
EXTRACT_SUFX= .tar.xz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://pkg-isocodes.alioth.debian.org/
COMMENT= List of country, language and currency names
LICENSE= gnu-lgpl-v2.1
BUILD_DEPENDS+= ${PYPKGPREFIX}-expat>=0:../../textproc/py-expat
USE_LANGUAGES= # empty
USE_PKGLOCALEDIR= yes
USE_TOOLS+= gmake msgfmt
GNU_CONFIGURE= yes
PKGCONFIG_OVERRIDE= iso-codes.pc.in
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
REPLACE_PYTHON+= bin/check_valid_utf8.py
REPLACE_PYTHON+= bin/pot_from_json.py
REPLACE_PYTHON+= bin/validate_json_data.py
REPLACE_PYTHON+= bin/xml_from_json.py
SUBST_CLASSES+= python3
SUBST_SED.python3+= -e "s,python3,${PYTHONBIN},"
SUBST_FILES.python3+= common.mk
SUBST_FILES.python3+= iso_15924/Makefile.in
SUBST_FILES.python3+= iso_3166-1/Makefile.in
SUBST_FILES.python3+= iso_3166-2/Makefile.in
SUBST_FILES.python3+= iso_3166-3/Makefile.in
SUBST_FILES.python3+= iso_4217/Makefile.in
SUBST_FILES.python3+= iso_639-2/Makefile.in
SUBST_FILES.python3+= iso_639-3/Makefile.in
SUBST_FILES.python3+= iso_639-5/Makefile.in
SUBST_STAGE.python3= pre-configure
SUBST_MESSAGE.python3= Fixing path to python binary.
PYTHON_FOR_BUILD_ONLY= yes
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"