blob: a8ebb05c7170b8a9db9549ef61e64f3ed6bd7729 (
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
|
# New ports collection makefile for: p5-Module-Pluggable
# Date created: 2004-07-26
# Whom: Lars Thegler <lth@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= Module-Pluggable
PORTVERSION= 4.3
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= lth@FreeBSD.org
COMMENT= Automatically give your module the ability to have plugins
PERL_CONFIGURE= yes
MAN3= Devel::InnerPackage.3 \
Module::Pluggable.3 \
Module::Pluggable::Object.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500806
RUN_DEPENDS+= p5-PathTools>=3.0:${PORTSDIR}/devel/p5-PathTools
.endif
post-patch:
@${PERL} -pi -e '$$_="" if /INST_LIB/' ${WRKSRC}/Makefile.PL
regression-test: build
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} test
.include <bsd.port.post.mk>
|