diff options
author | grant <grant> | 2003-05-20 14:25:14 +0000 |
---|---|---|
committer | grant <grant> | 2003-05-20 14:25:14 +0000 |
commit | a3ad92ea7fae3d4c7166a4d23b70244dc143d21c (patch) | |
tree | 3c701a0ad6f2390bed04349d9ae4a3f3ab4591db /www/mozilla-bin-nightly | |
parent | ea25502f2e32c3206cf3ec8ca6af80c4c03ea547 (diff) | |
download | pkgsrc-a3ad92ea7fae3d4c7166a4d23b70244dc143d21c.tar.gz |
Initial import of mozilla-bin-nightly into The NetBSD Packages Collection.
Mozilla is an open-source web browser, designed for standards
compliance, performance and portability.
It provides users with acclaimed browsing convenience along with
power features such as pop-up blocking and tabbed browsing. Mozilla
also provides a sophisticated platform for developing web applications
using technologies such as XML, SOAP and XSLT.
This is a binary package for NetBSD and Linux, for tracking nightly
builds of Mozilla.
Diffstat (limited to 'www/mozilla-bin-nightly')
-rw-r--r-- | www/mozilla-bin-nightly/DESCR | 7 | ||||
-rw-r--r-- | www/mozilla-bin-nightly/MESSAGE.NetBSD | 10 | ||||
-rw-r--r-- | www/mozilla-bin-nightly/Makefile | 61 | ||||
-rw-r--r-- | www/mozilla-bin-nightly/Makefile.Linux.i386 | 7 | ||||
-rw-r--r-- | www/mozilla-bin-nightly/Makefile.NetBSD.i386 | 10 | ||||
-rw-r--r-- | www/mozilla-bin-nightly/PLIST | 2 | ||||
-rw-r--r-- | www/mozilla-bin-nightly/files/mozilla.sh | 3 |
7 files changed, 100 insertions, 0 deletions
diff --git a/www/mozilla-bin-nightly/DESCR b/www/mozilla-bin-nightly/DESCR new file mode 100644 index 00000000000..b615d8284a1 --- /dev/null +++ b/www/mozilla-bin-nightly/DESCR @@ -0,0 +1,7 @@ +Mozilla is an open-source web browser, designed for standards +compliance, performance and portability. + +It provides users with acclaimed browsing convenience along with +power features such as pop-up blocking and tabbed browsing. Mozilla +also provides a sophisticated platform for developing web applications +using technologies such as XML, SOAP and XSLT. diff --git a/www/mozilla-bin-nightly/MESSAGE.NetBSD b/www/mozilla-bin-nightly/MESSAGE.NetBSD new file mode 100644 index 00000000000..4db2c15c19d --- /dev/null +++ b/www/mozilla-bin-nightly/MESSAGE.NetBSD @@ -0,0 +1,10 @@ +=========================================================================== +$NetBSD: MESSAGE.NetBSD,v 1.1.1.1 2003/05/20 14:25:14 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-nightly/Makefile b/www/mozilla-bin-nightly/Makefile new file mode 100644 index 00000000000..1ab26710690 --- /dev/null +++ b/www/mozilla-bin-nightly/Makefile @@ -0,0 +1,61 @@ +# $NetBSD: Makefile,v 1.1.1.1 2003/05/20 14:25:14 grant Exp $ +# + +DISTNAME= # see Makefile.${OPSYS}.${ARCH} +PKGNAME= mozilla-bin-${PKGVER} +WRKSRC= ${WRKDIR}/mozilla +CATEGORIES= www +MASTER_SITES= http://ftp.mozilla.org/pub/mozilla/nightly/latest/ + +MAINTAINER= grant@NetBSD.org +HOMEPAGE= http://www.mozilla.org/ +COMMENT= Full featured gecko-based browser (nightly binary pkg) + +ONLY_FOR_PLATFORM= Linux-*-i[3-6]86 NetBSD-*-i386 + +PKGVER!= date +%Y%m%d +DIST_SUBDIR= ${PKGNAME} +NO_CHECKSUM= # defined +NO_CONFIGURE= # defined +USE_PKGINSTALL= YES + +.include "../../mk/bsd.prefs.mk" + +FILES_SUBST+= PLATFORM=${PLATFORM} +PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC + +do-build: + +post-build: + @${SED} ${FILES_SUBST_SED} ${FILESDIR}/mozilla.sh > ${WRKDIR}/mozilla.sh + +do-install: + ${INSTALL_DATA_DIR} ${PHOENIX_LIB} + cd ${WRKSRC} && ${PAX} -rw -pm . ${PHOENIX_LIB} + ${INSTALL_SCRIPT} ${WRKDIR}/mozilla.sh ${PREFIX}/bin/mozilla-${PLATFORM} + @${FIND} ${PHOENIX_LIB} -type f -print \ + | ${XARGS} ${CHMOD} a+r + @${FIND} ${PHOENIX_LIB} \( -type f -o -perm +x \) -print \ + | ${XARGS} ${CHMOD} a+rx + @${FIND} ${PHOENIX_LIB} -type d -print \ + | ${XARGS} ${CHMOD} a+rx + +post-install: + @${CP} -f ${PKGDIR}/PLIST ${PLIST_SRC} + @${ECHO} bin/mozilla-${PLATFORM} >> ${PLIST_SRC} + @${FIND} ${PHOENIX_LIB} \( -type f -o -type l \) -print \ + | ${SORT} | ${SED} -e "s,${PREFIX}/,,g" \ + >> ${PLIST_SRC} + @${FIND} ${PHOENIX_LIB} -type d -print \ + | ${SORT} -r | ${SED} -e "s,${PREFIX}/,@dirrm ,g" \ + >> ${PLIST_SRC} + +# 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-nightly/Makefile.Linux.i386 b/www/mozilla-bin-nightly/Makefile.Linux.i386 new file mode 100644 index 00000000000..c371bddb5bd --- /dev/null +++ b/www/mozilla-bin-nightly/Makefile.Linux.i386 @@ -0,0 +1,7 @@ +# $NetBSD: Makefile.Linux.i386,v 1.1.1.1 2003/05/20 14:25:14 grant Exp $ +# + +DISTNAME= mozilla-i686-pc-linux-gnu + +PLATFORM= linux +PHOENIX_LIB= ${PREFIX}/lib/mozilla-${PLATFORM} diff --git a/www/mozilla-bin-nightly/Makefile.NetBSD.i386 b/www/mozilla-bin-nightly/Makefile.NetBSD.i386 new file mode 100644 index 00000000000..b0992a49d9e --- /dev/null +++ b/www/mozilla-bin-nightly/Makefile.NetBSD.i386 @@ -0,0 +1,10 @@ +# $NetBSD: Makefile.NetBSD.i386,v 1.1.1.1 2003/05/20 14:25:14 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 "Makefile.Linux.i386" + +.include "../../emulators/suse_linux/Makefile.application" diff --git a/www/mozilla-bin-nightly/PLIST b/www/mozilla-bin-nightly/PLIST new file mode 100644 index 00000000000..eff9649f400 --- /dev/null +++ b/www/mozilla-bin-nightly/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2003/05/20 14:25:14 grant Exp $ +@comment this PLIST intentionally left blank diff --git a/www/mozilla-bin-nightly/files/mozilla.sh b/www/mozilla-bin-nightly/files/mozilla.sh new file mode 100644 index 00000000000..d5aba625d45 --- /dev/null +++ b/www/mozilla-bin-nightly/files/mozilla.sh @@ -0,0 +1,3 @@ +#!@SH@ +# $NetBSD: mozilla.sh,v 1.1.1.1 2003/05/20 14:25:14 grant Exp $ +exec @PREFIX@/lib/mozilla-@PLATFORM@/mozilla "$@" |