aboutsummaryrefslogtreecommitdiff
path: root/www/rt40
diff options
context:
space:
mode:
authorSteven Kreuzer <skreuzer@FreeBSD.org>2009-04-27 13:48:11 +0000
committerSteven Kreuzer <skreuzer@FreeBSD.org>2009-04-27 13:48:11 +0000
commit89ea8859c18fe536a7b100c2d6d737b5fe84209a (patch)
tree2ed3669318512b9f436ac9f99f80df2b65ef147d /www/rt40
parent7ab2b4fac3c80c8277a1e43aebd7eeac217f310a (diff)
downloadports-89ea8859c18fe536a7b100c2d6d737b5fe84209a.tar.gz
ports-89ea8859c18fe536a7b100c2d6d737b5fe84209a.zip
add ${LOCALBASE}/bin to embedded paths
PR: ports/133400 Submitted by: Matthew Seaman <m.seaman@infracaninophile.co.uk> Approved by: wxs (mentor)
Notes
Notes: svn path=/head/; revision=232841
Diffstat (limited to 'www/rt40')
-rw-r--r--www/rt40/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/www/rt40/Makefile b/www/rt40/Makefile
index 704b0b632b4c..bbff052f9da7 100644
--- a/www/rt40/Makefile
+++ b/www/rt40/Makefile
@@ -13,6 +13,7 @@
PORTNAME= rt
PORTVERSION= 3.8.2
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://download.bestpractical.com/pub/rt/release/ \
ftp://ftp.eu.uu.net/pub/unix/ticketing/rt/release/
@@ -200,6 +201,9 @@ post-patch:
@${REINPLACE_CMD} -e 's!%%PREFIX%%!${PREFIX}!g' ${WRKSRC}/config.layout
@${REINPLACE_CMD} -e 's!%%SITE_PERL%%!${SITE_PERL}!g' ${WRKSRC}/config.layout
@${REINPLACE_CMD} -e 's!/path/to/your/etc!${RT_ETC_PATH}!g' ${WRKSRC}/etc/RT_SiteConfig.pm
+ @${REINPLACE_CMD} -e 's!/bin:/usr/bin!/bin:/usr/bin:${LOCALBASE}/bin!' ${WRKSRC}/bin/webmux.pl.in
+ @${REINPLACE_CMD} -e 's!/bin:/usr/bin!/bin:/usr/bin:${LOCALBASE}/bin!' ${WRKSRC}/lib/RT/Interface/CLI.pm && \
+ ${RM} ${WRKSRC}/lib/RT/Interface/CLI.pm.bak
pre-install:
@${RM} -f ${WRKSRC}/lib/RT.pm.in