diff options
Diffstat (limited to 'textproc/rfcutil/Makefile')
-rw-r--r-- | textproc/rfcutil/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/textproc/rfcutil/Makefile b/textproc/rfcutil/Makefile index 2b42fe523bf..4a8e96aa376 100644 --- a/textproc/rfcutil/Makefile +++ b/textproc/rfcutil/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.15 2006/02/05 23:11:07 joerg Exp $ +# $NetBSD: Makefile,v 1.16 2009/01/04 15:37:07 hubertf Exp $ # DISTNAME= rfc-3.2 PKGNAME= rfcutil-3.2 -PKGREVISION= 3 +PKGREVISION= 4 CATEGORIES= textproc MASTER_SITES= http://www.dewn.com/rfc/ EXTRACT_SUFX= # @@ -12,8 +12,6 @@ MAINTAINER= zuntum@NetBSD.org HOMEPAGE= http://www.dewn.com/rfc/ COMMENT= Search for RFCs and do ports, services & protocol lookups -DEPENDS+= w3m-[0-9]*:../../www/w3m - WRKSRC= ${WRKDIR} EXTRACT_ONLY= # @@ -23,9 +21,13 @@ 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: |