mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-16 03:24:07 +00:00
d2b5782b4d
- ingy (the author) uploaded Makefile.PL
69 lines
1.7 KiB
Makefile
69 lines
1.7 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.23
|
|
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::Command.3 \
|
|
Spoon::ContentObject.3 \
|
|
Spoon::Cookie.3 \
|
|
Spoon::DataObject.3 \
|
|
Spoon::Formatter.3 \
|
|
Spoon::Hooks.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
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
PORTDOCS= Changes README
|
|
|
|
post-install:
|
|
@${MKDIR} ${DOCSDIR}
|
|
@${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
|
|
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
|
|
.endif
|
|
|
|
.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>
|