aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-AppConfig-Std
diff options
context:
space:
mode:
authortobez <tobez@FreeBSD.org>2002-07-26 06:57:50 +0800
committertobez <tobez@FreeBSD.org>2002-07-26 06:57:50 +0800
commit14793d598beb923285110e245ce6cda8fdb5c947 (patch)
tree4df760d3d00586e324b0a2311b46b3ad3430f70c /devel/p5-AppConfig-Std
parent85c7421fe2673a8ede7d30ac08d325ddaf1b11c9 (diff)
downloadfreebsd-ports-gnome-14793d598beb923285110e245ce6cda8fdb5c947.tar.gz
freebsd-ports-gnome-14793d598beb923285110e245ce6cda8fdb5c947.tar.zst
freebsd-ports-gnome-14793d598beb923285110e245ce6cda8fdb5c947.zip
Add p5-AppConfig-Std 1.07, a subclass of AppConfig that provides a set
of standard configuration variables and command-line switches. PR: 40809 Submitted by: Kimura Fuyuki <fuyuki@hadaly.org>
Diffstat (limited to 'devel/p5-AppConfig-Std')
-rw-r--r--devel/p5-AppConfig-Std/Makefile29
-rw-r--r--devel/p5-AppConfig-Std/distinfo1
-rw-r--r--devel/p5-AppConfig-Std/pkg-comment1
-rw-r--r--devel/p5-AppConfig-Std/pkg-descr9
-rw-r--r--devel/p5-AppConfig-Std/pkg-plist5
5 files changed, 45 insertions, 0 deletions
diff --git a/devel/p5-AppConfig-Std/Makefile b/devel/p5-AppConfig-Std/Makefile
new file mode 100644
index 000000000000..f42c46aa9c09
--- /dev/null
+++ b/devel/p5-AppConfig-Std/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: p5-AppConfig-Std
+# Date created: 20 July 2002
+# Whom: Kimura Fuyuki <fuyuki@hadaly.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= AppConfig-Std
+PORTVERSION= 1.07
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= AppConfig
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= fuyuki@hadaly.org
+
+RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/AppConfig.pm:${PORTSDIR}/devel/p5-AppConfig \
+ ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Pod/Usage.pm:${PORTSDIR}/textproc/p5-PodParser
+
+PERL_CONFIGURE= yes
+
+MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+MAN3= AppConfig::Std.3
+
+post-patch:
+ ${PERL} -pi -e 's|(VERSION_FROM\s+=>\s+)(.*)(,.*)$$|$$1$$2$$3\nMAN3PODS=>{$$2=>q!\\\$$(INST_MAN3DIR)/${MAN3}!},|;' \
+ ${WRKSRC}/Makefile.PL
+
+.include <bsd.port.mk>
diff --git a/devel/p5-AppConfig-Std/distinfo b/devel/p5-AppConfig-Std/distinfo
new file mode 100644
index 000000000000..27b1f6a2759a
--- /dev/null
+++ b/devel/p5-AppConfig-Std/distinfo
@@ -0,0 +1 @@
+MD5 (AppConfig-Std-1.07.tar.gz) = 5a7d3d668494116e4120208100592d10
diff --git a/devel/p5-AppConfig-Std/pkg-comment b/devel/p5-AppConfig-Std/pkg-comment
new file mode 100644
index 000000000000..ed652c0a107c
--- /dev/null
+++ b/devel/p5-AppConfig-Std/pkg-comment
@@ -0,0 +1 @@
+A subclass of AppConfig that provides standard options
diff --git a/devel/p5-AppConfig-Std/pkg-descr b/devel/p5-AppConfig-Std/pkg-descr
new file mode 100644
index 000000000000..507bd193d544
--- /dev/null
+++ b/devel/p5-AppConfig-Std/pkg-descr
@@ -0,0 +1,9 @@
+AppConfig::Std is a Perl module that provides a set of standard
+configuration variables and command-line switches. It is implemented
+as a subclass of AppConfig; AppConfig provides a general mechanism for
+handling global configuration variables.
+
+WWW: http://search.cpan.org/search?dist=AppConfig-Std
+
+- Kimura Fuyuki
+fuyuki@hadaly.org
diff --git a/devel/p5-AppConfig-Std/pkg-plist b/devel/p5-AppConfig-Std/pkg-plist
new file mode 100644
index 000000000000..e6336a780171
--- /dev/null
+++ b/devel/p5-AppConfig-Std/pkg-plist
@@ -0,0 +1,5 @@
+lib/perl5/site_perl/%%PERL_VER%%/AppConfig/Std.pm
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/AppConfig/Std/.packlist
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/AppConfig 2>/dev/null || true
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/AppConfig/Std
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/AppConfig 2>/dev/null || true