aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authortobez <tobez@FreeBSD.org>2001-11-05 20:51:58 +0800
committertobez <tobez@FreeBSD.org>2001-11-05 20:51:58 +0800
commitad10fbf1dc3d7fe8697abb8dde57c6b0a0143046 (patch)
tree398c14ced9444f3e710743376d8d4cdd18be8a99 /textproc
parentb6ca8f4cddeba0d7dc85f72ad9737e53fd8804e0 (diff)
downloadfreebsd-ports-gnome-ad10fbf1dc3d7fe8697abb8dde57c6b0a0143046.tar.gz
freebsd-ports-gnome-ad10fbf1dc3d7fe8697abb8dde57c6b0a0143046.tar.zst
freebsd-ports-gnome-ad10fbf1dc3d7fe8697abb8dde57c6b0a0143046.zip
Add p5-String-Scanf 1.4, emulates the sscanf() of the C stdio library.
PR: 31761 Submitted by: Seamus Venasse <svenasse@polaris.ca>
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/p5-String-Scanf/Makefile22
-rw-r--r--textproc/p5-String-Scanf/distinfo1
-rw-r--r--textproc/p5-String-Scanf/pkg-comment1
-rw-r--r--textproc/p5-String-Scanf/pkg-descr7
-rw-r--r--textproc/p5-String-Scanf/pkg-plist5
6 files changed, 37 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 03694d830bd8..fa3f1bb64b3f 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -112,6 +112,7 @@
SUBDIR += p5-Sort-PolySort
SUBDIR += p5-Spreadsheet-ParseExcel
SUBDIR += p5-Spreadsheet-WriteExcel
+ SUBDIR += p5-String-Scanf
SUBDIR += p5-String-ShellQuote
SUBDIR += p5-String-Strip
SUBDIR += p5-Text-Autoformat
diff --git a/textproc/p5-String-Scanf/Makefile b/textproc/p5-String-Scanf/Makefile
new file mode 100644
index 000000000000..0efb87145f10
--- /dev/null
+++ b/textproc/p5-String-Scanf/Makefile
@@ -0,0 +1,22 @@
+# New ports collection makefile for: String::Scanf
+# Date created: 04 Nov 2001
+# Whom: Seamus Venasse <svenasse@polaris.ca>
+#
+# $FreeBSD$
+#
+
+PORTNAME= String-Scanf
+PORTVERSION= 1.4
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= String
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= svenasse@polaris.ca
+
+PERL_CONFIGURE= yes
+
+MAN3= String::Scanf.3
+MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+
+.include <bsd.port.mk>
diff --git a/textproc/p5-String-Scanf/distinfo b/textproc/p5-String-Scanf/distinfo
new file mode 100644
index 000000000000..0e11f856f834
--- /dev/null
+++ b/textproc/p5-String-Scanf/distinfo
@@ -0,0 +1 @@
+MD5 (String-Scanf-1.4.tar.gz) = 78dddf15428d109d2b61fcc9839bdaf6
diff --git a/textproc/p5-String-Scanf/pkg-comment b/textproc/p5-String-Scanf/pkg-comment
new file mode 100644
index 000000000000..5b4c46136b7e
--- /dev/null
+++ b/textproc/p5-String-Scanf/pkg-comment
@@ -0,0 +1 @@
+Emulates the sscanf() of the C stdio library
diff --git a/textproc/p5-String-Scanf/pkg-descr b/textproc/p5-String-Scanf/pkg-descr
new file mode 100644
index 000000000000..9edbf201e026
--- /dev/null
+++ b/textproc/p5-String-Scanf/pkg-descr
@@ -0,0 +1,7 @@
+Perl sscanf() can be used very much like the C stdio sscanf(), for detailed
+sscanf() documentation please refer to your usual documentation resources.
+The supported formats are: [diuoxefgsc] and the character class [].
+
+WWW: http://iki.fi/jhi/
+
+Seamus Venasse <svenasse@polaris.ca>
diff --git a/textproc/p5-String-Scanf/pkg-plist b/textproc/p5-String-Scanf/pkg-plist
new file mode 100644
index 000000000000..b20d3ce3216d
--- /dev/null
+++ b/textproc/p5-String-Scanf/pkg-plist
@@ -0,0 +1,5 @@
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/String/Scanf/.packlist
+lib/perl5/site_perl/%%PERL_VER%%/String/Scanf.pm
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/String/Scanf
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/String 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/String 2>/dev/null || true