summaryrefslogtreecommitdiff
path: root/www/mozilla-bin
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2003-06-11 17:17:19 +0000
committergrant <grant@pkgsrc.org>2003-06-11 17:17:19 +0000
commitb905e668e63839cc59a812a2f16ac3ac2b59a358 (patch)
tree65c600c8aa597aaedf7c272fa892fef64826fb52 /www/mozilla-bin
parent9a6fb8d9656ec89eec0a6e161c4f35598e06e901 (diff)
downloadpkgsrc-b905e668e63839cc59a812a2f16ac3ac2b59a358.tar.gz
add Solaris/sparc binary release to this package.
Diffstat (limited to 'www/mozilla-bin')
-rw-r--r--www/mozilla-bin/Makefile19
-rw-r--r--www/mozilla-bin/Makefile.SunOS.sparc9
-rw-r--r--www/mozilla-bin/distinfo4
3 files changed, 29 insertions, 3 deletions
diff --git a/www/mozilla-bin/Makefile b/www/mozilla-bin/Makefile
index 9c6d0a22aff..9e315074c47 100644
--- a/www/mozilla-bin/Makefile
+++ b/www/mozilla-bin/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2003/05/20 14:19:27 grant Exp $
+# $NetBSD: Makefile,v 1.5 2003/06/11 17:17:19 grant Exp $
#
DISTNAME= # see Makefile.${OPSYS}.${ARCH}
@@ -11,13 +11,15 @@ MAINTAINER= grant@netbsd.org
HOMEPAGE= http://www.mozilla.org/
COMMENT= Full featured gecko-based browser (binary pkg)
-ONLY_FOR_PLATFORM= Linux-*-i[3-6]86 NetBSD-*-i386
+ONLY_FOR_PLATFORM= Linux-*-i[3-6]86 NetBSD-*-i386 SunOS-5.[789]*-sparc
CONFLICTS+= mozilla-linux-[0-9]*
NO_CONFIGURE= # defined
USE_PKGINSTALL= YES
+.include "../../mk/bsd.prefs.mk"
+
FILES_SUBST+= PLATFORM=${PLATFORM}
PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
@@ -30,6 +32,9 @@ post-build:
do-install:
${INSTALL_DATA_DIR} ${MOZILLA_LIB}
cd ${WRKSRC} && ${PAX} -rw -pm . ${MOZILLA_LIB}
+ cd ${MOZILLA_LIB} && \
+ ${FIND} . -perm -u+x | ${XARGS} ${CHMOD} +x; \
+ ${FIND} . -perm -u+r | ${XARGS} ${CHMOD} +r
${INSTALL_SCRIPT} ${WRKDIR}/mozilla.sh ${PREFIX}/bin/mozilla-${PLATFORM}
post-install:
@@ -38,6 +43,16 @@ post-install:
@${FIND} ${MOZILLA_LIB} \( -type f -o -type l \) -print \
| ${SORT} | ${SED} -e "s,${PREFIX}/,,g" \
>> ${PLIST_SRC}
+# this build for Solaris wants exactly 'libgtk-1.2.so.0'
+.if ${OPSYS} == "SunOS"
+ @cd ${MOZILLA_LIB} && \
+ ${LN} -s ${LOCALBASE}/lib/libglib.so libglib-1.2.so.0; \
+ ${LN} -s ${X11BASE}/lib/libgdk.so libgdk-1.2.so.0; \
+ ${LN} -s ${X11BASE}/lib/libgtk.so libgtk-1.2.so.0
+. for _lib_ in glib gdk gtk
+ @${ECHO} lib/mozilla-${PLATFORM}/lib${_lib_}-1.2.so.0 >> ${PLIST_SRC}
+. endfor
+.endif
@${FIND} ${MOZILLA_LIB} -type d -print \
| ${SORT} -r | ${SED} -e "s,${PREFIX}/,@dirrm ,g" \
>> ${PLIST_SRC}
diff --git a/www/mozilla-bin/Makefile.SunOS.sparc b/www/mozilla-bin/Makefile.SunOS.sparc
new file mode 100644
index 00000000000..61c1c782765
--- /dev/null
+++ b/www/mozilla-bin/Makefile.SunOS.sparc
@@ -0,0 +1,9 @@
+# $NetBSD: Makefile.SunOS.sparc,v 1.1 2003/06/11 17:17:20 grant Exp $
+#
+
+DISTNAME= mozilla-sparc-sun-solaris2.7-1.3
+
+DEPENDS+= gtk+>=1.2:../../x11/gtk
+
+PLATFORM= ${LOWER_OPSYS}
+MOZILLA_LIB= ${PREFIX}/lib/mozilla-${PLATFORM}
diff --git a/www/mozilla-bin/distinfo b/www/mozilla-bin/distinfo
index b6d51e6b4b9..c223750a12f 100644
--- a/www/mozilla-bin/distinfo
+++ b/www/mozilla-bin/distinfo
@@ -1,4 +1,6 @@
-$NetBSD: distinfo,v 1.3 2003/04/14 22:50:51 grant Exp $
+$NetBSD: distinfo,v 1.4 2003/06/11 17:17:20 grant Exp $
SHA1 (mozilla-i686-pc-linux-gnu-1.3.tar.gz) = 03d7ffb028f89ad53a6ebc6056a8024df8bea5b8
Size (mozilla-i686-pc-linux-gnu-1.3.tar.gz) = 13691482 bytes
+SHA1 (mozilla-sparc-sun-solaris2.7-1.3.tar.gz) = 4bd8bf8744e28a45c2210cb9e6b54459a86b0340
+Size (mozilla-sparc-sun-solaris2.7-1.3.tar.gz) = 18108191 bytes