blob: 87e6f5e5e84025b133158225ddc47fff66fe73e8 (
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
|
# $NetBSD: Makefile,v 1.7 1998/05/07 07:42:55 frueauf Exp $
#
DISTNAME= texinfo-3.12
PKGNAME= gtexinfo-3.12
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU}
MAINTAINER= packages@netbsd.org
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-catgets
pre-build:
${MV} ${WRKSRC}/info/filesys.h ${WRKSRC}/info/filesys.h.bak
${CAT} ${WRKSRC}/info/filesys.h.bak | \
${SED} s/@PREFIX@/${PREFIX:S/\//\\\\\//g}/g | \
${SED} s/@X11BASE@/${X11BASE:S/\//\\\\\//g}/g | \
${SED} s/@LOCALBASE@/${LOCALBASE:S/\//\\\\\//g}/g \
> ${WRKSRC}/info/filesys.h
post-install:
${PREFIX}/bin/install-info --info-dir=${PREFIX}/info ${PREFIX}/info/texinfo
${PREFIX}/bin/install-info --info-dir=${PREFIX}/info ${PREFIX}/info/info.info
${PREFIX}/bin/install-info --info-dir=${PREFIX}/info ${PREFIX}/info/info-stnd.info
.for file in info install-info makeinfo texindex
strip ${PREFIX}/bin/${file}
.endfor
.include "../../mk/bsd.pkg.mk"
|