diff options
author | grant <grant@pkgsrc.org> | 2003-12-30 22:48:31 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2003-12-30 22:48:31 +0000 |
commit | 26891a098df773426a6890d6112c8a05a0037714 (patch) | |
tree | 46a32e57c98630d7107b99346769c4f62580dfae /www | |
parent | ae63a11d1a97cbc1d05fa28acc32f0dbab659678 (diff) | |
download | pkgsrc-26891a098df773426a6890d6112c8a05a0037714.tar.gz |
move MozillaFirebird-bin-xft2 from pkgsrc-wip to pkgsrc as
MozillaFirebird-gtk2-bin.
note that this is ONLY_FOR_PLATFORM Linux/i386 until we have
glibc-2.3.2 and gtk2 (and dependencies) for Linux in pkgsrc.
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.
Diffstat (limited to 'www')
-rw-r--r-- | www/MozillaFirebird-gtk2-bin/DESCR | 9 | ||||
-rw-r--r-- | www/MozillaFirebird-gtk2-bin/Makefile | 81 | ||||
-rw-r--r-- | www/MozillaFirebird-gtk2-bin/Makefile.Linux.i386 | 10 | ||||
-rw-r--r-- | www/MozillaFirebird-gtk2-bin/PLIST | 2 | ||||
-rw-r--r-- | www/MozillaFirebird-gtk2-bin/distinfo | 4 | ||||
-rw-r--r-- | www/MozillaFirebird-gtk2-bin/files/MozillaFirebird.sh | 7 |
6 files changed, 113 insertions, 0 deletions
diff --git a/www/MozillaFirebird-gtk2-bin/DESCR b/www/MozillaFirebird-gtk2-bin/DESCR new file mode 100644 index 00000000000..9481d824adb --- /dev/null +++ b/www/MozillaFirebird-gtk2-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-gtk2-bin/Makefile b/www/MozillaFirebird-gtk2-bin/Makefile new file mode 100644 index 00000000000..94a2ec6ae47 --- /dev/null +++ b/www/MozillaFirebird-gtk2-bin/Makefile @@ -0,0 +1,81 @@ +# $NetBSD: Makefile,v 1.1.1.1 2003/12/30 22:48:32 grant Exp $ +# + +DISTNAME= # see Makefile.${OPSYS}.${ARCH} +PKGNAME= MozillaFirebird-gtk2-bin-0.7 +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 + +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-xft2-${PLATFORM} + @${RM} -f ${MOZILLA_LIB}/plugins/libnullplugin.so + +post-install: +# this build wants exactly 'libgtk-1.2.so.0', etc. +.if ${OPSYS} == "SunOS" || ${OPSYS} == "Linux" + @cd ${MOZILLA_LIB} && \ + ${LN} -s ${PREFIX}/lib/libatk-1.0.*so* .; \ + ${LN} -s ${X11PREFIX}/lib/libgdk-x11-2.0.*so* .; \ + ${LN} -s ${PREFIX}/lib/libgdk_pixbuf-2.0.*so* .; \ + ${LN} -s ${PREFIX}/lib/libglib-2.0.*so* .; \ + ${LN} -s ${PREFIX}/lib/libgmodule-2.0.*so* .; \ + ${LN} -s ${PREFIX}/lib/libgobject-2.0.*so* .; \ + ${LN} -s ${X11PREFIX}/lib/libgtk-x11-2.0.*so* .; \ + ${LN} -s ${PREFIX}/lib/libpango-1.0.*so* .; \ + ${LN} -s ${PREFIX}/lib/libpangox-1.0.*so* .; \ + ${LN} -s ${PREFIX}/lib/libpangoxft-1.0.*so* .; \ + \ + ${LN} -s libatk-1.0.so libatk-1.0.so.0; \ + ${LN} -s libgdk-x11-2.0.so libgdk-x11-2.0.so.0; \ + ${LN} -s libgdk_pixbuf-2.0.so libgdk_pixbuf-2.0.so.0; \ + ${LN} -s libglib-2.0.so libglib-2.0.so.0; \ + ${LN} -s libgmodule-2.0.so libgmodule-2.0.so.0; \ + ${LN} -s libgobject-2.0.so libgobject-2.0.so.0; \ + ${LN} -s libgtk-x11-2.0.so libgtk-x11-2.0.so.0; \ + ${LN} -s libpango-1.0.so libpango-1.0.so.0; \ + ${LN} -s libpangox-1.0.so libpangox-1.0.so.0; \ + ${LN} -s libpangoxft-1.0.so libpangoxft-1.0.so.0 +.endif + @${CP} -f ${PKGDIR}/PLIST ${PLIST_SRC} + @${ECHO} bin/MozillaFirebird-xft2-${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-gtk2-bin/Makefile.Linux.i386 b/www/MozillaFirebird-gtk2-bin/Makefile.Linux.i386 new file mode 100644 index 00000000000..154235e827d --- /dev/null +++ b/www/MozillaFirebird-gtk2-bin/Makefile.Linux.i386 @@ -0,0 +1,10 @@ +# $NetBSD: Makefile.Linux.i386,v 1.1.1.1 2003/12/30 22:48:32 grant Exp $ +# + +DISTNAME= MozillaFirebird-0.7-i686-linux-gtk2+xft +MASTER_SITES= http://ftp.mozilla.org/pub/firebird/releases/0.7/ + +PLATFORM= linux +MOZILLA_LIB= ${PREFIX}/lib/MozillaFirebird-gtk2-${PLATFORM} + +DEPENDS+= gtk2+>=2.2:../../x11/gtk2 diff --git a/www/MozillaFirebird-gtk2-bin/PLIST b/www/MozillaFirebird-gtk2-bin/PLIST new file mode 100644 index 00000000000..92084b92234 --- /dev/null +++ b/www/MozillaFirebird-gtk2-bin/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2003/12/30 22:48:32 grant Exp $ +@comment this PLIST intentionally left blank diff --git a/www/MozillaFirebird-gtk2-bin/distinfo b/www/MozillaFirebird-gtk2-bin/distinfo new file mode 100644 index 00000000000..1eb3862bd0b --- /dev/null +++ b/www/MozillaFirebird-gtk2-bin/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.1.1.1 2003/12/30 22:48:32 grant Exp $ + +SHA1 (MozillaFirebird-0.7-i686-linux-gtk2+xft.tar.gz) = d3d95be6282be51b03b9d21e2fc9bbd84e9b4eb4 +Size (MozillaFirebird-0.7-i686-linux-gtk2+xft.tar.gz) = 9043783 bytes diff --git a/www/MozillaFirebird-gtk2-bin/files/MozillaFirebird.sh b/www/MozillaFirebird-gtk2-bin/files/MozillaFirebird.sh new file mode 100644 index 00000000000..c98fcde1518 --- /dev/null +++ b/www/MozillaFirebird-gtk2-bin/files/MozillaFirebird.sh @@ -0,0 +1,7 @@ +#!@SH@ +# $NetBSD: MozillaFirebird.sh,v 1.1.1.1 2003/12/30 22:48:32 grant Exp $ + +LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:@PREFIX@/lib/MozillaFirebird-gtk2-@PLATFORM@:@PREFIX@/lib" +export LD_LIBRARY_PATH + +exec @PREFIX@/lib/MozillaFirebird-gtk2-@PLATFORM@/MozillaFirebird "$@" |