mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
31 lines
756 B
Makefile
31 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>
|