1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/misc/rfc/Makefile
Muhammad Moinur Rahman f53b5cc486 misc/rfc: Sanitize MANPREFIX
Approved by:    portmgr (blanket)
2024-01-22 01:06:47 +01:00

39 lines
946 B
Makefile

PORTNAME= rfc
PORTVERSION= 3.2.3
PORTREVISION= 5
CATEGORIES= misc
MASTER_SITES= https://BSDforge.com/projects/source/misc/rfc/
MAINTAINER= portmaster@BSDforge.com
COMMENT= Perl script to search for RFC's
WWW= http://www.dewn.com/rfc/
LICENSE= BSD2CLAUSE
RUN_DEPENDS= w3m:www/w3m
USES= perl5 shebangfix
USE_PERL5= run
SHEBANG_FILES= ${PORTNAME}-${PORTVERSION}
NO_ARCH= yes
NO_BUILD= yes
PLIST_FILES= bin/rfc share/man/man1/rfc.1.gz
do-configure:
@${REINPLACE_CMD} -e 's|/usr/local/etc/rfc|${PREFIX}/etc/rfc| ; \
s|/usr/local/etc/nmap|${PREFIX}/share/misc/nmap| ; \
s|400k|1024k| ; \
s|http://ftp.isi.edu/in-notes|http://www.ietf.org/rfc| ; \
s|http://www.iana|ftp://ftp.iana|' \
${WRKSRC}/${PORTNAME}-${PORTVERSION}
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}-${PORTVERSION} \
${STAGEDIR}${PREFIX}/bin/${PORTNAME}
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/share/man/man1
.include <bsd.port.mk>