aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-Sub-WrapPackages/Makefile29
-rw-r--r--devel/p5-Sub-WrapPackages/distinfo3
-rw-r--r--devel/p5-Sub-WrapPackages/pkg-descr4
-rw-r--r--devel/p5-Sub-WrapPackages/pkg-plist5
5 files changed, 42 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 125f34c34e72..6f40a975b4e4 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1393,6 +1393,7 @@
SUBDIR += p5-Sub-Name
SUBDIR += p5-Sub-Override
SUBDIR += p5-Sub-Uplevel
+ SUBDIR += p5-Sub-WrapPackages
SUBDIR += p5-Sys-Mmap
SUBDIR += p5-Sys-Sig
SUBDIR += p5-Sys-SigAction
diff --git a/devel/p5-Sub-WrapPackages/Makefile b/devel/p5-Sub-WrapPackages/Makefile
new file mode 100644
index 000000000000..ad18c4dbdedf
--- /dev/null
+++ b/devel/p5-Sub-WrapPackages/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: devel/p5-Sub-WrapPackages
+# Date created: 14 September 2005
+# Whom: George Hartzell <hartzell@alerce.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Sub-WrapPackages
+PORTVERSION= 1.2
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Sub
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= hartzell@alerce.com
+COMMENT= Add pre- and post-execution wrappers
+
+RUN_DEPENDS= ${SITE_PERL}/Hook/LexWrap.pm:${PORTSDIR}/devel/p5-Hook-LexWrap
+BUILD_DEPENDS= ${RUN_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= Sub::WrapPackages.3
+
+.include <bsd.port.pre.mk>
+.if ${PERL_LEVEL} < 500800
+IGNORE= requires Perl 5.8 or newer. Install lang/perl5.8, and try again
+.endif
+.include <bsd.port.post.mk>
diff --git a/devel/p5-Sub-WrapPackages/distinfo b/devel/p5-Sub-WrapPackages/distinfo
new file mode 100644
index 000000000000..b1dd7c37f24a
--- /dev/null
+++ b/devel/p5-Sub-WrapPackages/distinfo
@@ -0,0 +1,3 @@
+MD5 (Sub-WrapPackages-1.2.tar.gz) = a9a08c1208dd42f615fdc5dac897f45a
+SHA256 (Sub-WrapPackages-1.2.tar.gz) = e2313de62fb1f48d0ae9f53d8a8c8fbbcff5c93b41467e9b551c0f7ae62a1fa9
+SIZE (Sub-WrapPackages-1.2.tar.gz) = 4288
diff --git a/devel/p5-Sub-WrapPackages/pkg-descr b/devel/p5-Sub-WrapPackages/pkg-descr
new file mode 100644
index 000000000000..9e4557f4192c
--- /dev/null
+++ b/devel/p5-Sub-WrapPackages/pkg-descr
@@ -0,0 +1,4 @@
+Sub::WrapPackages - add pre- and post-execution wrappers around all
+the subroutines in packages or around individual subs.
+
+WWW: http://search.cpan.org/dist/Sub-WrapPackages/
diff --git a/devel/p5-Sub-WrapPackages/pkg-plist b/devel/p5-Sub-WrapPackages/pkg-plist
new file mode 100644
index 000000000000..50c0e5694cf8
--- /dev/null
+++ b/devel/p5-Sub-WrapPackages/pkg-plist
@@ -0,0 +1,5 @@
+%%SITE_PERL%%/Sub/WrapPackages.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Sub/WrapPackages/.packlist
+@dirrmtry %%SITE_PERL%%/Sub
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Sub/WrapPackages
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Sub