freebsd-ports/devel/p5-Module-Pluggable/Makefile
2005-03-20 18:29:14 +00:00

30 lines
756 B
Makefile

# 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.8
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>