blob: 4076f94994791ebc4f965c2b0954e3a1f4ef5013 (
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
|
# $NetBSD: Makefile,v 1.74 2009/08/16 13:57:43 wiz Exp $
DISTNAME= texinfo-4.13
PKGNAME= g${DISTNAME}
CATEGORIES= devel sysutils
MASTER_SITES= ${MASTER_SITE_GNU:=texinfo/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.gnu.org/software/texinfo/texinfo.html
COMMENT= GNU info documentation utilities
LICENSE= gnu-gpl-v3
PKG_INSTALLATION_TYPES= overwrite pkgviews
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
INFO_FILES= yes
TEST_TARGET= check
PLIST_SRC= ${PKGDIR}/PLIST
PKGSRC_INFOPATH= ${PREFIX}/${PKGINFODIR}:${X11BASE}/${PKGINFODIR}:${LOCALBASE}/${PKGINFODIR}
MAKE_ENV+= PKGSRC_INFOPATH=${PKGSRC_INFOPATH:Q}
.include "../../mk/bsd.prefs.mk"
TEXINFO_LOCALE?= yes
BUILD_DEFS+= TEXINFO_LOCALE
MAKEFLAGS+= TEXINFO_LOCALE=${TEXINFO_LOCALE:Q}
.if !empty(TEXINFO_LOCALE:M[yY][eE][sS])
USE_PKGLOCALEDIR= yes
PLIST_SRC+= ${PKGDIR}/PLIST.locale
. include "../../devel/gettext-lib/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-nls
.endif
.include "../../mk/termcap.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
# This need to be defined here to override the setting in texinfo.mk
INSTALL_INFO= ${PREFIX}/bin/install-info
|