blob: c2e52755210fec65ea1be5cbfc2fcac46486d9ec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# $NetBSD: Makefile,v 1.20 2008/07/30 10:00:56 wiz Exp $
#
DISTNAME= iso-codes-3.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"
|