freebsd-ports/devel/p5-Module-Pluggable/Makefile
2009-03-31 10:43:19 +00:00

32 lines
683 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= 3.9
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
.include <bsd.port.post.mk>