# New ports collection makefile for: p5-Module-Pluggable # Date created: 2004-07-26 # Whom: Lars Thegler # # $FreeBSD$ # PORTNAME= Module-Pluggable PORTVERSION= 2.97 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}/${PERL_ARCH}/File/Spec.pm:${PORTSDIR}/devel/p5-PathTools RUN_DEPENDS= ${BUILD_DEPENDS} PERL_MODBUILD= yes MAN3= Module::Pluggable.3 .include .if ${PERL_LEVEL} <= 500503 post-patch: @${PERL} -pi -e '$$_ = qq( local \$$^W;\n) if m|no warnings|' ${WRKSRC}/lib/Module/Pluggable.pm .endif .include