blob: 47999c9ca0e2c2db0fffeae928226463059510d5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# New ports collection makefile for: devel/p5-Class-MOP
# Date created: 14 Apr 2006
# Whom: Lars Balker Rasmussen <lbr@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= Class-MOP
PORTVERSION= 0.35
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= ../by-authors/id/S/ST/STEVAN
PKGNAMEPREFIX= p5-
MAINTAINER= lbr@FreeBSD.org
COMMENT= A Meta Object Protocol for Perl 5
RUN_DEPENDS= p5-Sub-Name>=0.02:${PORTSDIR}/devel/p5-Sub-Name
BUILD_DEPENDS= ${RUN_DEPENDS}
PERL_MODBUILD= yes
MAN3= Class::MOP.3 \
Class::MOP::Attribute.3 \
Class::MOP::Class.3 \
Class::MOP::Class::Immutable.3 \
Class::MOP::Instance.3 \
Class::MOP::Method.3 \
Class::MOP::Module.3 \
Class::MOP::Object.3 \
Class::MOP::Package.3 \
metaclass.3
post-extract:
@${PERL} -i.bak -ne 'print unless m,Test::,' ${WRKSRC}/Build.PL
post-install:
@${MKDIR} ${EXAMPLESDIR}
@${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
@${ECHO_MSG} "===> Examples installed in ${EXAMPLESDIR}."
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500800
IGNORE= requires perl 5.8.0 or later. Install lang/perl5.8 and try again
.endif
.include <bsd.port.post.mk>
|