[52707] trunk/dports/www/firefox-x11-devel/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Sun Jun 21 15:35:28 PDT 2009


Revision: 52707
          http://trac.macports.org/changeset/52707
Author:   jeremyhu at macports.org
Date:     2009-06-21 15:35:27 -0700 (Sun, 21 Jun 2009)
Log Message:
-----------
firefox-x11-devel: Version bump 3.5rc2

Modified Paths:
--------------
    trunk/dports/www/firefox-x11-devel/Portfile

Modified: trunk/dports/www/firefox-x11-devel/Portfile
===================================================================
--- trunk/dports/www/firefox-x11-devel/Portfile	2009-06-21 21:56:03 UTC (rev 52706)
+++ trunk/dports/www/firefox-x11-devel/Portfile	2009-06-21 22:35:27 UTC (rev 52707)
@@ -4,8 +4,9 @@
 PortSystem      1.0
 
 name            firefox-x11-devel
+set component   firefox
 categories      www x11
-version         3.5rc1
+version         3.5rc2
 platforms       darwin
 maintainers     jeremyhu openmaintainer
 description     Mozilla.org's popular stand-alone web browser, Beta and Release Candidates
@@ -16,20 +17,20 @@
 
 universal_variant no
 
-homepage        http://www.mozilla.com/firefox/
-master_sites    http://mozilla.isc.org/pub/mozilla.org/firefox/releases/${version}/source/ \
-                http://www.mirrorservice.org/sites/releases.mozilla.org/pub/mozilla.org/firefox/releases/${version}/source/ \
-                http://mirror.internode.on.net/pub/mozilla/firefox/releases/${version}/source/ \
-                http://kyoto-mz-dl.sinet.ad.jp/pub/mozilla.org/firefox/releases/${version}/source/ \
-                http://mirror.yandex.ru/mozilla/firefox/releases/${version}/source/ \
-                http://mozilla.c3sl.ufpr.br/releases/firefox/releases/${version}/source/ \
-                http://releases.mozilla.org/pub/mozilla.org/firefox/releases/${version}/source/
-distname        firefox-${version}-source
+homepage        http://www.mozilla.com/${component}/
+master_sites    http://mozilla.isc.org/pub/mozilla.org/${component}/releases/${version}/source/ \
+                http://www.mirrorservice.org/sites/releases.mozilla.org/pub/mozilla.org/${component}/releases/${version}/source/ \
+                http://mirror.internode.on.net/pub/mozilla/${component}/releases/${version}/source/ \
+                http://kyoto-mz-dl.sinet.ad.jp/pub/mozilla.org/${component}/releases/${version}/source/ \
+                http://mirror.yandex.ru/mozilla/${component}/releases/${version}/source/ \
+                http://mozilla.c3sl.ufpr.br/releases/${component}/releases/${version}/source/ \
+                http://releases.mozilla.org/pub/mozilla.org/${component}/releases/${version}/source/
+distname        ${component}-${version}-source
 use_bzip2       yes
 
-checksums           md5     6e9b5fa844f5ddf80b1ae819b43b52ad \
-                    sha1    12ec8dacace216b3d95e9143cfae3ab92f70166e \
-                    rmd160  1ef85ad5cb25d49c1f741ead7912a0e4d118ff63
+checksums           md5     6e3e05464353d56870e51eda8c4fd61d \
+                    sha1    b9a4b4385b4e4309b4612dc812ad2593eba46132 \
+                    rmd160  6452de623a82e278dfa96b99107eda63d92ad5ad
 
 worksrcdir      mozilla-1.9.1
 
@@ -47,7 +48,7 @@
 if {[variant_isset internal_dependencies]} {
 	set pkg_name ${name}-standalone
 } else {
-	set pkg_name firefox-x11
+	set pkg_name ${component}-x11
 }
 
 configure.args \
@@ -64,6 +65,7 @@
 	--with-nspr-prefix=${prefix} \
 	--with-system-nss \
 	--with-nss-prefix=${prefix} \
+	--with-system-libxul \
 	--with-libxul-sdk=${prefix}/lib/xulrunner \
 	--with-system-bzip2=${prefix} \
 	--with-system-jpeg=${prefix} \
@@ -147,6 +149,7 @@
 	--with-nspr-prefix=${prefix} \
 	--with-system-nss \
 	--with-nss-prefix=${prefix} \
+	--with-system-libxul \
 	--with-libxul-sdk=${prefix}/lib/xulrunner
 
     configure.args-append \
@@ -264,12 +267,12 @@
     file mkdir ${destroot}${prefix}/share/applications
 
     copy \
-        ${filespath}/share-applications-firefox.desktop \
-        ${destroot}${prefix}/share/applications/firefox-devel.desktop
+        ${filespath}/share-applications-${component}.desktop \
+        ${destroot}${prefix}/share/applications/${name}.desktop
 
-    move ${destroot}${prefix}/bin/firefox ${destroot}${prefix}/bin/${pkg_name}
+    move ${destroot}${prefix}/bin/${component} ${destroot}${prefix}/bin/${pkg_name}
     if {![variant_isset internal_dependencies]} {
-	ln -s ${pkg_name} ${destroot}${prefix}/bin/firefox
+	ln -s ${pkg_name} ${destroot}${prefix}/bin/${component}
 
 	# Workaround to get root certs loaded, so https:// works
     	ln -s ${prefix}/lib/nss/libnssckbi.dylib ${destroot}${prefix}/lib/${pkg_name}/libnssckbi.dylib
@@ -280,5 +283,5 @@
 }
 
 livecheck.check regex
-livecheck.url   http://releases.mozilla.org/pub/mozilla.org/firefox/releases
+livecheck.url   http://releases.mozilla.org/pub/mozilla.org/${component}/releases
 livecheck.regex ">(\\d+(?:\\.\\d+)*).<"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090621/3d6bc508/attachment.html>


More information about the macports-changes mailing list