1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/devel/p5-Moos/Makefile
Sunpoet Po-Chuan Hsieh 32ca0964c5 - Add p5-Moos 0.15
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/

Feature safe:	yes
2012-12-05 03:18:41 +00:00

37 lines
855 B
Makefile

# 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>