summaryrefslogtreecommitdiffstats
path: root/misc/rfc/Makefile
blob: db2edcd6d43188a7bb288015eb2875df563aad8c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# New ports collection makefile for:	rfc
# Date created:				05 October 1999
# Whom:					Chris D. Faulhaber <jedgar@fxp.org>
#
# $FreeBSD$
#

PORTNAME=	rfc
PORTVERSION=	3.2.2
CATEGORIES=	misc
MASTER_SITES=	http://www.dewn.com/rfc/

MAINTAINER=	jedgar@FreeBSD.org
COMMENT=	Perl script to search for RFC's

RUN_DEPENDS=	w3m:${PORTSDIR}/www/w3m

NO_BUILD=	yes
USE_REINPLACE=	yes

MAN1=		rfc.1
PLIST_FILES=	bin/rfc

do-configure:
	@${REINPLACE_CMD} -e 's|/usr/local/etc/rfc|${PREFIX}/etc/rfc| ; \
		s|/usr/local/etc/nmap|${PREFIX}/share/misc/nmap|' \
		${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>
OpenPOWER on IntegriCloud