summaryrefslogtreecommitdiff
path: root/textproc/rtfm/Makefile
blob: e271a7d5516b4300ff556f1e3e800d5cb80ebe2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# $NetBSD: Makefile,v 1.4 2003/07/17 22:54:48 grant Exp $
# FreeBSD Id: ports/misc/rtfm/Makefile,v 1.10 2001/01/16 17:31:43 sobomax Exp

DISTNAME=	rtfm-1.0
CATEGORIES=	textproc
MASTER_SITES=	ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/	\
		ftp://ftp.pl.freebsd.org/pub/FreeBSD/ports/distfiles/

MAINTAINER=	zuntum@NetBSD.org
COMMENT=	NetBSD documentation and GNU Texinfo files search mechanism

post-patch:
	${SED} "s,@LOCALBASE@,${LOCALBASE},g" ${WRKSRC}/rtfm.c		\
		> ${WRKSRC}/rtfm.c.done
	${MV} ${WRKSRC}/rtfm.c.done ${WRKSRC}/rtfm.c

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/rtfm ${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/rtfm.1 ${PREFIX}/man/man1

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