summaryrefslogtreecommitdiff
path: root/textproc/rtfm/Makefile
blob: 205244d35f84f1660d1401280311cad9d7af60b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# $NetBSD: Makefile,v 1.10 2012/10/25 06:56:55 asau 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=	pkgsrc-users@NetBSD.org
COMMENT=	NetBSD documentation and GNU Texinfo files search mechanism

INSTALLATION_DIRS=	bin ${PKGMANDIR}/man1

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 ${DESTDIR}${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/rtfm.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1

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