aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortobez <tobez@FreeBSD.org>2001-10-13 02:46:12 +0800
committertobez <tobez@FreeBSD.org>2001-10-13 02:46:12 +0800
commitf317156509b9504b13b8c1adffc4f5efb2a67330 (patch)
tree24173e0b87333cd7d1d10560cb21c760b26e4e63
parent78b65100f49f957c35818b21d5ab6c2b266e2652 (diff)
downloadfreebsd-ports-gnome-f317156509b9504b13b8c1adffc4f5efb2a67330.tar.gz
freebsd-ports-gnome-f317156509b9504b13b8c1adffc4f5efb2a67330.tar.zst
freebsd-ports-gnome-f317156509b9504b13b8c1adffc4f5efb2a67330.zip
Add devel/p5-System2, a perl module that implements system2() function,
much like system(), but with STDERR available as well.
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-System2/Makefile22
-rw-r--r--devel/p5-System2/distinfo1
-rw-r--r--devel/p5-System2/pkg-comment1
-rw-r--r--devel/p5-System2/pkg-descr12
-rw-r--r--devel/p5-System2/pkg-plist5
6 files changed, 42 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 7c47c88df0cf..ae9cb0141061 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -406,6 +406,7 @@
SUBDIR += p5-String-Random
SUBDIR += p5-String-RexxParse
SUBDIR += p5-String-Similarity
+ SUBDIR += p5-System2
SUBDIR += p5-Term-ANSIColor
SUBDIR += p5-Term-Prompt
SUBDIR += p5-Term-Query
diff --git a/devel/p5-System2/Makefile b/devel/p5-System2/Makefile
new file mode 100644
index 000000000000..4b4bca623f50
--- /dev/null
+++ b/devel/p5-System2/Makefile
@@ -0,0 +1,22 @@
+# New ports collection makefile for: devel/p5-System2
+# Date created: 12 October 2001
+# Whom: tobez
+#
+# $FreeBSD$
+#
+
+PORTNAME= System2
+PORTVERSION= 0.82
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= System2
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= tobez@FreeBSD.org
+
+PERL_CONFIGURE= yes
+
+MAN3= System2.3
+MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+
+.include <bsd.port.mk>
diff --git a/devel/p5-System2/distinfo b/devel/p5-System2/distinfo
new file mode 100644
index 000000000000..83c9eb3e6705
--- /dev/null
+++ b/devel/p5-System2/distinfo
@@ -0,0 +1 @@
+MD5 (System2-0.82.tar.gz) = d2a290dc9fd0d921be2c4fd06cda489a
diff --git a/devel/p5-System2/pkg-comment b/devel/p5-System2/pkg-comment
new file mode 100644
index 000000000000..1c50627d523a
--- /dev/null
+++ b/devel/p5-System2/pkg-comment
@@ -0,0 +1 @@
+System2 - like system(), but with STDERR available as well
diff --git a/devel/p5-System2/pkg-descr b/devel/p5-System2/pkg-descr
new file mode 100644
index 000000000000..0ac60ee628f1
--- /dev/null
+++ b/devel/p5-System2/pkg-descr
@@ -0,0 +1,12 @@
+Execute a command, and returns output from STDOUT and STDERR. Much like
+system(). $? is set. (Much cheaper than using open3() to get the same
+info.)
+
+If $debug is set, on-the fly diagnostics will be reported about how much
+data is being read.
+
+Author: Brian Reichert <reichert@numachi.com>
+WWW: http://search.cpan.org/search?dist=System2
+
+-Anton
+<tobez@FreeBSD.org>
diff --git a/devel/p5-System2/pkg-plist b/devel/p5-System2/pkg-plist
new file mode 100644
index 000000000000..71cd4596d079
--- /dev/null
+++ b/devel/p5-System2/pkg-plist
@@ -0,0 +1,5 @@
+lib/perl5/site_perl/%%PERL_VER%%/auto/System2/autosplit.ix
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/System2/.packlist
+lib/perl5/site_perl/%%PERL_VER%%/System2.pm
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/auto/System2
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/System2