summaryrefslogtreecommitdiff
path: root/textproc/rfcutil
diff options
context:
space:
mode:
authorhubertf <hubertf>2001-03-05 23:37:15 +0000
committerhubertf <hubertf>2001-03-05 23:37:15 +0000
commitf6143c97dc409ba0391024f0b9fa16eacfaa536d (patch)
tree431b0fefb7407c7f12d2d9bb023df1fc3736bfb1 /textproc/rfcutil
parentec15f251361e2b9e2a7b20e271b6efe1a122ab5e (diff)
downloadpkgsrc-f6143c97dc409ba0391024f0b9fa16eacfaa536d.tar.gz
[reimport into right dir - the other one was already reported to admins]
Added rfcnet-3.1: Search for RFCs and do ports, services & protocol lookups RFC Util allows you to specify the number of an RFC, or a search string, and it returns all related RFCs. It features command line switches to spawn lynx or w3m to view the RFC, dump to file for offline viewing, or mail to an address. It also allows local and remote lookups of port, service, or proto numbers. Contributed by Tomasz Luchowski <zuntum@eik.pl> in PR 12131
Diffstat (limited to 'textproc/rfcutil')
-rw-r--r--textproc/rfcutil/Makefile30
-rw-r--r--textproc/rfcutil/files/md53
-rw-r--r--textproc/rfcutil/pkg/DESCR5
-rw-r--r--textproc/rfcutil/pkg/PLIST2
4 files changed, 40 insertions, 0 deletions
diff --git a/textproc/rfcutil/Makefile b/textproc/rfcutil/Makefile
new file mode 100644
index 00000000000..5a12ead5815
--- /dev/null
+++ b/textproc/rfcutil/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/03/05 23:37:15 hubertf Exp $
+#
+
+DISTNAME= rfc-3.1
+PKGNAME= ${DISTNAME:S|rfc|rfcutil|}
+CATEGORIES= textproc
+MASTER_SITES= http://www.dewn.com/rfc/
+EXTRACT_SUFX= #
+
+MAINTAINER= zuntum@eik.pl
+HOMEPAGE= http://www.dewn.com/rfc/
+COMMENT= Search for RFCs and do ports, services & protocol lookups
+
+DEPEND+= w3m-[0-9]*:../../www/w3m
+
+WRKSRC= ${WRKDIR}
+EXTRACT_ONLY= #
+
+NO_BUILD= YES
+USE_PERL5= YES
+
+post-patch:
+ ${SED} -e "s|/usr/bin/perl|${LOCALBASE}/bin/perl|g" \
+ -e "s|/usr/local|${PREFIX}|g" \
+ ${DISTDIR}/${DISTNAME} > ${WRKSRC}/rfc
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/rfc ${PREFIX}/bin/rfc
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/rfcutil/files/md5 b/textproc/rfcutil/files/md5
new file mode 100644
index 00000000000..9cacc7583b7
--- /dev/null
+++ b/textproc/rfcutil/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2001/03/05 23:37:15 hubertf Exp $
+
+MD5 (rfc-3.1) = ddcaab86207771fc52c84a40ce7aab94
diff --git a/textproc/rfcutil/pkg/DESCR b/textproc/rfcutil/pkg/DESCR
new file mode 100644
index 00000000000..3268e44c420
--- /dev/null
+++ b/textproc/rfcutil/pkg/DESCR
@@ -0,0 +1,5 @@
+RFC Util allows you to specify the number of an RFC, or a search string, and
+it returns all related RFCs. It features command line switches to spawn lynx
+or w3m to view the RFC, dump to file for offline viewing, or mail to
+an address. It also allows local and remote lookups of port, service,
+or proto numbers.
diff --git a/textproc/rfcutil/pkg/PLIST b/textproc/rfcutil/pkg/PLIST
new file mode 100644
index 00000000000..a953d7a85a8
--- /dev/null
+++ b/textproc/rfcutil/pkg/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/03/05 23:37:15 hubertf Exp $
+bin/rfc