summaryrefslogtreecommitdiff
path: root/textproc/texi2html/Makefile
blob: 852a27aa1bce72c9a2b812b86cd1c442dcb50099 (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
# $NetBSD: Makefile,v 1.6 1999/04/01 14:07:56 agc Exp $
#

DISTNAME=		texi2html
PKGNAME=		texi2html-1.52
CATEGORIES=		textproc
MASTER_SITES=		http://wwwcn1.cern.ch/dci/texi2html/
EXTRACT_SUFX=		.shar.Z

MAINTAINER=		tv@netbsd.org
HOMEPAGE=		http://wwwcn1.cern.ch/dci/texi2html/

USE_PERL5=		YES

EXTRACT_CMD=		${GZCAT} ${DOWNLOADED_DISTFILE} | ${SH}

NO_WRKSUBDIR=		yes
NO_CONFIGURE=		yes

do-build:
	cd ${WRKSRC}; \
		${SED} -e s@/usr/local/bin/perl@${PREFIX}/bin/perl@ texi2html >texi2html.new; \
		${SED} -e 1,/__END__/d texi2html >texi2html.1

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/texi2html.new ${PREFIX}/bin/texi2html
	${INSTALL_DATA} ${WRKSRC}/texi2html.1 ${PREFIX}/man/man1/
	${INSTALL_DATA_DIR} ${PREFIX}/share/texi2html
	${INSTALL_DATA} ${WRKSRC}/invisible.xbm ${PREFIX}/share/texi2html

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