aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-Getopt-Attribute/Makefile22
-rw-r--r--devel/p5-Getopt-Attribute/distinfo2
-rw-r--r--devel/p5-Getopt-Attribute/pkg-descr10
-rw-r--r--devel/p5-Getopt-Attribute/pkg-plist6
5 files changed, 41 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 6d506e94d525..d206e33d6824 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1706,6 +1706,7 @@
SUBDIR += p5-Geo-ShapeFile
SUBDIR += p5-Getargs-Long
SUBDIR += p5-Getopt-ArgvFile
+ SUBDIR += p5-Getopt-Attribute
SUBDIR += p5-Getopt-Compact
SUBDIR += p5-Getopt-Declare
SUBDIR += p5-Getopt-Euclid
diff --git a/devel/p5-Getopt-Attribute/Makefile b/devel/p5-Getopt-Attribute/Makefile
new file mode 100644
index 000000000000..7cc653d4c5ad
--- /dev/null
+++ b/devel/p5-Getopt-Attribute/Makefile
@@ -0,0 +1,22 @@
+# New ports collection makefile for: p5-Getopt-Attribute
+# Date created: 2010-11-28
+# Whom: Gea-Suan Lin <gslin@gslin.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Getopt-Attribute
+PORTVERSION= 2.101700
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= gslin@gslin.org
+COMMENT= Attribute wrapper for Getopt::Long
+
+PERL_CONFIGURE= yes
+USE_PERL5_RUN= 5.8.1+
+
+MAN3= Getopt::Attribute.3
+
+.include <bsd.port.mk>
diff --git a/devel/p5-Getopt-Attribute/distinfo b/devel/p5-Getopt-Attribute/distinfo
new file mode 100644
index 000000000000..72514fe1360c
--- /dev/null
+++ b/devel/p5-Getopt-Attribute/distinfo
@@ -0,0 +1,2 @@
+SHA256 (Getopt-Attribute-2.101700.tar.gz) = 657debfe9545f3d0942867dd2ae1dfb712441ff3c868647a0e34d08b8deaef7c
+SIZE (Getopt-Attribute-2.101700.tar.gz) = 18402
diff --git a/devel/p5-Getopt-Attribute/pkg-descr b/devel/p5-Getopt-Attribute/pkg-descr
new file mode 100644
index 000000000000..7cc45ca6975c
--- /dev/null
+++ b/devel/p5-Getopt-Attribute/pkg-descr
@@ -0,0 +1,10 @@
+This module provides an attribute wrapper around Getopt::Long.
+Instead of declaring the options in a hash with references to the
+variables and subroutines affected by the options, you can use the
+Getopt attribute on the variables and subroutines directly.
+
+As you can see from the Synopsis, the attribute takes an argument of
+the same format as you would give as the hash key for Getopt::Long.
+See the Getopt::Long manpage for details.
+
+WWW: http://search.cpan.org/dist/Getopt-Attribute/
diff --git a/devel/p5-Getopt-Attribute/pkg-plist b/devel/p5-Getopt-Attribute/pkg-plist
new file mode 100644
index 000000000000..cd0b4e6b2648
--- /dev/null
+++ b/devel/p5-Getopt-Attribute/pkg-plist
@@ -0,0 +1,6 @@
+@comment $FreeBSD$
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Getopt/Attribute/.packlist
+%%SITE_PERL%%/Getopt/Attribute.pm
+@dirrmtry %%SITE_PERL%%/Getopt
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Getopt/Attribute
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Getopt