svn commit: r421385 - head/www/tt-rss
Thierry Thomas
thierry at FreeBSD.org
Mon Sep 5 19:12:17 UTC 2016
Author: thierry
Date: Mon Sep 5 19:12:16 2016
New Revision: 421385
URL: https://svnweb.freebsd.org/changeset/ports/421385
Log:
Add commit id to version.
Submitted by: Derek Schrock <dereks (at) lifeofadishwasher.com>
Modified:
head/www/tt-rss/Makefile
Modified: head/www/tt-rss/Makefile
==============================================================================
--- head/www/tt-rss/Makefile Mon Sep 5 18:20:23 2016 (r421384)
+++ head/www/tt-rss/Makefile Mon Sep 5 19:12:16 2016 (r421385)
@@ -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}#/
@@ -65,6 +66,7 @@ PHP2FIX= config.php-dist update.php upda
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|' \
More information about the svn-ports-head
mailing list