blob: 2e44314b524fa119af1d135b652a50340d19afe1 (
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
|
# New ports collection makefile for: p5-Module-Pluggable
# Date created: 2004-07-26
# Whom: Lars Thegler <lth@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= Module-Pluggable
PORTVERSION= 2.96
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Module
PKGNAMEPREFIX= p5-
MAINTAINER= lth@FreeBSD.org
COMMENT= Automatically give your module the ability to have plugins
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/File/Spec.pm:${PORTSDIR}/devel/p5-PathTools
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_MODBUILD= yes
MAN3= Module::Pluggable.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} <= 500503
post-patch:
@${PERL} -pi -e '$$_ = qq( local \$$^W;\n) if m|no warnings|' ${WRKSRC}/lib/Module/Pluggable.pm
.endif
.include <bsd.port.post.mk>
|