From fa4a384f688efdbab5b81ecec70d5a8fe1575dbd Mon Sep 17 00:00:00 2001 From: Lars Thegler Date: Thu, 21 Nov 2013 19:00:04 +0000 Subject: [PATCH] System::Sub provides in your package a sub that wraps the call to an external program. WWW: https://metacpan.org/release/System-Sub --- devel/Makefile | 1 + devel/p5-System-Sub/Makefile | 23 +++++++++++++++++++++++ devel/p5-System-Sub/distinfo | 2 ++ devel/p5-System-Sub/pkg-descr | 4 ++++ devel/p5-System-Sub/pkg-plist | 9 +++++++++ 5 files changed, 39 insertions(+) create mode 100644 devel/p5-System-Sub/Makefile create mode 100644 devel/p5-System-Sub/distinfo create mode 100644 devel/p5-System-Sub/pkg-descr create mode 100644 devel/p5-System-Sub/pkg-plist diff --git a/devel/Makefile b/devel/Makefile index 00e200826966..28d266617e21 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -2715,6 +2715,7 @@ SUBDIR += p5-Sys-Trace SUBDIR += p5-Sys-Virt SUBDIR += p5-System-Command + SUBDIR += p5-System-Sub SUBDIR += p5-System2 SUBDIR += p5-TAP-Formatter-JUnit SUBDIR += p5-TAP-Harness-JUnit diff --git a/devel/p5-System-Sub/Makefile b/devel/p5-System-Sub/Makefile new file mode 100644 index 000000000000..db5c5e2f58a5 --- /dev/null +++ b/devel/p5-System-Sub/Makefile @@ -0,0 +1,23 @@ +# $FreeBSD$ + +PORTNAME= System-Sub +PORTVERSION= 0.130210 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= lth@FreeBSD.org +COMMENT= Wrap external command with a DWIM sub + +LICENSE= ART10 GPLv1 +LICENSE_COMB= dual + +BUILD_DEPENDS:= p5-File-Which>=0:${PORTSDIR}/sysutils/p5-File-Which \ + p5-IPC-Run>=0:${PORTSDIR}/devel/p5-IPC-Run \ + p5-Sub-Name>=0:${PORTSDIR}/devel/p5-Sub-Name +RUN_DEPENDS:= ${BUILD_DEPENDS} + +USES= perl5 +USE_PERL5= configure + +.include diff --git a/devel/p5-System-Sub/distinfo b/devel/p5-System-Sub/distinfo new file mode 100644 index 000000000000..ab6dace5e742 --- /dev/null +++ b/devel/p5-System-Sub/distinfo @@ -0,0 +1,2 @@ +SHA256 (System-Sub-0.130210.tar.gz) = 60198361ba78dfdda4af377cb329303fecb9084593f5f3edfc53c28529a9db4d +SIZE (System-Sub-0.130210.tar.gz) = 15668 diff --git a/devel/p5-System-Sub/pkg-descr b/devel/p5-System-Sub/pkg-descr new file mode 100644 index 000000000000..3a48166cdde8 --- /dev/null +++ b/devel/p5-System-Sub/pkg-descr @@ -0,0 +1,4 @@ +System::Sub provides in your package a sub that wraps the call to +an external program. + +WWW: https://metacpan.org/release/System-Sub diff --git a/devel/p5-System-Sub/pkg-plist b/devel/p5-System-Sub/pkg-plist new file mode 100644 index 000000000000..c81c386176c2 --- /dev/null +++ b/devel/p5-System-Sub/pkg-plist @@ -0,0 +1,9 @@ +%%PERL5_MAN3%%/System::Sub.3.gz +%%PERL5_MAN3%%/System::Sub::AutoLoad.3.gz +%%SITE_PERL%%/System/Sub.pm +%%SITE_PERL%%/System/Sub/AutoLoad.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/System/Sub/.packlist +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/System/Sub +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/System +@dirrmtry %%SITE_PERL%%/System/Sub +@dirrmtry %%SITE_PERL%%/System