aboutsummaryrefslogtreecommitdiff
path: root/www/tt-rss
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2016-09-05 19:12:16 +0000
committerThierry Thomas <thierry@FreeBSD.org>2016-09-05 19:12:16 +0000
commit99417779b9ae2c5f1b081f54123dc56778e0f6a2 (patch)
tree2906888c736ecda29c54e927ac337591b1f6c9b7 /www/tt-rss
parentb951b19ea52e7870bfcbd9bc4310da2c349036f5 (diff)
downloadports-99417779b9ae2c5f1b081f54123dc56778e0f6a2.tar.gz
ports-99417779b9ae2c5f1b081f54123dc56778e0f6a2.zip
Add commit id to version.
Submitted by: Derek Schrock <dereks (at) lifeofadishwasher.com>
Notes
Notes: svn path=/head/; revision=421385
Diffstat (limited to 'www/tt-rss')
-rw-r--r--www/tt-rss/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/www/tt-rss/Makefile b/www/tt-rss/Makefile
index 155d45689838..404b03413123 100644
--- a/www/tt-rss/Makefile
+++ b/www/tt-rss/Makefile
@@ -3,6 +3,7 @@
PORTNAME= tt-rss
PORTVERSION= 16.8.2016.08.11
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= https://tt-rss.org/gitlab/fox/tt-rss/repository/archive${EXTRACT_SUFX}?ref=${GL_TAGNAME}&num;/
@@ -65,6 +66,7 @@ PHP2FIX= config.php-dist update.php update_daemon2.php
SCRIPTS= update.php update_daemon2.php
pre-configure:
+ ${REINPLACE_CMD} -E "1,/define.*VERSION_STATIC/s/([0-9]+\.[0-9]+)/\1 (${GL_TAGNAME})/" ${WRKSRC}/include/version.php
.for script in ${PHP2FIX}
${REINPLACE_CMD} -e 's|/usr/bin/php|${LOCALBASE}/bin/php|' \
-e 's|/usr/bin/env php| ${LOCALBASE}/bin/php|' \