blob: bc5142227623715806349153ef3710a4a7274d6d (
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.7
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}/File/Spec/Functions.pm:${PORTSDIR}/devel/p5-File-Spec
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 /no warnings/' ${WRKSRC}/lib/Module/Pluggable.pm
.endif
.include <bsd.port.post.mk>
|