summaryrefslogtreecommitdiff
path: root/www/mozilla-bin
diff options
context:
space:
mode:
authorgrant <grant>2003-04-14 20:28:20 +0000
committergrant <grant>2003-04-14 20:28:20 +0000
commit37a767e169d30eda430953eba99319dfeb012123 (patch)
tree4484f350f190b71033865381feacbf4cf5b8332f /www/mozilla-bin
parentb9c9eae01248f75ef909eacba9abf05ed1e2a95c (diff)
downloadpkgsrc-37a767e169d30eda430953eba99319dfeb012123.tar.gz
rename mozilla-linux to mozilla-bin.
Diffstat (limited to 'www/mozilla-bin')
-rw-r--r--www/mozilla-bin/DESCR3
-rw-r--r--www/mozilla-bin/MESSAGE.NetBSD10
-rw-r--r--www/mozilla-bin/Makefile54
-rw-r--r--www/mozilla-bin/Makefile.NetBSD.i3868
-rw-r--r--www/mozilla-bin/PLIST2
-rw-r--r--www/mozilla-bin/distinfo4
-rw-r--r--www/mozilla-bin/files/mozilla.sh3
7 files changed, 84 insertions, 0 deletions
diff --git a/www/mozilla-bin/DESCR b/www/mozilla-bin/DESCR
new file mode 100644
index 00000000000..7840e1e983f
--- /dev/null
+++ b/www/mozilla-bin/DESCR
@@ -0,0 +1,3 @@
+Mozilla is the freely available version of Netscape's browser. Because
+only freely distributable code is included, some features are not yet
+present.
diff --git a/www/mozilla-bin/MESSAGE.NetBSD b/www/mozilla-bin/MESSAGE.NetBSD
new file mode 100644
index 00000000000..f7382f472b9
--- /dev/null
+++ b/www/mozilla-bin/MESSAGE.NetBSD
@@ -0,0 +1,10 @@
+===========================================================================
+$NetBSD: MESSAGE.NetBSD,v 1.1 2003/04/14 20:28:22 grant Exp $
+
+ Mozilla requires your kernel to include 'COMPAT_LINUX' (plus in
+ NetBSD systems before 1.5 'EXEC_ELF32').
+
+ Please note that if you have INET6 enabled in your kernel, you
+ will need to set net.inet6.ip6.v6only = 0, using sysctl(8).
+
+===========================================================================
diff --git a/www/mozilla-bin/Makefile b/www/mozilla-bin/Makefile
new file mode 100644
index 00000000000..257e95c48ab
--- /dev/null
+++ b/www/mozilla-bin/Makefile
@@ -0,0 +1,54 @@
+# $NetBSD: Makefile,v 1.1 2003/04/14 20:28:22 grant Exp $
+#
+
+DISTNAME= mozilla-i686-pc-linux-gnu-1.3
+PKGNAME= mozilla-bin-1.3
+WRKSRC= ${WRKDIR}/mozilla
+CATEGORIES= www
+MASTER_SITES= ${MASTER_SITE_MOZILLA:=mozilla1.3/}
+
+MAINTAINER= grant@netbsd.org
+HOMEPAGE= http://www.mozilla.org/
+COMMENT= Open-source version of the Netscape browser (binary pkg)
+
+ONLY_FOR_PLATFORM= Linux-*-i[3-6]86 NetBSD-*-i386
+
+CONFLICTS+= mozilla-linux-[0-9]*
+
+NO_CONFIGURE= # defined
+
+PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
+
+MOZILLA_LIB= ${PREFIX}/lib/mozilla-linux
+
+do-build:
+
+post-build:
+ ${SED} -e "s|@PREFIX@|${PREFIX}|g" ${FILESDIR}/mozilla.sh > \
+ ${WRKDIR}/mozilla.sh
+
+do-install:
+ ${INSTALL_DATA_DIR} ${MOZILLA_LIB}
+ cd ${WRKSRC} && ${CP} -r . ${MOZILLA_LIB}
+ ${INSTALL_SCRIPT} ${WRKDIR}/mozilla.sh ${PREFIX}/bin/mozilla-linux
+
+post-install:
+ @${CP} -f ${PKGDIR}/PLIST ${PLIST_SRC}
+ @${FIND} ${MOZILLA_LIB} \( -type f -o -type l \) -print \
+ | ${SORT} | ${SED} -e "s,${PREFIX}/,,g" \
+ >> ${PLIST_SRC}
+ @${FIND} ${MOZILLA_LIB} -type d -print \
+ | ${SORT} -r | ${SED} -e "s,${PREFIX}/,@dirrm ,g" \
+ >> ${PLIST_SRC}
+
+.include "../../mk/bsd.prefs.mk"
+
+# everything specific to your OS/Arch goes into it's own Makefile
+# group together i386, i486, i586 and i686 (for Linux)
+ARCH=${MACHINE_ARCH:C/i[3-6]86/i386/g}
+
+.if exists(Makefile.${OPSYS}.${ARCH})
+. include "Makefile.${OPSYS}.${ARCH}"
+.endif
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/mozilla-bin/Makefile.NetBSD.i386 b/www/mozilla-bin/Makefile.NetBSD.i386
new file mode 100644
index 00000000000..5376effb67c
--- /dev/null
+++ b/www/mozilla-bin/Makefile.NetBSD.i386
@@ -0,0 +1,8 @@
+# $NetBSD: Makefile.NetBSD.i386,v 1.1 2003/04/14 20:28:22 grant Exp $
+#
+
+DEPENDS+= suse_compat>=7.3:../../emulators/${SUSE_DIR_PREFIX}_compat
+DEPENDS+= suse_x11>=7.3:../../emulators/${SUSE_DIR_PREFIX}_x11
+DEPENDS+= suse_gtk>=7.3:../../emulators/${SUSE_DIR_PREFIX}_gtk
+
+.include "../../emulators/suse_linux/Makefile.application"
diff --git a/www/mozilla-bin/PLIST b/www/mozilla-bin/PLIST
new file mode 100644
index 00000000000..6168c9a75bf
--- /dev/null
+++ b/www/mozilla-bin/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2003/04/14 20:28:22 grant Exp $
+bin/mozilla-linux
diff --git a/www/mozilla-bin/distinfo b/www/mozilla-bin/distinfo
new file mode 100644
index 00000000000..b52095e99ed
--- /dev/null
+++ b/www/mozilla-bin/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1 2003/04/14 20:28:22 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
diff --git a/www/mozilla-bin/files/mozilla.sh b/www/mozilla-bin/files/mozilla.sh
new file mode 100644
index 00000000000..16f3c629310
--- /dev/null
+++ b/www/mozilla-bin/files/mozilla.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+# $NetBSD: mozilla.sh,v 1.1 2003/04/14 20:28:22 grant Exp $
+exec @PREFIX@/lib/mozilla-linux/mozilla "$@"