blob: c59202f85bb5cecfe30bee80f519fb83248b64ad (
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
32
33
34
35
36
37
38
|
# $NetBSD: Makefile,v 1.19 2011/01/19 22:13:04 hubertf Exp $
#
DISTNAME= rfc-3.2
PKGNAME= rfcutil-3.2
PKGREVISION= 5
CATEGORIES= textproc
MASTER_SITES= http://www.dewn.com/rfc/
EXTRACT_SUFX= #
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.dewn.com/rfc/
COMMENT= Search for RFCs and do ports, services & protocol lookups
PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}
EXTRACT_ONLY= #
NO_BUILD= YES
USE_TOOLS+= perl:run
REPLACE_PERL= rfc
INSTALLATION_DIRS= bin
.include "options.mk"
do-extract:
${SED} \
-e 's,/usr/local,${PREFIX},' \
-e '/VIEWER=/s,w3m lynx,${RFCVIEWER},' \
-e '/viewer/s,-dump,${RFCDUMPOPT},' \
<${DISTDIR}/${DISTNAME} >${WRKSRC}/rfc
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/rfc ${DESTDIR}${PREFIX}/bin/rfc
.include "../../mk/bsd.pkg.mk"
|