summaryrefslogtreecommitdiff
path: root/devel/gtexinfo/Makefile
blob: c1d9fc0614a49956fe72a42b316b66eb0bce37e5 (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
# $NetBSD: Makefile,v 1.8 1998/05/14 11:09:47 agc 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

.include "../../mk/bsd.pkg.mk"