aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-Want/Makefile28
-rw-r--r--devel/p5-Want/distinfo1
-rw-r--r--devel/p5-Want/pkg-descr8
-rw-r--r--devel/p5-Want/pkg-plist5
5 files changed, 43 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 88e2096d0236..876b89734307 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -762,6 +762,7 @@
SUBDIR += p5-UNIVERSAL-exports
SUBDIR += p5-VCS
SUBDIR += p5-VCS-CVS
+ SUBDIR += p5-Want
SUBDIR += p5-enum
SUBDIR += p5-mixin
SUBDIR += p65
diff --git a/devel/p5-Want/Makefile b/devel/p5-Want/Makefile
new file mode 100644
index 000000000000..bb8db08d0a16
--- /dev/null
+++ b/devel/p5-Want/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: Want
+# Date created: 19 June 2002
+# Whom: Sergey Skvortsov <skv@protey.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Want
+PORTVERSION= 0.06
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= ../../authors/id/R/RO/ROBIN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= skv@FreeBSD.org
+COMMENT= A generalisation of wantarray
+
+PERL_CONFIGURE= yes
+
+MAN3= Want.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+IGNORE= "Perl 5.6 or newer required. Install lang/perl5 or lang/perl5.8 and try again."
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/p5-Want/distinfo b/devel/p5-Want/distinfo
new file mode 100644
index 000000000000..5e47664d15b3
--- /dev/null
+++ b/devel/p5-Want/distinfo
@@ -0,0 +1 @@
+MD5 (Want-0.06.tar.gz) = 106ad9c715eb1fb51f343e29af268f01
diff --git a/devel/p5-Want/pkg-descr b/devel/p5-Want/pkg-descr
new file mode 100644
index 000000000000..999cd7dd9fd3
--- /dev/null
+++ b/devel/p5-Want/pkg-descr
@@ -0,0 +1,8 @@
+This module generalises the mechanism of the wantarray function,
+allowing a function to determine in some detail how its return value is
+going to be immediately used.
+
+WWW: http://search.cpan.org/dist/Want/
+
+-- Sergey Skvortsov
+skv@FreeBSD.org
diff --git a/devel/p5-Want/pkg-plist b/devel/p5-Want/pkg-plist
new file mode 100644
index 000000000000..a56c69a7f86c
--- /dev/null
+++ b/devel/p5-Want/pkg-plist
@@ -0,0 +1,5 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Want/.packlist
+%%SITE_PERL%%/%%PERL_ARCH%%/Want.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Want/Want.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Want/Want.so
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Want