2004-07-26 21:59:24 +02:00
|
|
|
# New ports collection makefile for: p5-Module-Pluggable
|
|
|
|
# Date created: 2004-07-26
|
|
|
|
# Whom: Lars Thegler <lth@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= Module-Pluggable
|
2005-09-06 10:26:24 +02:00
|
|
|
PORTVERSION= 2.96
|
2004-07-26 21:59:24 +02:00
|
|
|
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
|
|
|
|
|
2005-06-11 18:13:12 +02:00
|
|
|
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/File/Spec.pm:${PORTSDIR}/devel/p5-PathTools
|
2004-07-26 21:59:24 +02:00
|
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
|
|
|
|
|
|
PERL_MODBUILD= yes
|
|
|
|
|
|
|
|
MAN3= Module::Pluggable.3
|
|
|
|
|
2005-02-22 15:54:08 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${PERL_LEVEL} <= 500503
|
|
|
|
post-patch:
|
2005-07-31 13:31:10 +02:00
|
|
|
@${PERL} -pi -e '$$_ = qq( local \$$^W;\n) if m|no warnings|' ${WRKSRC}/lib/Module/Pluggable.pm
|
2005-02-22 15:54:08 +01:00
|
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|