mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-11 02:50:24 +00:00
a2fe39950f
the condition. Submitted by: pointyhat via kris
59 lines
1.5 KiB
Makefile
59 lines
1.5 KiB
Makefile
# New ports collection makefile for: p5-Spoon
|
|
# Date created: Fri Jul 16 14:17:55 CST 2004
|
|
# Whom: Cheng-Lung Sung <clsung@dragon2.net>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= Spoon
|
|
PORTVERSION= 0.20
|
|
CATEGORIES= devel perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
|
MASTER_SITE_SUBDIR= ../../authors/id/I/IN/INGY/
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= perl@FreeBSD.org
|
|
COMMENT= A Spiffy Application Building Framework
|
|
|
|
BUILD_DEPENDS= ${SITE_PERL}/Spiffy.pm:${PORTSDIR}/devel/p5-Spiffy \
|
|
${SITE_PERL}/IO/All.pm:${PORTSDIR}/devel/p5-IO-All \
|
|
${SITE_PERL}/${PERL_ARCH}/Template.pm:${PORTSDIR}/www/p5-Template-Toolkit
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
|
|
PERL_CONFIGURE= yes
|
|
|
|
MAN3= Spoon.3 \
|
|
Spoon::Base.3 \
|
|
Spoon::CGI.3 \
|
|
Spoon::ContentObject.3 \
|
|
Spoon::Cookie.3 \
|
|
Spoon::DataObject.3 \
|
|
Spoon::Formatter.3 \
|
|
Spoon::Hook.3 \
|
|
Spoon::Hub.3 \
|
|
Spoon::Installer.3 \
|
|
Spoon::MetadataObject.3 \
|
|
Spoon::Plugin.3 \
|
|
Spoon::Registry.3 \
|
|
Spoon::Template.3 \
|
|
Spoon::Template::TT2.3 \
|
|
Spoon::Utils.3
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${PERL_LEVEL} < 500800
|
|
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes \
|
|
${SITE_PERL}/${PERL_ARCH}/Scalar/Util.pm:${PORTSDIR}/lang/p5-Scalar-List-Utils
|
|
post-patch:
|
|
@${PERL} -i -pe '$$_ = "" if $$. == 3' \
|
|
${WRKSRC}/lib/Spoon/Base.pm
|
|
|
|
.if ${PERL_LEVEL} < 500601
|
|
IGNORE= This port requires perl 5.6.1 or later. Install lang/perl5 then try again
|
|
.endif
|
|
.else
|
|
MAN3+= Spoon::Config.3
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|