blob: 7eab03a4a4faee8aaabbfd8636969027f7af545b (
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.43 2002/12/12 01:56:23 grant Exp $
# FreeBSD Id: Makefile,v 1.1.1.1 1998/08/09 15:13:33 kuriyama Exp
#
DISTNAME= gettext-0.11.5
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU:=gettext/}
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.gnu.org/software/gettext/gettext.html
COMMENT= tools for providing messages in different languages
DEPENDS+= gettext-m4-0.11.5:../../devel/gettext-m4
BUILDLINK_DEPENDS.gettext= gettext-lib-0.11.5
USE_BUILDLINK2= yes
USE_PKGLOCALEDIR= yes
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
CONFIG_GUESS_OVERRIDE= ${WRKSRC}/config.guess
CONFIG_SUB_OVERRIDE= ${WRKSRC}/config.sub
USE_GNU_GETTEXT= yes
CONFIGURE_ARGS+= --without-included-gettext
INFO_FILES= gettext.info
TEXINFO_OVERRIDE= YES
PLIST_SRC= ${WRKDIR}/PLIST
OPTIONAL_FILES+= share/gettext/gettext.jar
post-install:
cd ${WRKSRC}/intl; ${MAKE_PROGRAM} install-data
@${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
@( \
for FILE in ${OPTIONAL_FILES}; do \
${TEST} ! -e ${PREFIX}/$$FILE || ${ECHO} $$FILE; \
done; \
${ECHO} "@dirrm share/gettext"; \
) >>${PLIST_SRC}
.include "../../devel/gettext-lib/buildlink2.mk"
.include "../../mk/texinfo.mk"
.include "../../mk/bsd.pkg.mk"
|