blob: db0aa41126877855e6c84bd789b2a461a1e3f0ec (
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
|
# $NetBSD: Makefile,v 1.15 2002/11/27 17:41:07 drochner Exp $
# FreeBSD Id: Makefile,v 1.1.1.1 1998/08/09 15:13:33 kuriyama Exp
#
DISTNAME= gettext-0.11.5
PKGNAME= gettext-lib-0.11.5
SVR4_PKGNAME= gttli
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, libintl only
CONFLICTS= gettext<=0.10.35
DEPENDS+= libiconv-*:../../converters/libiconv
# gettext-lib is needed to bootstrap shell/bash2, which is needed to
# bootstrap buildlink2.
#
USE_BUILDLINK2= no
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
CONFIGURE_ARGS+= --with-included-gettext
CONFIG_GUESS_OVERRIDE= ${WRKSRC}/config.guess
CONFIG_SUB_OVERRIDE= ${WRKSRC}/config.sub
CONFIGURE_ENV+= PKGLOCALEDIR="${PKGLOCALEDIR}"
MAKE_ENV+= PKGLOCALEDIR="${PKGLOCALEDIR}"
ALL_TARGET= all-yes
INSTALL_TARGET= install-exec
do-build:
${_PKG_SILENT}${_PKG_DEBUG}cd ${WRKSRC}/intl && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS} -f ${MAKEFILE} ${ALL_TARGET}
do-install:
${_PKG_SILENT}${_PKG_DEBUG}cd ${WRKSRC}/intl && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS} -f ${MAKEFILE} ${INSTALL_TARGET}
.include "../../mk/bsd.pkg.mk"
LDFLAGS:= ${LDFLAGS:N-L${LOCALBASE}/lib*}
|