aboutsummaryrefslogtreecommitdiff
path: root/www/tt-rss
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2012-11-04 17:33:43 +0000
committerThierry Thomas <thierry@FreeBSD.org>2012-11-04 17:33:43 +0000
commit0b9265bf067cb5aa20a255b802a5b50af43bda10 (patch)
tree2c3e878b5ca24e7db70c9173a25437c3a50d01f0 /www/tt-rss
parentc916791a6a9e2ba3a810cf84f108c077fd1fc003 (diff)
downloadports-0b9265bf067cb5aa20a255b802a5b50af43bda10.tar.gz
ports-0b9265bf067cb5aa20a255b802a5b50af43bda10.zip
Fix the dæmon with an absolute path.
Feature safe: yes
Notes
Notes: svn path=/head/; revision=306978
Diffstat (limited to 'www/tt-rss')
-rw-r--r--www/tt-rss/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/www/tt-rss/Makefile b/www/tt-rss/Makefile
index 3b843aefdc2d..29a4457a09c6 100644
--- a/www/tt-rss/Makefile
+++ b/www/tt-rss/Makefile
@@ -4,6 +4,7 @@
PORTNAME= tt-rss
PORTVERSION= 1.6.0
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://tt-rss.org/download/
@@ -38,7 +39,7 @@ SUB_LIST= DB=${DB} WWWOWN=${WWWOWN}
PLIST_SUB= WWWOWN=${WWWOWN}:${WWWGRP}
PKGMESSAGE= ${WRKDIR}/pkg-message
-PHP2FIX= config.php-dist update.php
+PHP2FIX= config.php-dist update.php update_daemon2.php
SCRIPTS= update.php update_daemon2.php
@@ -54,6 +55,7 @@ pre-everything::
pre-configure:
.for script in ${PHP2FIX}
${REINPLACE_CMD} -e 's|/usr/bin/php|${LOCALBASE}/bin/php|' \
+ -e 's|/usr/bin/env php| ${LOCALBASE}/bin/php|' \
${WRKSRC}/${script}
.endfor
${REINPLACE_CMD} -e 's|/usr/bin/curl|${LOCALBASE}/bin/curl|' \