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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-gecko
To unsubscribe, send any mail to "[email protected]"

Reply via email to