blob: e60617c910f86d9118bb3f17e4474836edd7f981 (
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.33 2009/07/22 13:24:01 wiz Exp $
DISTNAME= iso-codes-3.10.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
LICENSE= gnu-lgpl-v2.1
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
BUILD_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"
|