pkgsrc/textproc/iso-codes/Makefile
2009-02-09 22:56:21 +00:00

35 lines
915 B
Makefile

# $NetBSD: Makefile,v 1.25 2009/02/09 22:56:27 joerg Exp $
#
DISTNAME= iso-codes-3.5.1
PKGREVISION= 1
CATEGORIES= textproc
MASTER_SITES= ftp://pkg-isocodes.alioth.debian.org/pub/pkg-isocodes/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://alioth.debian.org/projects/pkg-isocodes/
COMMENT= List of country, language and currency names
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
USE_PKGLOCALEDIR= yes
USE_TOOLS+= gmake msgfmt
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
PKGCONFIG_OVERRIDE= iso-codes.pc.in
REPLACE_PYTHON= *.py */*.py
DEPENDS+= ${PYPKGPREFIX}-expat>=0:../../textproc/py-expat
PYTHON_FOR_BUILD_ONLY= yes
INSTALLATION_DIRS= share/doc/iso-codes
post-install:
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/iso-codes
${INSTALL_DATA} ${WRKSRC}/TODO ${DESTDIR}${PREFIX}/share/doc/iso-codes
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"