aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorflz <flz@FreeBSD.org>2005-03-16 06:54:20 +0800
committerflz <flz@FreeBSD.org>2005-03-16 06:54:20 +0800
commit566220a435ec073eee29842f6b3d69090ddadcc7 (patch)
tree3e2d47126fe09e879695dbefe038e2aff32afbcb /textproc
parentf3d0e62a7fb1641ee3ccad3d3917096e2501ff8b (diff)
downloadfreebsd-ports-graphics-566220a435ec073eee29842f6b3d69090ddadcc7.tar.gz
freebsd-ports-graphics-566220a435ec073eee29842f6b3d69090ddadcc7.tar.zst
freebsd-ports-graphics-566220a435ec073eee29842f6b3d69090ddadcc7.zip
- Add p5-IO-CSVHeaderFile 0.03, a Perl module to automate reads from CSV
formatted text files. PR: ports/74293 Submitted by: Vasek Balcar <vasek@ti.cz>
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/p5-IO-CSVHeaderFile/Makefile31
-rw-r--r--textproc/p5-IO-CSVHeaderFile/distinfo2
-rw-r--r--textproc/p5-IO-CSVHeaderFile/pkg-descr1
-rw-r--r--textproc/p5-IO-CSVHeaderFile/pkg-plist5
5 files changed, 40 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index dc2e3fe27ea..47d5bfdbb65 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -273,6 +273,7 @@
SUBDIR += p5-HTML-Tidy
SUBDIR += p5-Hash-Merge
SUBDIR += p5-IDNA-Punycode
+ SUBDIR += p5-IO-CSVHeaderFile
SUBDIR += p5-LJ-SpellCheck
SUBDIR += p5-Lingua-Conjunction
SUBDIR += p5-Lingua-EN-AddressParse
diff --git a/textproc/p5-IO-CSVHeaderFile/Makefile b/textproc/p5-IO-CSVHeaderFile/Makefile
new file mode 100644
index 00000000000..e15ae04fd14
--- /dev/null
+++ b/textproc/p5-IO-CSVHeaderFile/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: p5-IO-CSVHeaderFile
+# Date created: Nov 23 03:11:08 MSK 2004
+# Whom: Vasek Balcar <vasek@ti.cz>
+#
+# $FreeBSD$
+#
+
+PORTNAME= IO-CSVHeaderFile
+PORTVERSION= 0.03
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= IO
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= vasek@ti.cz
+COMMENT= Perl module to automate reads from CSV formatted text files
+
+BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Text/CSV_XS.pm:${PORTSDIR}/textproc/p5-Text-CSV_XS
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= IO::CSVHeaderFile.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+IGNORE= "Needs perl 5.6.0 or higher, install lang/perl5.6 and try again"
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/textproc/p5-IO-CSVHeaderFile/distinfo b/textproc/p5-IO-CSVHeaderFile/distinfo
new file mode 100644
index 00000000000..8b16cc7d620
--- /dev/null
+++ b/textproc/p5-IO-CSVHeaderFile/distinfo
@@ -0,0 +1,2 @@
+MD5 (IO-CSVHeaderFile-0.03.tar.gz) = a1c2d5da05a68faff8b9c266123205f0
+SIZE (IO-CSVHeaderFile-0.03.tar.gz) = 3276
diff --git a/textproc/p5-IO-CSVHeaderFile/pkg-descr b/textproc/p5-IO-CSVHeaderFile/pkg-descr
new file mode 100644
index 00000000000..b120b97ec91
--- /dev/null
+++ b/textproc/p5-IO-CSVHeaderFile/pkg-descr
@@ -0,0 +1 @@
+IO::CSVHeaderFile is a module that adds read/write CSV capabilities.
diff --git a/textproc/p5-IO-CSVHeaderFile/pkg-plist b/textproc/p5-IO-CSVHeaderFile/pkg-plist
new file mode 100644
index 00000000000..f05dec2d79f
--- /dev/null
+++ b/textproc/p5-IO-CSVHeaderFile/pkg-plist
@@ -0,0 +1,5 @@
+%%SITE_PERL%%/IO/CSVHeaderFile.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/IO/CSVHeaderFile/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/IO/CSVHeaderFile
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/IO 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/IO 2>/dev/null || true