summaryrefslogtreecommitdiff
path: root/devel/p5-AppConfig
diff options
context:
space:
mode:
authorjtb <jtb@pkgsrc.org>2001-04-16 18:46:29 +0000
committerjtb <jtb@pkgsrc.org>2001-04-16 18:46:29 +0000
commit0c581aa1b0a60358fd56492171259893679fe036 (patch)
treeace7f55134d120437e06540b8d99dbdc178bc436 /devel/p5-AppConfig
parent75c251670cfaf31456f03e50d48c030db536ce35 (diff)
downloadpkgsrc-0c581aa1b0a60358fd56492171259893679fe036.tar.gz
Initial import of p5-AppConfig.
AppConfig is a bundle of perl5 modules for parsing configuration files and command line arguments. It has a very powerful configuration file processor and a simple, efficient mechanism for parsing command line arguments. It also will use the Getopt::Long module where available to extend its own command line parsing abilities. Provided by Nathan Ahlstrom <nrahlstr@winternet.com> in PR #12637.
Diffstat (limited to 'devel/p5-AppConfig')
-rw-r--r--devel/p5-AppConfig/Makefile18
-rw-r--r--devel/p5-AppConfig/files/md53
-rw-r--r--devel/p5-AppConfig/files/patch-sum3
-rw-r--r--devel/p5-AppConfig/patches/patch-aa13
-rw-r--r--devel/p5-AppConfig/pkg/DESCR5
-rw-r--r--devel/p5-AppConfig/pkg/PLIST1
6 files changed, 43 insertions, 0 deletions
diff --git a/devel/p5-AppConfig/Makefile b/devel/p5-AppConfig/Makefile
new file mode 100644
index 00000000000..1b1cdf2420b
--- /dev/null
+++ b/devel/p5-AppConfig/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/04/16 18:46:29 jtb Exp $
+
+DISTNAME= AppConfig-1.52
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=App/ABW/}
+
+MAINTAINER= packages@NetBSD.org
+HOMEPAGE= http://www.kfs.org/~abw/
+COMMENT= perl5 module for parsing config files and command line arguments
+
+USE_PERL5= #defined
+PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/AppConfig/.packlist
+
+do-configure:
+ @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/p5-AppConfig/files/md5 b/devel/p5-AppConfig/files/md5
new file mode 100644
index 00000000000..dabcba4d1b4
--- /dev/null
+++ b/devel/p5-AppConfig/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2001/04/16 18:46:29 jtb Exp $
+
+SHA1 (AppConfig-1.52.tar.gz) = 974e41ed348b43d98ae59ba6ccd88ab0a7061a94
diff --git a/devel/p5-AppConfig/files/patch-sum b/devel/p5-AppConfig/files/patch-sum
new file mode 100644
index 00000000000..531cb83c693
--- /dev/null
+++ b/devel/p5-AppConfig/files/patch-sum
@@ -0,0 +1,3 @@
+$NetBSD: patch-sum,v 1.1.1.1 2001/04/16 18:46:29 jtb Exp $
+
+SHA1 (patch-aa) = c08deb2b0dc4dbfb9ae921f4559fd0d6ac0ec7db
diff --git a/devel/p5-AppConfig/patches/patch-aa b/devel/p5-AppConfig/patches/patch-aa
new file mode 100644
index 00000000000..dbd0d89c0ef
--- /dev/null
+++ b/devel/p5-AppConfig/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/04/16 18:46:29 jtb Exp $
+
+--- AppConfig.pm.orig Thu Oct 29 12:08:55 1998
++++ AppConfig.pm
+@@ -578,7 +578,7 @@
+ Used to provide an argument specification string to pass to Getopt::Long
+ via AppConfig::Getopt. E.g. "=i", ":s", "=s@". This can also be used to
+ implicitly set the ARGCOUNT value (C</^!/> = ARGCOUNT_NONE, C</@/> =
+-ARGCOUNT_LIST, C</%/ = ARGCOUNT_HASH, C</[=:].*/> = ARGCOUNT_ONE)
++ARGCOUNT_LIST, C</%/> = ARGCOUNT_HASH, C</[=:].*/> = ARGCOUNT_ONE)
+
+ =item EXPAND
+
diff --git a/devel/p5-AppConfig/pkg/DESCR b/devel/p5-AppConfig/pkg/DESCR
new file mode 100644
index 00000000000..035816f965e
--- /dev/null
+++ b/devel/p5-AppConfig/pkg/DESCR
@@ -0,0 +1,5 @@
+AppConfig is a bundle of perl5 modules for parsing configuration files
+and command line arguments. It has a very powerful configuration file
+processor and a simple, efficient mechanism for parsing command line
+arguments. It also will use the Getopt::Long module where available
+to extend its own command line parsing abilities.
diff --git a/devel/p5-AppConfig/pkg/PLIST b/devel/p5-AppConfig/pkg/PLIST
new file mode 100644
index 00000000000..1a513464395
--- /dev/null
+++ b/devel/p5-AppConfig/pkg/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/04/16 18:46:29 jtb Exp $