aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2002-10-24 17:22:24 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2002-10-24 17:22:24 +0000
commit1f4e012dd284bc6dc93171c8e8adefc14de9fc32 (patch)
tree5212d975cc1c02de514ac25ee7550447cd2d92d8 /devel
parent41b27a26f881293ccf6bc6d53983e49f0f02ce63 (diff)
downloadports-1f4e012dd284bc6dc93171c8e8adefc14de9fc32.tar.gz
ports-1f4e012dd284bc6dc93171c8e8adefc14de9fc32.zip
Notes
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-String-LRC/Makefile23
-rw-r--r--devel/p5-String-LRC/distinfo1
-rw-r--r--devel/p5-String-LRC/pkg-comment1
-rw-r--r--devel/p5-String-LRC/pkg-descr14
-rw-r--r--devel/p5-String-LRC/pkg-plist9
6 files changed, 49 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 896924a87b87..42da45d7a1cd 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -568,6 +568,7 @@
SUBDIR += p5-String-Approx
SUBDIR += p5-String-CRC32
SUBDIR += p5-String-Checker
+ SUBDIR += p5-String-LRC
SUBDIR += p5-String-Random
SUBDIR += p5-String-RexxParse
SUBDIR += p5-String-Similarity
diff --git a/devel/p5-String-LRC/Makefile b/devel/p5-String-LRC/Makefile
new file mode 100644
index 000000000000..5a4bbe3dbea9
--- /dev/null
+++ b/devel/p5-String-LRC/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: String:LRC
+# Date created: 24 October 2002
+# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= String-LRC
+PORTVERSION= 1.01
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= String
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= ports@FreeBSD.org
+
+PERL_CONFIGURE= yes
+SITE_PERL= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
+MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+
+MAN3= String::LRC.3
+
+.include <bsd.port.mk>
diff --git a/devel/p5-String-LRC/distinfo b/devel/p5-String-LRC/distinfo
new file mode 100644
index 000000000000..3001392f6155
--- /dev/null
+++ b/devel/p5-String-LRC/distinfo
@@ -0,0 +1 @@
+MD5 (String-LRC-1.01.tar.gz) = b6785cc738e4334b97debbdd5c64823d
diff --git a/devel/p5-String-LRC/pkg-comment b/devel/p5-String-LRC/pkg-comment
new file mode 100644
index 000000000000..82f67d2deff1
--- /dev/null
+++ b/devel/p5-String-LRC/pkg-comment
@@ -0,0 +1 @@
+A perl interface for longitudinal redundancy check generation
diff --git a/devel/p5-String-LRC/pkg-descr b/devel/p5-String-LRC/pkg-descr
new file mode 100644
index 000000000000..cbc53261e370
--- /dev/null
+++ b/devel/p5-String-LRC/pkg-descr
@@ -0,0 +1,14 @@
+LRC - Perl interface for longitudinal redundancy check generation
+
+The Longitudinal Redundancy Check (LRC) is a one byte character,
+commonly used as a byte-field in data transmission over analog systems.
+
+Most commonly, in STX-ETX bounded strings sent in financial protocols.
+Following some previous experience with such protocols, I wrote
+an LRC function in perl and later decided to re-write in C
+for efficiency. The result is this module String::LRC,
+which generates this aforementioned byte.
+
+Commonly used in financial protocols as follows with ETX (ASCII 03)
+appended to LRC sum and packets after the STX (ASCII 02), payload,
+and ETX chars.
diff --git a/devel/p5-String-LRC/pkg-plist b/devel/p5-String-LRC/pkg-plist
new file mode 100644
index 000000000000..6e3ec60f0f13
--- /dev/null
+++ b/devel/p5-String-LRC/pkg-plist
@@ -0,0 +1,9 @@
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/String/LRC.pm
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/String/LRC.pod
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/String/bench.pl
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/String/LRC/.packlist
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/String/LRC/LRC.bs
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/String/LRC/LRC.so
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/String/LRC
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/String
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/String