diff options
author | grant <grant> | 2003-09-27 14:13:07 +0000 |
---|---|---|
committer | grant <grant> | 2003-09-27 14:13:07 +0000 |
commit | a46a109bb3fd110f3db91fe1aae4972d1acf6111 (patch) | |
tree | 4c5da52dc18b70a55de37b78a93ac67ae8455a64 /www/MozillaFirebird-bin | |
parent | 8dcbf9de7e8fa328e5e5c0ab181c5a669b371f9e (diff) | |
download | pkgsrc-a46a109bb3fd110f3db91fe1aae4972d1acf6111.tar.gz |
rename phoenix-bin-* to MozillaFirebird-bin-*.
Diffstat (limited to 'www/MozillaFirebird-bin')
-rw-r--r-- | www/MozillaFirebird-bin/DESCR | 9 | ||||
-rw-r--r-- | www/MozillaFirebird-bin/MESSAGE.NetBSD | 10 | ||||
-rw-r--r-- | www/MozillaFirebird-bin/Makefile | 72 | ||||
-rw-r--r-- | www/MozillaFirebird-bin/Makefile.Linux.i386 | 8 | ||||
-rw-r--r-- | www/MozillaFirebird-bin/Makefile.NetBSD.i386 | 12 | ||||
-rw-r--r-- | www/MozillaFirebird-bin/Makefile.SunOS.sparc | 10 | ||||
-rw-r--r-- | www/MozillaFirebird-bin/PLIST | 2 | ||||
-rw-r--r-- | www/MozillaFirebird-bin/distinfo | 6 | ||||
-rw-r--r-- | www/MozillaFirebird-bin/files/MozillaFirebird.sh | 7 |
9 files changed, 136 insertions, 0 deletions
diff --git a/www/MozillaFirebird-bin/DESCR b/www/MozillaFirebird-bin/DESCR new file mode 100644 index 00000000000..9481d824adb --- /dev/null +++ b/www/MozillaFirebird-bin/DESCR @@ -0,0 +1,9 @@ +Mozilla Firebird is a free, open-source and cross-platform web browser +for Windows, Linux, MacOS X and many other operating systems. It is +small, fast and easy to use, and offers many advantages over other web +browsers, such as tabbed browsing and the ability to block pop-up +windows. + +Firebird also offers excellent bookmark and history management, and it +can be extended by developers using industry standards such as XML, +CSS, JavaScript, C++, etc. Many extensions are available. diff --git a/www/MozillaFirebird-bin/MESSAGE.NetBSD b/www/MozillaFirebird-bin/MESSAGE.NetBSD new file mode 100644 index 00000000000..dfa45cca4c6 --- /dev/null +++ b/www/MozillaFirebird-bin/MESSAGE.NetBSD @@ -0,0 +1,10 @@ +=========================================================================== +$NetBSD: MESSAGE.NetBSD,v 1.1 2003/09/27 14:13:08 grant Exp $ + + Mozilla Firebird 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/MozillaFirebird-bin/Makefile b/www/MozillaFirebird-bin/Makefile new file mode 100644 index 00000000000..25563e7a3cb --- /dev/null +++ b/www/MozillaFirebird-bin/Makefile @@ -0,0 +1,72 @@ +# $NetBSD: Makefile,v 1.1 2003/09/27 14:13:08 grant Exp $ +# + +DISTNAME= # see Makefile.${OPSYS}.${ARCH} +PKGNAME= MozillaFirebird-bin-0.6.1 +WRKSRC= ${WRKDIR}/MozillaFirebird +CATEGORIES= www + +MAINTAINER= grant@NetBSD.org +HOMEPAGE= http://www.mozilla.org/projects/firebird/ +COMMENT= Lightweight gecko-based web browser (binary pkg) + +ONLY_FOR_PLATFORM= Linux-*-i[3-6]86 NetBSD-*-i386 SunOS-5.[789]*-sparc + +# this package was formerly named "phoenix-linux", and +# "phoenix-bin". +CONFLICTS+= phoenix-linux-[0-9]* +CONFLICTS+= phoenix-bin-[0-9]* + +NO_CONFIGURE= YES +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}/MozillaFirebird.sh > \ + ${WRKDIR}/MozillaFirebird.sh + +do-install: + ${INSTALL_DATA_DIR} ${MOZILLA_LIB} + cd ${WRKSRC} && ${PAX} -rw -pm . ${MOZILLA_LIB} + ${INSTALL_SCRIPT} ${WRKDIR}/MozillaFirebird.sh \ + ${PREFIX}/bin/MozillaFirebird-${PLATFORM} + @${RM} -f ${MOZILLA_LIB}/plugins/libnullplugin.so + +post-install: +# this build for Solaris wants exactly 'libgtk-1.2.so.0', etc. +.if ${OPSYS} == "SunOS" + @cd ${MOZILLA_LIB} && \ + ${LN} -s ${LOCALBASE}/lib/libglib.*so* .; \ + ${LN} -s ${LOCALBASE}/lib/libgmodule.*so* .; \ + ${LN} -s ${X11BASE}/lib/libgdk.*so* .; \ + ${LN} -s ${X11BASE}/lib/libgtk.*so* .; \ + ${LN} -s libgtk.so libgtk-1.2.so.0; \ + ${LN} -s libgdk.so libgdk-1.2.so.0; \ + ${LN} -s libglib.so libglib-1.2.so.0 +.endif + @${CP} -f ${PKGDIR}/PLIST ${PLIST_SRC} + @${ECHO} bin/MozillaFirebird-${PLATFORM} >> ${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/MozillaFirebird-bin/Makefile.Linux.i386 b/www/MozillaFirebird-bin/Makefile.Linux.i386 new file mode 100644 index 00000000000..55d8d040ed0 --- /dev/null +++ b/www/MozillaFirebird-bin/Makefile.Linux.i386 @@ -0,0 +1,8 @@ +# $NetBSD: Makefile.Linux.i386,v 1.1 2003/09/27 14:13:08 grant Exp $ +# + +DISTNAME= MozillaFirebird-0.6.1-i686-pc-linux-gnu +MASTER_SITES= http://ftp.mozilla.org/pub/firebird/releases/0.6.1/ + +PLATFORM= linux +MOZILLA_LIB= ${PREFIX}/lib/MozillaFirebird-${PLATFORM} diff --git a/www/MozillaFirebird-bin/Makefile.NetBSD.i386 b/www/MozillaFirebird-bin/Makefile.NetBSD.i386 new file mode 100644 index 00000000000..be7f924ee77 --- /dev/null +++ b/www/MozillaFirebird-bin/Makefile.NetBSD.i386 @@ -0,0 +1,12 @@ +# $NetBSD: Makefile.NetBSD.i386,v 1.1 2003/09/27 14:13:08 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 + +CONFLICTS+= suse_libc5-[0-9]* + +.include "Makefile.Linux.i386" + +.include "../../emulators/suse_linux/Makefile.application" diff --git a/www/MozillaFirebird-bin/Makefile.SunOS.sparc b/www/MozillaFirebird-bin/Makefile.SunOS.sparc new file mode 100644 index 00000000000..a777db3f6eb --- /dev/null +++ b/www/MozillaFirebird-bin/Makefile.SunOS.sparc @@ -0,0 +1,10 @@ +# $NetBSD: Makefile.SunOS.sparc,v 1.1 2003/09/27 14:13:08 grant Exp $ +# + +DISTNAME= MozillaFirebird-0.6.1-sparc-sun-solaris2.7 +MASTER_SITES= http://ftp.mozilla.org/pub/firebird/releases/0.6.1/contrib/ + +DEPENDS+= gtk+>=1.2:../../x11/gtk + +PLATFORM= ${LOWER_OPSYS} +MOZILLA_LIB= ${PREFIX}/lib/MozillaFirebird-${PLATFORM} diff --git a/www/MozillaFirebird-bin/PLIST b/www/MozillaFirebird-bin/PLIST new file mode 100644 index 00000000000..e1a588685c7 --- /dev/null +++ b/www/MozillaFirebird-bin/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1 2003/09/27 14:13:08 grant Exp $ +@comment this PLIST intentionally left blank diff --git a/www/MozillaFirebird-bin/distinfo b/www/MozillaFirebird-bin/distinfo new file mode 100644 index 00000000000..41dabfea18a --- /dev/null +++ b/www/MozillaFirebird-bin/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2003/09/27 14:13:08 grant Exp $ + +SHA1 (MozillaFirebird-0.6.1-i686-pc-linux-gnu.tar.gz) = 9977d940f2de38a94e09c4c4a094dd64e3fee904 +Size (MozillaFirebird-0.6.1-i686-pc-linux-gnu.tar.gz) = 9686069 bytes +SHA1 (MozillaFirebird-0.6.1-sparc-sun-solaris2.7.tar.gz) = d7b03b57eacad4e77eb77ef7a7f146921b888438 +Size (MozillaFirebird-0.6.1-sparc-sun-solaris2.7.tar.gz) = 12969968 bytes diff --git a/www/MozillaFirebird-bin/files/MozillaFirebird.sh b/www/MozillaFirebird-bin/files/MozillaFirebird.sh new file mode 100644 index 00000000000..28fc5d1b27f --- /dev/null +++ b/www/MozillaFirebird-bin/files/MozillaFirebird.sh @@ -0,0 +1,7 @@ +#!@SH@ +# $NetBSD: MozillaFirebird.sh,v 1.1 2003/09/27 14:13:08 grant Exp $ + +LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:@PREFIX@/lib/MozillaFirebird-@PLATFORM@:@PREFIX@/lib" +export LD_LIBRARY_PATH + +exec @PREFIX@/lib/MozillaFirebird-@PLATFORM@/MozillaFirebird "$@" |