1 # Created by: Chris D. Faulhaber <jedgar@fxp.org>
8 MASTER_SITES= https://BSDforge.com/projects/source/misc/rfc/
10 MAINTAINER= portmaster@BSDforge.com
11 COMMENT= Perl script to search for RFC's
15 RUN_DEPENDS= w3m:www/w3m
17 USES= perl5 shebangfix
20 SHEBANG_FILES= ${PORTNAME}-${PORTVERSION}
25 PLIST_FILES= bin/rfc man/man1/rfc.1.gz
28 @${REINPLACE_CMD} -e 's|/usr/local/etc/rfc|${PREFIX}/etc/rfc| ; \
29 s|/usr/local/etc/nmap|${PREFIX}/share/misc/nmap| ; \
31 s|http://ftp.isi.edu/in-notes|http://www.ietf.org/rfc| ; \
32 s|http://www.iana|ftp://ftp.iana|' \
33 ${WRKSRC}/${PORTNAME}-${PORTVERSION}
36 ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}-${PORTVERSION} \
37 ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
38 ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
40 .include <bsd.port.mk>