freebsd-ports/devel/p5-Module-Pluggable/Makefile
Lars Thegler cc04b26b8d update to 4.3
PR:		ports/171032
Submitted by:	swills
2012-08-26 19:37:32 +00:00

35 lines
760 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= 4.3
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
regression-test: build
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} test
.include <bsd.port.post.mk>