[54338] trunk/dports/devel/xulrunner-devel/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Fri Jul 24 23:31:44 PDT 2009
Revision: 54338
http://trac.macports.org/changeset/54338
Author: jeremyhu at macports.org
Date: 2009-07-24 23:31:42 -0700 (Fri, 24 Jul 2009)
Log Message:
-----------
xulrunner-devel: Use the actual xulrunner tarball now that it's released instead of firefox
Modified Paths:
--------------
trunk/dports/devel/xulrunner-devel/Portfile
Modified: trunk/dports/devel/xulrunner-devel/Portfile
===================================================================
--- trunk/dports/devel/xulrunner-devel/Portfile 2009-07-25 04:53:02 UTC (rev 54337)
+++ trunk/dports/devel/xulrunner-devel/Portfile 2009-07-25 06:31:42 UTC (rev 54338)
@@ -4,11 +4,11 @@
PortSystem 1.0
name xulrunner-devel
-set pkg_name xulrunner
+set component xulrunner
categories devel
version 1.9.1
-set ff_version 3.5
-revision 0
+#set ff_version 3.5
+revision 1
platforms darwin
maintainers jeremyhu openmaintainer
description Mozilla runtime package that can be used to bootstrap XUL+XPCOM applications
@@ -18,17 +18,12 @@
universal_variant no
homepage http://developer.mozilla.org/en/docs/XULRunner
-#master_sites http://mozilla.isc.org/pub/mozilla.org/xulrunner/releases/${version}/source
+master_sites http://mozilla.isc.org/pub/mozilla.org/${component}/releases/${version}/source
+distname ${component}-${version}-source
-master_sites http://mozilla.isc.org/pub/mozilla.org/firefox/releases/${ff_version}/source/ \
- http://www.mirrorservice.org/sites/releases.mozilla.org/pub/mozilla.org/firefox/releases/${ff_version}/source/ \
- http://mirror.internode.on.net/pub/mozilla/firefox/releases/${ff_version}/source/ \
- http://kyoto-mz-dl.sinet.ad.jp/pub/mozilla.org/firefox/releases/${ff_version}/source/ \
- http://mirror.yandex.ru/mozilla/firefox/releases/${ff_version}/source/ \
- http://mozilla.c3sl.ufpr.br/releases/firefox/releases/${ff_version}/source/ \
- http://releases.mozilla.org/pub/mozilla.org/firefox/releases/${ff_version}/source/
-#distname ${name}-${version}-source
-distname firefox-${ff_version}-source
+#master_sites http://mozilla.isc.org/pub/mozilla.org/firefox/releases/${ff_version}/source
+#distname firefox-${ff_version}-source
+
use_bzip2 yes
checksums md5 6dd59399db08963ef022a1d0e5010053 \
@@ -75,7 +70,7 @@
--enable-system-lcms \
--enable-system-cairo \
--enable-system-sqlite \
- --with-default-mozilla-five-home=${prefix}/lib/${pkg_name} \
+ --with-default-mozilla-five-home=${prefix}/lib/${component} \
--enable-oji \
--enable-plugins \
--enable-mathml \
@@ -176,12 +171,12 @@
}
# Set the right install_name on the libs
- reinplace "s:@executable_path:${prefix}/lib/${pkg_name}:g" ${worksrcpath}/config/rules.mk
- reinplace "s:@executable_path:${prefix}/lib/${pkg_name}:g" ${worksrcpath}/config/config.mk
- reinplace "s:@executable_path:${prefix}/lib/${pkg_name}:g" ${worksrcpath}/nsprpub/configure.in
- reinplace "s:@executable_path:${prefix}/lib/${pkg_name}:g" ${worksrcpath}/nsprpub/configure
- reinplace "s:@executable_path:${prefix}/lib/${pkg_name}:g" ${worksrcpath}/security/coreconf/Darwin.mk
- reinplace "s:@executable_path:${prefix}/lib/${pkg_name}:g" ${worksrcpath}/security/nss/lib/freebl/config.mk
+ reinplace "s:@executable_path:${prefix}/lib/${component}:g" ${worksrcpath}/config/rules.mk
+ reinplace "s:@executable_path:${prefix}/lib/${component}:g" ${worksrcpath}/config/config.mk
+ reinplace "s:@executable_path:${prefix}/lib/${component}:g" ${worksrcpath}/nsprpub/configure.in
+ reinplace "s:@executable_path:${prefix}/lib/${component}:g" ${worksrcpath}/nsprpub/configure
+ reinplace "s:@executable_path:${prefix}/lib/${component}:g" ${worksrcpath}/security/coreconf/Darwin.mk
+ reinplace "s:@executable_path:${prefix}/lib/${component}:g" ${worksrcpath}/security/nss/lib/freebl/config.mk
# Fix the correct library filenames for loading at runtime
reinplace "s:libatk-1.0.so.0:${prefix}/lib/libatk-1.0.dylib:" ${worksrcpath}/accessible/src/atk/nsAppRootAccessible.cpp
@@ -217,24 +212,24 @@
configure.env \
MOZCONFIG="${worksrcpath}/xulrunner/config/mozconfig" \
- MOZILLA_FIVE_HOME="${prefix}/lib/${pkg_name}"
+ MOZILLA_FIVE_HOME="${prefix}/lib/${component}"
build.args-append \
- includedir="${prefix}/include/${pkg_name}" \
- idldir="${prefix}/share/idl/${pkg_name}" \
- installdir="${prefix}/lib/${pkg_name}" \
- sdkdir="${prefix}/lib/${pkg_name}"
+ includedir="${prefix}/include/${component}" \
+ idldir="${prefix}/share/idl/${component}" \
+ installdir="${prefix}/lib/${component}" \
+ sdkdir="${prefix}/lib/${component}"
destroot.args-append \
- includedir="${prefix}/include/${pkg_name}" \
- idldir="${prefix}/share/idl/${pkg_name}" \
- installdir="${prefix}/lib/${pkg_name}" \
- sdkdir="${prefix}/lib/${pkg_name}"
+ includedir="${prefix}/include/${component}" \
+ idldir="${prefix}/share/idl/${component}" \
+ installdir="${prefix}/lib/${component}" \
+ sdkdir="${prefix}/lib/${component}"
post-destroot {
## Workaround to get root certs loaded, so https:// works
- #ln -s ${prefix}/lib/nss/libnssckbi.dylib ${destroot}${prefix}/lib/${pkg_name}/libnssckbi.dylib
+ #ln -s ${prefix}/lib/nss/libnssckbi.dylib ${destroot}${prefix}/lib/${component}/libnssckbi.dylib
# https://bugzilla.mozilla.org/show_bug.cgi?id=486064
- system "cat ${worksrcpath}/dist/include/gfx/gfxtypes.h ${worksrcpath}/dist/include/thebes/gfxTypes.h > ${destroot}${prefix}/include/${pkg_name}/unstable/gfxtypes.h"
+ system "cat ${worksrcpath}/dist/include/gfx/gfxtypes.h ${worksrcpath}/dist/include/thebes/gfxTypes.h > ${destroot}${prefix}/include/${component}/unstable/gfxtypes.h"
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090724/1a4b2104/attachment.html>
More information about the macports-changes
mailing list