summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
-rw-r--r--misc/Makefile1
-rw-r--r--misc/p5-String-LRC/Makefile23
-rw-r--r--misc/p5-String-LRC/distinfo1
-rw-r--r--misc/p5-String-LRC/pkg-comment1
-rw-r--r--misc/p5-String-LRC/pkg-descr14
-rw-r--r--misc/p5-String-LRC/pkg-plist9
12 files changed, 98 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
diff --git a/misc/Makefile b/misc/Makefile
index 5b8a1c44987d..2f1dbee184ce 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -227,6 +227,7 @@
SUBDIR += p5-LEGO-RCX
SUBDIR += p5-Locale-Codes
SUBDIR += p5-Locale-SubCountry
+ SUBDIR += p5-String-LRC
SUBDIR += p5-Text-FIGlet
SUBDIR += p5-Tie-DxHash
SUBDIR += patanjali
diff --git a/misc/p5-String-LRC/Makefile b/misc/p5-String-LRC/Makefile
new file mode 100644
index 000000000000..753ae19b20ed
--- /dev/null
+++ b/misc/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= misc 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/misc/p5-String-LRC/distinfo b/misc/p5-String-LRC/distinfo
new file mode 100644
index 000000000000..3001392f6155
--- /dev/null
+++ b/misc/p5-String-LRC/distinfo
@@ -0,0 +1 @@
+MD5 (String-LRC-1.01.tar.gz) = b6785cc738e4334b97debbdd5c64823d
diff --git a/misc/p5-String-LRC/pkg-comment b/misc/p5-String-LRC/pkg-comment
new file mode 100644
index 000000000000..82f67d2deff1
--- /dev/null
+++ b/misc/p5-String-LRC/pkg-comment
@@ -0,0 +1 @@
+A perl interface for longitudinal redundancy check generation
diff --git a/misc/p5-String-LRC/pkg-descr b/misc/p5-String-LRC/pkg-descr
new file mode 100644
index 000000000000..cbc53261e370
--- /dev/null
+++ b/misc/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/misc/p5-String-LRC/pkg-plist b/misc/p5-String-LRC/pkg-plist
new file mode 100644
index 000000000000..6e3ec60f0f13
--- /dev/null
+++ b/misc/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