1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/misc/rfc/Makefile
Chris D. Faulhaber b3435f886f Correct substitutions in the do-configure target.
Submitted by:	Alan Clegg <abc@bsdi.com>
2000-11-02 19:38:47 +00:00

35 lines
796 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.0
CATEGORIES= misc
MASTER_SITES= http://www.dewn.com/rfc/
DISTNAME= ${PORTNAME}
EXTRACT_SUFX=
MAINTAINER= jedgar@FreeBSD.org
RUN_DEPENDS= w3m:${PORTSDIR}/www/w3m
NO_WRKSUBDIR= yes
NO_BUILD= yes
do-extract:
@${MKDIR} ${WRKDIR}
@${CP} ${DISTDIR}/${DISTNAME} ${WRKDIR}/${DISTNAME}
do-configure:
@${PERL} -pi.orig -e 's|/usr/local/etc/rfc|${PREFIX}/etc/rfc|' ${WRKDIR}/${DISTNAME}
@${PERL} -pi.orig -e 's|/usr/local/etc/nmap|${PREFIX}/share/misc/nmap|' ${WRKDIR}/${DISTNAME}
@${PERL} -pi.orig -e 's|lynx|w3m|' ${WRKDIR}/${DISTNAME}
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/rfc ${PREFIX}/bin/rfc
.include <bsd.port.mk>