mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
4a4ec28d37
Since FreeBSD 8.4 and FreeBSD 9.1 make(1) do support :tu and :tl as a replacement for :U and :L (which has been marked as deprecated) bmake which is the default on FreeBSD 10+ only support by default :tu/:tl a hack has been added at the time to support :U and :L to ease migration. This hack is now not necessary anymore Note that this makes the ports tree incompatible with make(1) from FreeBSD 8.3 or earlier With hat: portmgr
46 lines
1.6 KiB
Makefile
46 lines
1.6 KiB
Makefile
# Created by: Gea-Suan Lin <gslin@gslin.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= Gantry
|
|
PORTVERSION= 3.64
|
|
CATEGORIES= www perl5
|
|
MASTER_SITES= CPAN
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= perl@FreeBSD.org
|
|
COMMENT= Web application framework for mod_perl, cgi, etc
|
|
|
|
BUILD_DEPENDS= p5-DBI>=0:${PORTSDIR}/databases/p5-DBI \
|
|
p5-Data-UUID>=0:${PORTSDIR}/devel/p5-Data-UUID \
|
|
p5-Date-Calc>=0:${PORTSDIR}/devel/p5-Date-Calc \
|
|
p5-CGI-Simple>=0:${PORTSDIR}/www/p5-CGI-Simple \
|
|
p5-Data-FormValidator>=0:${PORTSDIR}/textproc/p5-Data-FormValidator \
|
|
p5-File-Copy-Recursive>=0:${PORTSDIR}/devel/p5-File-Copy-Recursive \
|
|
p5-Hash-Merge>=0:${PORTSDIR}/textproc/p5-Hash-Merge \
|
|
p5-HTML-Prototype>=0:${PORTSDIR}/www/p5-HTML-Prototype \
|
|
p5-HTTP-Server-Simple>=0:${PORTSDIR}/www/p5-HTTP-Server-Simple \
|
|
p5-URI>=0:${PORTSDIR}/net/p5-URI \
|
|
p5-Crypt-CBC>=0:${PORTSDIR}/security/p5-Crypt-CBC \
|
|
p5-Sub-Install>0:${PORTSDIR}/devel/p5-Sub-Install \
|
|
p5-Mail-RFC822-Address>0:${PORTSDIR}/mail/p5-Mail-RFC822-Address \
|
|
p5-Config-General>0:${PORTSDIR}/devel/p5-Config-General \
|
|
p5-JSON>0:${PORTSDIR}/converters/p5-JSON \
|
|
p5-Template-Toolkit>=2.0:${PORTSDIR}/www/p5-Template-Toolkit \
|
|
p5-Template-Plugin-HTML-SuperForm>0:${PORTSDIR}/textproc/p5-Template-Plugin-HTML-SuperForm
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
|
TEST_DEPENDS= p5-Test-Exception>=0:${PORTSDIR}/devel/p5-Test-Exception
|
|
|
|
USES= perl5
|
|
USE_PERL5= modbuild
|
|
CONFIGURE_ARGS= </dev/null
|
|
PLIST_SUB+= WWWDIR=${WWWDIR}
|
|
|
|
WWWDIR= ${PREFIX}/www/${PORTNAME:tl}
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's,/home/httpd/html/gantry,${WWWDIR},g' \
|
|
-e 's,\$ENV{'GANTRY_TEMPLATE_PATH'},${WWWDIR},g' \
|
|
${WRKSRC}/Build.PL
|
|
|
|
.include <bsd.port.mk>
|