summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorhubertf <hubertf>2001-03-05 23:34:59 +0000
committerhubertf <hubertf>2001-03-05 23:34:59 +0000
commitec15f251361e2b9e2a7b20e271b6efe1a122ab5e (patch)
tree8f1efbd6c294f5a0547abeefd754f897347e44b0 /textproc
parent92060fdd7f794e27613eecabbc7e59f3582ad8ee (diff)
downloadpkgsrc-ec15f251361e2b9e2a7b20e271b6efe1a122ab5e.tar.gz
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')
-rw-r--r--textproc/rtcutil/Makefile30
-rw-r--r--textproc/rtcutil/files/md53
-rw-r--r--textproc/rtcutil/pkg/DESCR5
-rw-r--r--textproc/rtcutil/pkg/PLIST2
4 files changed, 40 insertions, 0 deletions
diff --git a/textproc/rtcutil/Makefile b/textproc/rtcutil/Makefile
new file mode 100644
index 00000000000..59e0ecfb965
--- /dev/null
+++ b/textproc/rtcutil/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/03/05 23:34:59 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/rtcutil/files/md5 b/textproc/rtcutil/files/md5
new file mode 100644
index 00000000000..b65f23c55e4
--- /dev/null
+++ b/textproc/rtcutil/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2001/03/05 23:34:59 hubertf Exp $
+
+MD5 (rfc-3.1) = ddcaab86207771fc52c84a40ce7aab94
diff --git a/textproc/rtcutil/pkg/DESCR b/textproc/rtcutil/pkg/DESCR
new file mode 100644
index 00000000000..3268e44c420
--- /dev/null
+++ b/textproc/rtcutil/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/rtcutil/pkg/PLIST b/textproc/rtcutil/pkg/PLIST
new file mode 100644
index 00000000000..5d110ddc589
--- /dev/null
+++ b/textproc/rtcutil/pkg/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/03/05 23:34:59 hubertf Exp $
+bin/rfc