summaryrefslogtreecommitdiff
path: root/www/mozilla/files
diff options
context:
space:
mode:
authordanw <danw>2004-08-31 02:37:57 +0000
committerdanw <danw>2004-08-31 02:37:57 +0000
commite4faa5469be0b8e4e7d905608def9dc3565d8b05 (patch)
tree9cdfcfec39221cb0929a2ef4424be7cb4ac4c1a7 /www/mozilla/files
parent87d28f75e26ce125dc80076269a1834aef7e8bb7 (diff)
downloadpkgsrc-e4faa5469be0b8e4e7d905608def9dc3565d8b05.tar.gz
darwin fixes (tested against firefox-gtk2)
Diffstat (limited to 'www/mozilla/files')
-rwxr-xr-xwww/mozilla/files/moz-install4
-rw-r--r--www/mozilla/files/mozilla-Mach-O.in4
2 files changed, 6 insertions, 2 deletions
diff --git a/www/mozilla/files/moz-install b/www/mozilla/files/moz-install
index 6f331d617d0..8138e8eaaaf 100755
--- a/www/mozilla/files/moz-install
+++ b/www/mozilla/files/moz-install
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: moz-install,v 1.10 2004/06/02 14:32:22 taya Exp $
+# $NetBSD: moz-install,v 1.11 2004/08/31 02:37:57 danw Exp $
${SED} -e "s,@PREFIX@,${PREFIX},g" -e "s,@MOZILLA@,${MOZILLA}," -e "s,@MOZILLA_BIN@,${MOZILLA_BIN}," ${FILESDIR}/mozilla-${OBJECT_FMT}.in > ${PREFIX}/bin/${MOZILLA}
${CHOWN} ${BINOWN} ${PREFIX}/bin/${MOZILLA}
@@ -35,7 +35,7 @@ done
# install DSO
for i in `${SED} -n -e '/^@comment begin DSO$/,/^@comment end DSO$/p' ${TMP_PLIST} | ${EGREP} -v ^@comment` ; do
src=`echo $i | ${SED} -e "s@lib/${MOZILLA}@dist/bin@"`;
- ${BSD_INSTALL_PROGRAM} ${WRKSRC}/${src} ${PREFIX}/$i
+ ${MOZ_INSTALL_LIB} ${WRKSRC}/${src} ${PREFIX}/$i
done
# install PKGCONFIG
diff --git a/www/mozilla/files/mozilla-Mach-O.in b/www/mozilla/files/mozilla-Mach-O.in
new file mode 100644
index 00000000000..99470536423
--- /dev/null
+++ b/www/mozilla/files/mozilla-Mach-O.in
@@ -0,0 +1,4 @@
+#!/bin/sh
+MOZILLA_FIVE_HOME=@PREFIX@/lib/@MOZILLA@
+export MOZILLA_FIVE_HOME
+exec @PREFIX@/lib/@MOZILLA@/@MOZILLA_BIN@ "$@"