1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/misc/rfc/Makefile
Sean Farley 9f472f0c2e Use the data from the FTP server instead of the HTTP server. The HTTP
server now provides XML by default and text if requested, however, the text
is no longer in the format that rfc expects.  This fixes the functionality
of the -p option.

Reported by:	Torfinn Ingolfsen
2011-10-30 17:49:02 +00:00

39 lines
954 B
Makefile

# New ports collection makefile for: rfc
# Date created: 05 October 1999
# Whom: Chris D. Faulhaber <jedgar@fxp.org>
#
# $FreeBSD$
#
PORTNAME= rfc
PORTVERSION= 3.2.3
PORTREVISION= 2
CATEGORIES= misc
MASTER_SITES= http://www.dewn.com/rfc/
MAINTAINER= scf@FreeBSD.org
COMMENT= Perl script to search for RFC's
RUN_DEPENDS= w3m:${PORTSDIR}/www/w3m
NO_BUILD= yes
MAN1= rfc.1
PLIST_FILES= bin/rfc \
"@unexec rm -f %%PREFIX%%/etc/rfc-index"
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| ; \
s|/usr/bin/perl|${PERL}|' ${WRKSRC}/${PORTNAME}-${PORTVERSION}
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}-${PORTVERSION} \
${PREFIX}/bin/${PORTNAME}
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${PREFIX}/man/man1
.include <bsd.port.mk>