- Use magic MASTER_SITES
- Use BUILD_DEPENDS=${RUN_DEPENDS} to avoid extra dependencies
- Use versioned package dependencies
PR: ports/101091 [1]
Submitted by: chinsan <chinsan.tw@gmail.com>
33 lines
807 B
Makefile
33 lines
807 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.1
|
|
PORTREVISION= 2
|
|
CATEGORIES= devel perl5
|
|
MASTER_SITES= CPAN
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= lth@FreeBSD.org
|
|
COMMENT= Automatically give your module the ability to have plugins
|
|
|
|
RUN_DEPENDS= p5-Class-Inspector>0:${PORTSDIR}/devel/p5-Class-Inspector \
|
|
p5-PathTools>=3.0:${PORTSDIR}/devel/p5-PathTools
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
|
|
|
PERL_MODBUILD= yes
|
|
|
|
MAN3= Devel::InnerPackage.3 \
|
|
Module::Pluggable.3 \
|
|
Module::Pluggable::Object.3
|
|
|
|
.include <bsd.port.pre.mk>
|
|
.if ${PERL_LEVEL} < 500600
|
|
IGNORE= requires Perl 5.6 or later. Please install lang/perl5 or lang/perl5.8, and try again
|
|
.endif
|
|
.include <bsd.port.post.mk>
|