aboutsummaryrefslogtreecommitdiffstats
path: root/www/tt-rss/Makefile
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2016-09-06 03:12:16 +0800
committerthierry <thierry@FreeBSD.org>2016-09-06 03:12:16 +0800
commit013063859eb8fe6a4f068b78899e4fb4f3fa834b (patch)
tree2906888c736ecda29c54e927ac337591b1f6c9b7 /www/tt-rss/Makefile
parentf2a2a97cb247a8470af92a8f811c968d360dc206 (diff)
downloadfreebsd-ports-gnome-013063859eb8fe6a4f068b78899e4fb4f3fa834b.tar.gz
freebsd-ports-gnome-013063859eb8fe6a4f068b78899e4fb4f3fa834b.tar.zst
freebsd-ports-gnome-013063859eb8fe6a4f068b78899e4fb4f3fa834b.zip
Add commit id to version.
Submitted by: Derek Schrock <dereks (at) lifeofadishwasher.com>
Diffstat (limited to 'www/tt-rss/Makefile')
-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|' \