Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Jun 2012 21:04:12 GMT
From:      svn-freebsd-gecko@chruetertee.ch
To:        freebsd-gecko@freebsd.org
Subject:   [SVN-Commit] r801 - branches/experimental/www/firefox-nightly
Message-ID:  <201206252104.q5PL4CUO011532@trillian.chruetertee.ch>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Mon Jun 25 21:04:12 2012
New Revision: 801

Log:
add a target to make trivial updates easier, e.g.

    $ make update && make makesum && make all deinstall install

Added:
   branches/experimental/www/firefox-nightly/Makefile.hgrev
Modified:
   branches/experimental/www/firefox-nightly/Makefile

Modified: branches/experimental/www/firefox-nightly/Makefile
==============================================================================
--- branches/experimental/www/firefox-nightly/Makefile	Mon Jun 25 14:51:02 2012	(r800)
+++ branches/experimental/www/firefox-nightly/Makefile	Mon Jun 25 21:04:12 2012	(r801)
@@ -59,8 +59,6 @@
 OPTIONS_DEFINE=	PGO
 PGO_DESC=	Enable Profile-Guided Optimization
 
-HGREV=		97387:93439ef24979
-
 .if ${USE_MOZILLA:M-nss}
 OBJDIR_BUILD=	yes
 .endif
@@ -174,4 +172,10 @@
 	${LN} -sf ${FIREFOX_ICON_SRC} ${PREFIX}/share/pixmaps/${FIREFOX_ICON}
 	@${CAT} ${PKGMESSAGE}
 
+update:
+	@${FETCH_CMD} -qo- http://hg.mozilla.org/mozilla-central/rev/tip \
+		| ${SED} -n '/title/ { s|.*changeset |HGREV=		|; \
+			s|</.*||; p; q; }' > Makefile.hgrev
+
+.include "Makefile.hgrev"
 .include <bsd.port.post.mk>

Added: branches/experimental/www/firefox-nightly/Makefile.hgrev
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ branches/experimental/www/firefox-nightly/Makefile.hgrev	Mon Jun 25 21:04:12 2012	(r801)
@@ -0,0 +1 @@
+HGREV=		97387:93439ef24979



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201206252104.q5PL4CUO011532>