aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2000-12-31 13:19:16 +0800
committerwill <will@FreeBSD.org>2000-12-31 13:19:16 +0800
commit168e89506c8a1fdce7459fff818c28e5e3678c9b (patch)
tree58eff10d2c310526545de8e5c80b7daea4d287de /textproc
parente234a7666b3a97a77968085b3a752e5e58ebd384 (diff)
downloadfreebsd-ports-graphics-168e89506c8a1fdce7459fff818c28e5e3678c9b.tar.gz
freebsd-ports-graphics-168e89506c8a1fdce7459fff818c28e5e3678c9b.tar.zst
freebsd-ports-graphics-168e89506c8a1fdce7459fff818c28e5e3678c9b.zip
Add p5-Text-Bind 0.04, a perl module to bind Perl structures to textfiles.
PR: 23922 Submitted by: Anton Berezin <tobez@tobez.org>
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/p5-Text-Bind/Makefile23
-rw-r--r--textproc/p5-Text-Bind/distinfo1
-rw-r--r--textproc/p5-Text-Bind/pkg-comment1
-rw-r--r--textproc/p5-Text-Bind/pkg-descr11
-rw-r--r--textproc/p5-Text-Bind/pkg-plist5
6 files changed, 42 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 3d234312509..5429cf91e57 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -73,6 +73,7 @@
SUBDIR += p5-Spreadsheet-ParseExcel
SUBDIR += p5-Spreadsheet-WriteExcel
SUBDIR += p5-Text-Autoformat
+ SUBDIR += p5-Text-Bind
SUBDIR += p5-Text-CSV_XS
SUBDIR += p5-Text-Template
SUBDIR += p5-XML-DOM
diff --git a/textproc/p5-Text-Bind/Makefile b/textproc/p5-Text-Bind/Makefile
new file mode 100644
index 00000000000..022901f48b3
--- /dev/null
+++ b/textproc/p5-Text-Bind/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: textproc/p5-Text-Bind
+# Date created: 29 December 2000
+# Whom: Anton Berezin <tobez@tobez.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Text-Bind
+PORTVERSION= 0.04
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Text
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= tobez@tobez.org
+
+USE_PERL5= yes
+PERL_CONFIGURE= yes
+
+MAN3= Text::Bind.3
+MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+
+.include <bsd.port.mk>
diff --git a/textproc/p5-Text-Bind/distinfo b/textproc/p5-Text-Bind/distinfo
new file mode 100644
index 00000000000..08792f785c2
--- /dev/null
+++ b/textproc/p5-Text-Bind/distinfo
@@ -0,0 +1 @@
+MD5 (Text-Bind-0.04.tar.gz) = 0cc04468bf01c3a5c093612093d05888
diff --git a/textproc/p5-Text-Bind/pkg-comment b/textproc/p5-Text-Bind/pkg-comment
new file mode 100644
index 00000000000..971f725a4e0
--- /dev/null
+++ b/textproc/p5-Text-Bind/pkg-comment
@@ -0,0 +1 @@
+Bind Perl structures to text files
diff --git a/textproc/p5-Text-Bind/pkg-descr b/textproc/p5-Text-Bind/pkg-descr
new file mode 100644
index 00000000000..0fdff792f81
--- /dev/null
+++ b/textproc/p5-Text-Bind/pkg-descr
@@ -0,0 +1,11 @@
+Text::Bind allows you to bind Perl structures (strings, routines,
+filehandles, objects, and arrays) to specific locations (called *data
+sites*) in text files.
+
+The main purpose of this module is to support HTML templates for CGI
+programs. Therefore, HTML pages design can be kept separate from CGI
+code. However, the class is general enough to be used in other contexts
+than CGI application development.
+
+-Anton
+<tobez@tobez.org>
diff --git a/textproc/p5-Text-Bind/pkg-plist b/textproc/p5-Text-Bind/pkg-plist
new file mode 100644
index 00000000000..0ccbc5eb698
--- /dev/null
+++ b/textproc/p5-Text-Bind/pkg-plist
@@ -0,0 +1,5 @@
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text/Bind/.packlist
+lib/perl5/site_perl/%%PERL_VER%%/Text/Bind.pm
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text/Bind
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Text 2>/dev/null || true