aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorlth <lth@FreeBSD.org>2005-07-05 18:59:35 +0800
committerlth <lth@FreeBSD.org>2005-07-05 18:59:35 +0800
commit12f594fb86f3eb2dae7093486219e6a720cf2021 (patch)
tree848cc1c9107cc5fb6a294460809ccb64cec0ece5 /devel
parent6b8cf229417b39f5df54d6a49af3129c8b221792 (diff)
downloadfreebsd-ports-gnome-12f594fb86f3eb2dae7093486219e6a720cf2021.tar.gz
freebsd-ports-gnome-12f594fb86f3eb2dae7093486219e6a720cf2021.tar.zst
freebsd-ports-gnome-12f594fb86f3eb2dae7093486219e6a720cf2021.zip
Add p5-Params-Util 0.05, utility functions to aid in parameter checking.
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-Params-Util/Makefile31
-rw-r--r--devel/p5-Params-Util/distinfo2
-rw-r--r--devel/p5-Params-Util/pkg-descr4
-rw-r--r--devel/p5-Params-Util/pkg-plist5
5 files changed, 43 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 90bb22bc87b1..43f8042e4a44 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1013,6 +1013,7 @@
SUBDIR += p5-Parallel-ForkManager
SUBDIR += p5-Params-CallbackRequest
SUBDIR += p5-Params-Check
+ SUBDIR += p5-Params-Util
SUBDIR += p5-Params-Validate
SUBDIR += p5-Parse-CPAN-Packages
SUBDIR += p5-Parse-PerlConfig
diff --git a/devel/p5-Params-Util/Makefile b/devel/p5-Params-Util/Makefile
new file mode 100644
index 000000000000..db0e00568eb8
--- /dev/null
+++ b/devel/p5-Params-Util/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: devel/p5-Params-Util
+# Date created: 4 July 2005
+# Whom: Lars Thegler <lth@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Params-Util
+PORTVERSION= 0.05
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= ../by-authors/id/A/AD/ADAMK
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= lth@FreeBSD.org
+COMMENT= Utility functions to aid in parameter checking
+
+BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/File/Spec.pm:${PORTSDIR}/devel/p5-PathTools \
+ ${SITE_PERL}/${PERL_ARCH}/Scalar/Util.pm:${PORTSDIR}/lang/p5-Scalar-List-Utils
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= Params::Util.3
+
+post-patch:
+ @${RM} ${WRKSRC}/inc/Module/Install/AutoInstall.pm
+ @${PERL} -pi -e '$$_="" if m/AutoInstall/' ${WRKSRC}/MANIFEST
+ @${PERL} -pi -e '$$_="" if m/Test::More|auto_install/' ${WRKSRC}/Makefile.PL
+
+.include <bsd.port.mk>
diff --git a/devel/p5-Params-Util/distinfo b/devel/p5-Params-Util/distinfo
new file mode 100644
index 000000000000..3eb1c8019845
--- /dev/null
+++ b/devel/p5-Params-Util/distinfo
@@ -0,0 +1,2 @@
+MD5 (Params-Util-0.05.tar.gz) = 5d3f1abd93c0fec2e7cfe37d30ce48dc
+SIZE (Params-Util-0.05.tar.gz) = 23220
diff --git a/devel/p5-Params-Util/pkg-descr b/devel/p5-Params-Util/pkg-descr
new file mode 100644
index 000000000000..d997050e4f05
--- /dev/null
+++ b/devel/p5-Params-Util/pkg-descr
@@ -0,0 +1,4 @@
+Params::Util provides a basic set of importable functions that makes
+checking parameters a hell of a lot easier.
+
+WWW: http://search.cpan.org/dist/Params-Util/
diff --git a/devel/p5-Params-Util/pkg-plist b/devel/p5-Params-Util/pkg-plist
new file mode 100644
index 000000000000..05b34cd1e156
--- /dev/null
+++ b/devel/p5-Params-Util/pkg-plist
@@ -0,0 +1,5 @@
+%%SITE_PERL%%/Params/Util.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Params/Util/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Params/Util
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Params 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Params 2>/dev/null || true