aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-Mo/Makefile45
-rw-r--r--devel/p5-Mo/distinfo2
-rw-r--r--devel/p5-Mo/pkg-descr11
-rw-r--r--devel/p5-Mo/pkg-plist42
5 files changed, 101 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index fb3a899e1d73..d7ae0b1b5160 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -2261,6 +2261,7 @@
SUBDIR += p5-Method-Signatures-Simple
SUBDIR += p5-Mixin-Linewise
SUBDIR += p5-Mknod
+ SUBDIR += p5-Mo
SUBDIR += p5-Mock-Quick
SUBDIR += p5-Module-Build
SUBDIR += p5-Module-Build-Convert
diff --git a/devel/p5-Mo/Makefile b/devel/p5-Mo/Makefile
new file mode 100644
index 000000000000..a58ce3cff478
--- /dev/null
+++ b/devel/p5-Mo/Makefile
@@ -0,0 +1,45 @@
+# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= Mo
+PORTVERSION= 0.35
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+MASTER_SITE_SUBDIR= CPAN:INGY
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Micro Objects. Mo is less
+
+LICENSE= ART10 GPLv1
+LICENSE_COMB= dual
+
+TEST_DEPENDS= p5-Class-XSAccessor>=0:${PORTSDIR}/devel/p5-Class-XSAccessor \
+ p5-Moose>=0:${PORTSDIR}/devel/p5-Moose \
+ p5-Mouse>=0:${PORTSDIR}/devel/p5-Mouse
+
+USE_PERL5= configure
+USES= perl5
+
+MAN3= Mo.3 \
+ Mo::Design.3 \
+ Mo::Features.3 \
+ Mo::Golf.3 \
+ Mo::Hacking.3 \
+ Mo::Inline.3 \
+ Mo::Moose.3 \
+ Mo::Mouse.3 \
+ Mo::build.3 \
+ Mo::builder.3 \
+ Mo::chain.3 \
+ Mo::coerce.3 \
+ Mo::default.3 \
+ Mo::exports.3 \
+ Mo::import.3 \
+ Mo::importer.3 \
+ Mo::is.3 \
+ Mo::option.3 \
+ Mo::required.3 \
+ Mo::xs.3
+
+.include <bsd.port.mk>
diff --git a/devel/p5-Mo/distinfo b/devel/p5-Mo/distinfo
new file mode 100644
index 000000000000..30449d5174c4
--- /dev/null
+++ b/devel/p5-Mo/distinfo
@@ -0,0 +1,2 @@
+SHA256 (Mo-0.35.tar.gz) = 40af2bfd7ddb921b9f8c323380923cc337c624072712851f82a74f0ecf5b88db
+SIZE (Mo-0.35.tar.gz) = 49421
diff --git a/devel/p5-Mo/pkg-descr b/devel/p5-Mo/pkg-descr
new file mode 100644
index 000000000000..68b7e777010c
--- /dev/null
+++ b/devel/p5-Mo/pkg-descr
@@ -0,0 +1,11 @@
+Mo is the bare minimum needed for Perl OO. Many times you'll want just a couple
+more features. Don't worry. Mo's got you covered.
+
+Mo simply loads the feature classes Mo::build, Mo::default, Mo::builder,
+Mo::coerce, Mo::is and Mo::required. The first one supports BUILD constructing
+and the other three add their magics to has. A Mo::Feature module can enhance
+new, extends and has, and also add new export subs, or remove existing ones.
+Features can also be combined for a single accessor. See Mo::Features for a list
+of all the features and for an explanation of the Feature API.
+
+WWW: http://search.cpan.org/dist/Mo/
diff --git a/devel/p5-Mo/pkg-plist b/devel/p5-Mo/pkg-plist
new file mode 100644
index 000000000000..24a7461a1a07
--- /dev/null
+++ b/devel/p5-Mo/pkg-plist
@@ -0,0 +1,42 @@
+bin/mo-inline
+%%SITE_PERL%%/Mo.pm
+%%SITE_PERL%%/Mo.pod
+%%SITE_PERL%%/Mo/Design.pod
+%%SITE_PERL%%/Mo/Features.pod
+%%SITE_PERL%%/Mo/Golf.pm
+%%SITE_PERL%%/Mo/Golf.pod
+%%SITE_PERL%%/Mo/Hacking.pod
+%%SITE_PERL%%/Mo/Inline.pm
+%%SITE_PERL%%/Mo/Inline.pod
+%%SITE_PERL%%/Mo/Moose.pm
+%%SITE_PERL%%/Mo/Moose.pod
+%%SITE_PERL%%/Mo/Mouse.pm
+%%SITE_PERL%%/Mo/Mouse.pod
+%%SITE_PERL%%/Mo/build.pm
+%%SITE_PERL%%/Mo/build.pod
+%%SITE_PERL%%/Mo/builder.pm
+%%SITE_PERL%%/Mo/builder.pod
+%%SITE_PERL%%/Mo/chain.pm
+%%SITE_PERL%%/Mo/chain.pod
+%%SITE_PERL%%/Mo/coerce.pm
+%%SITE_PERL%%/Mo/coerce.pod
+%%SITE_PERL%%/Mo/default.pm
+%%SITE_PERL%%/Mo/default.pod
+%%SITE_PERL%%/Mo/exporter.pm
+%%SITE_PERL%%/Mo/exports.pod
+%%SITE_PERL%%/Mo/import.pm
+%%SITE_PERL%%/Mo/import.pod
+%%SITE_PERL%%/Mo/importer.pm
+%%SITE_PERL%%/Mo/importer.pod
+%%SITE_PERL%%/Mo/is.pm
+%%SITE_PERL%%/Mo/is.pod
+%%SITE_PERL%%/Mo/nonlazy.pm
+%%SITE_PERL%%/Mo/option.pm
+%%SITE_PERL%%/Mo/option.pod
+%%SITE_PERL%%/Mo/required.pm
+%%SITE_PERL%%/Mo/required.pod
+%%SITE_PERL%%/Mo/xs.pm
+%%SITE_PERL%%/Mo/xs.pod
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Mo/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Mo
+@dirrm %%SITE_PERL%%/Mo