diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2011-06-11 14:56:32 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2011-06-11 14:56:32 +0000 |
commit | 3987d332274ac185d739592c5171b678917004d4 (patch) | |
tree | a00177fe00eb14f3282bd395c92446cf47556e91 /devel | |
parent | 09b4eb11973e0613a05d7adca9803c5850966066 (diff) | |
download | ports-3987d332274ac185d739592c5171b678917004d4.tar.gz ports-3987d332274ac185d739592c5171b678917004d4.zip |
Notes
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/p5-MooseX-Runnable/Makefile | 34 | ||||
-rw-r--r-- | devel/p5-MooseX-Runnable/distinfo | 2 | ||||
-rw-r--r-- | devel/p5-MooseX-Runnable/pkg-descr | 10 | ||||
-rw-r--r-- | devel/p5-MooseX-Runnable/pkg-plist | 28 |
5 files changed, 75 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index bd287e530a1f..35a4a8965430 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -2004,6 +2004,7 @@ SUBDIR += p5-MooseX-RelatedClassRoles SUBDIR += p5-MooseX-Role-Parameterized SUBDIR += p5-MooseX-Role-WithOverloading + SUBDIR += p5-MooseX-Runnable SUBDIR += p5-MooseX-SemiAffordanceAccessor SUBDIR += p5-MooseX-SetOnce SUBDIR += p5-MooseX-SimpleConfig diff --git a/devel/p5-MooseX-Runnable/Makefile b/devel/p5-MooseX-Runnable/Makefile new file mode 100644 index 000000000000..6b28016cc832 --- /dev/null +++ b/devel/p5-MooseX-Runnable/Makefile @@ -0,0 +1,34 @@ +# New ports collection makefile for: p5-MooseX-Runnable +# Date created: 2011-06-11 +# Whom: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= MooseX-Runnable +PORTVERSION= 0.03 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Tag a class as a runnable application + +RUN_DEPENDS= p5-List-MoreUtils>=0:${PORTSDIR}/lang/p5-List-MoreUtils \ + p5-Moose>=0:${PORTSDIR}/devel/p5-Moose \ + p5-MooseX-Getopt>=0:${PORTSDIR}/devel/p5-MooseX-Getopt \ + p5-MooseX-Types>=0:${PORTSDIR}/devel/p5-MooseX-Types \ + p5-MooseX-Types-Path-Class>=0:${PORTSDIR}/devel/p5-MooseX-Types-Path-Class \ + p5-Params-Util>=0:${PORTSDIR}/devel/p5-Params-Util \ + p5-namespace-autoclean>=0:${PORTSDIR}/devel/p5-namespace-autoclean + +PERL_CONFIGURE= yes + +MAN1= mx-run.1 +MAN3= MooseX::Runnable.3 \ + MooseX::Runnable::Invocation::Plugin::Debug.3 \ + MooseX::Runnable::Invocation::Scheme::MooseX::Getopt.3 \ + MooseX::Runnable::Run.3 \ + MooseX::Runnable::Util::ArgParser.3 + +.include <bsd.port.mk> diff --git a/devel/p5-MooseX-Runnable/distinfo b/devel/p5-MooseX-Runnable/distinfo new file mode 100644 index 000000000000..4a5547752a68 --- /dev/null +++ b/devel/p5-MooseX-Runnable/distinfo @@ -0,0 +1,2 @@ +SHA256 (MooseX-Runnable-0.03.tar.gz) = 8c37c7340d6fd55caf879f5c48426ca45c7c0492fcaf519f917e51d9a8bd83c2 +SIZE (MooseX-Runnable-0.03.tar.gz) = 26896 diff --git a/devel/p5-MooseX-Runnable/pkg-descr b/devel/p5-MooseX-Runnable/pkg-descr new file mode 100644 index 000000000000..1c464fb29c37 --- /dev/null +++ b/devel/p5-MooseX-Runnable/pkg-descr @@ -0,0 +1,10 @@ +MooseX::Runnable is a framework for making classes runnable applications. This +role doesn't do anything other than tell the rest of the framework that your +class is a runnable application that has a "run" method which accepts arguments +and returns the process' exit code. + +This is a convention that the community has been using for a while. This role +tells the computer that your class uses this convention, and let's the computer +abstract away some of the tedium this entails. + +WWW: http://search.cpan.org/dist/MooseX-Runnable/ diff --git a/devel/p5-MooseX-Runnable/pkg-plist b/devel/p5-MooseX-Runnable/pkg-plist new file mode 100644 index 000000000000..310050718348 --- /dev/null +++ b/devel/p5-MooseX-Runnable/pkg-plist @@ -0,0 +1,28 @@ +bin/mx-run +%%SITE_PERL%%/MooseX/Runnable.pm +%%SITE_PERL%%/MooseX/Runnable/Invocation.pm +%%SITE_PERL%%/MooseX/Runnable/Invocation/MxRun.pm +%%SITE_PERL%%/MooseX/Runnable/Invocation/Plugin/Debug.pm +%%SITE_PERL%%/MooseX/Runnable/Invocation/Plugin/PAR.pm +%%SITE_PERL%%/MooseX/Runnable/Invocation/Plugin/Profile.pm +%%SITE_PERL%%/MooseX/Runnable/Invocation/Plugin/Restart.pm +%%SITE_PERL%%/MooseX/Runnable/Invocation/Plugin/Restart/Auto.pm +%%SITE_PERL%%/MooseX/Runnable/Invocation/Plugin/Restart/Base.pm +%%SITE_PERL%%/MooseX/Runnable/Invocation/Plugin/Role/CmdlineArgs.pm +%%SITE_PERL%%/MooseX/Runnable/Invocation/Role/WithParsedArgs.pm +%%SITE_PERL%%/MooseX/Runnable/Invocation/Scheme/MooseX/Getopt.pm +%%SITE_PERL%%/MooseX/Runnable/Run.pm +%%SITE_PERL%%/MooseX/Runnable/Util/ArgParser.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/MooseX/Runnable/.packlist +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/MooseX/Runnable +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/MooseX +@dirrm %%SITE_PERL%%/MooseX/Runnable/Util +@dirrm %%SITE_PERL%%/MooseX/Runnable/Invocation/Scheme/MooseX +@dirrm %%SITE_PERL%%/MooseX/Runnable/Invocation/Scheme +@dirrm %%SITE_PERL%%/MooseX/Runnable/Invocation/Role +@dirrm %%SITE_PERL%%/MooseX/Runnable/Invocation/Plugin/Role +@dirrm %%SITE_PERL%%/MooseX/Runnable/Invocation/Plugin/Restart +@dirrm %%SITE_PERL%%/MooseX/Runnable/Invocation/Plugin +@dirrm %%SITE_PERL%%/MooseX/Runnable/Invocation +@dirrm %%SITE_PERL%%/MooseX/Runnable +@dirrmtry %%SITE_PERL%%/MooseX |