blob: e6866a4096ec0884a5fba43ccf333501e49fa336 (
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
35
36
37
38
39
40
41
42
43
44
45
|
# $NetBSD: Makefile,v 1.5 2006/02/05 23:11:03 joerg Exp $
#
DISTNAME= iso-codes_0.48-1
PKGNAME= ${DISTNAME:S/_/-/:S/-1//}
PKGREVISION= 2
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_DEBIAN:=pool/main/i/iso-codes/}
MAINTAINER= tech-pkg@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
BUILDLINK_DEPMETHOD.gettext= build
BUILD_USES_MSGFMT= yes
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 "../../devel/gettext-lib/buildlink3.mk"
.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"
|