1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00
freebsd-ports/www/p5-Gantry/Makefile
Kyle Evans c3e559fb46 www/p5-Gantry: correctly escape $
In make(1), "$$" is the escaped version of "$", rather than the expected
"\$". this expression was getting passed through to ${REINPLACE_CMD} as
"s,\NV{..." rathern than the expected "s,$ENV{..." -- bug #229925 makes \N
an illegal expression, as ordinary characters will be disallowed from being
escaped in preparation for future changes to grant some of these escape
sequences GNU-extended behavior.

PR:		240310
Approved by:	koobs (mentor), bapt (mentor)
Approved by:	portmgr (maintainer timeout: 4 months, blanket: bugfix)
MFH:		2020Q1 (blanket: bugfix)
Differential Revision:	https://reviews.freebsd.org/D23701
2020-02-21 04:01:02 +00:00

48 lines
1.4 KiB
Makefile

# Created by: Gea-Suan Lin <gslin@gslin.org>
# $FreeBSD$
PORTNAME= Gantry
PORTVERSION= 3.64
PORTREVISION= 1
CATEGORIES= www perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Web application framework for mod_perl, cgi, etc
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= p5-DBI>=0:databases/p5-DBI \
p5-Data-UUID>=0:devel/p5-Data-UUID \
p5-Date-Calc>=0:devel/p5-Date-Calc \
p5-CGI-Simple>=0:www/p5-CGI-Simple \
p5-Data-FormValidator>=0:textproc/p5-Data-FormValidator \
p5-File-Copy-Recursive>=0:devel/p5-File-Copy-Recursive \
p5-Hash-Merge>=0:textproc/p5-Hash-Merge \
p5-HTML-Prototype>=0:www/p5-HTML-Prototype \
p5-HTTP-Server-Simple>=0:www/p5-HTTP-Server-Simple \
p5-URI>=0:net/p5-URI \
p5-Crypt-CBC>=0:security/p5-Crypt-CBC \
p5-Sub-Install>0:devel/p5-Sub-Install \
p5-Mail-RFC822-Address>0:mail/p5-Mail-RFC822-Address \
p5-Config-General>0:devel/p5-Config-General \
p5-JSON>0:converters/p5-JSON \
p5-Template-Toolkit>=2.0:www/p5-Template-Toolkit \
p5-Template-Plugin-HTML-SuperForm>0:textproc/p5-Template-Plugin-HTML-SuperForm
TEST_DEPENDS= p5-Test-Exception>=0:devel/p5-Test-Exception
USES= perl5
USE_PERL5= modbuild
CONFIGURE_ARGS= </dev/null
PLIST_SUB+= WWWDIR=${WWWDIR}
NO_ARCH= yes
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>