blob: b9f864da51933a9f5908f644cab6e774e204591e (
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
|
# $NetBSD: Makefile,v 1.9 2010/02/26 10:28:35 wiz 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
PKG_DESTDIR_SUPPORT= user-destdir
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"
|