aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Moos
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2012-12-05 03:18:41 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2012-12-05 03:18:41 +0000
commit32ca0964c5f6f13a49b903cc7e3f23882447a287 (patch)
treef39828e53cb92c5961098c0fe07729df3f146a97 /devel/p5-Moos
parent020b39bad1862652113f57303127c08f5f7488ff (diff)
downloadports-32ca0964c5f6f13a49b903cc7e3f23882447a287.tar.gz
ports-32ca0964c5f6f13a49b903cc7e3f23882447a287.zip
Notes
Diffstat (limited to 'devel/p5-Moos')
-rw-r--r--devel/p5-Moos/Makefile36
-rw-r--r--devel/p5-Moos/distinfo2
-rw-r--r--devel/p5-Moos/pkg-descr8
-rw-r--r--devel/p5-Moos/pkg-plist7
4 files changed, 53 insertions, 0 deletions
diff --git a/devel/p5-Moos/Makefile b/devel/p5-Moos/Makefile
new file mode 100644
index 000000000000..ce2f4072bed8
--- /dev/null
+++ b/devel/p5-Moos/Makefile
@@ -0,0 +1,36 @@
+# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= Moos
+PORTVERSION= 0.15
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+MASTER_SITE_SUBDIR= CPAN:INGY
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Moo s{imple,peedy,ingle}
+
+LICENSE= ART10 GPLv1
+LICENSE_COMB= dual
+
+BUILD_DEPENDS= p5-Class-XSAccessor>=1.07:${PORTSDIR}/devel/p5-Class-XSAccessor \
+ p5-Role-Tiny>=1.002.000:${PORTSDIR}/devel/p5-Role-Tiny
+RUN_DEPENDS:= ${BUILD_DEPENDS}
+TEST_DEPENDS= p5-namespace-autoclean>=0:${PORTSDIR}/devel/p5-namespace-autoclean
+
+PERL_CONFIGURE= yes
+
+MAN1= remoos.1
+MAN3= Moos.3 \
+ Moos::Role.3 \
+ oos.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501000
+BUILD_DEPENDS+= p5-MRO-Compat>=0:${PORTSDIR}/devel/p5-MRO-Compat
+RUN_DEPENDS+= p5-MRO-Compat>=0:${PORTSDIR}/devel/p5-MRO-Compat
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/p5-Moos/distinfo b/devel/p5-Moos/distinfo
new file mode 100644
index 000000000000..ecab89873f75
--- /dev/null
+++ b/devel/p5-Moos/distinfo
@@ -0,0 +1,2 @@
+SHA256 (Moos-0.15.tar.gz) = 99cb7322634a74f14d5866ae053f823b95c83a3c95a8723dd8ee9122c4df526f
+SIZE (Moos-0.15.tar.gz) = 42683
diff --git a/devel/p5-Moos/pkg-descr b/devel/p5-Moos/pkg-descr
new file mode 100644
index 000000000000..4496462c211c
--- /dev/null
+++ b/devel/p5-Moos/pkg-descr
@@ -0,0 +1,8 @@
+Moos completes the M to Moose sequence of Perl OO modules.
+
+This one is pure Perl, single file and mostly Moose compatible (for what it
+does). Moos has no non-core dependencies, but certain features (roles, debugging
+functions, legacy Perl support) do require additional modules. If you steer away
+from those features, you don't need those additional modules.
+
+WWW: http://search.cpan.org/dist/Moos/
diff --git a/devel/p5-Moos/pkg-plist b/devel/p5-Moos/pkg-plist
new file mode 100644
index 000000000000..7ebc89f7e62b
--- /dev/null
+++ b/devel/p5-Moos/pkg-plist
@@ -0,0 +1,7 @@
+bin/remoos
+%%SITE_PERL%%/Moos.pm
+%%SITE_PERL%%/Moos/Role.pm
+%%SITE_PERL%%/oos.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Moos/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Moos
+@dirrm %%SITE_PERL%%/Moos