pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/MozillaFirebird-gtk2-bin-nightly Initial import of...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/be3fd2170b25
branches:  trunk
changeset: 465493:be3fd2170b25
user:      grant <grant%pkgsrc.org@localhost>
date:      Wed Dec 31 04:12:10 2003 +0000

description:
Initial import of MozillaFirebird-gtk2-bin-nightly into the NetBSD
Packages Collection.

This package provides a simple way to track nightly builds of
Firebird built with GTK2.

diffstat:

 www/MozillaFirebird-gtk2-bin-nightly/DESCR                    |   9 +
 www/MozillaFirebird-gtk2-bin-nightly/Makefile                 |  86 +++++++++++
 www/MozillaFirebird-gtk2-bin-nightly/Makefile.Linux.i386      |  10 +
 www/MozillaFirebird-gtk2-bin-nightly/PLIST                    |   2 +
 www/MozillaFirebird-gtk2-bin-nightly/files/MozillaFirebird.sh |   7 +
 5 files changed, 114 insertions(+), 0 deletions(-)

diffs (134 lines):

diff -r 16851786c052 -r be3fd2170b25 www/MozillaFirebird-gtk2-bin-nightly/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/MozillaFirebird-gtk2-bin-nightly/DESCR        Wed Dec 31 04:12:10 2003 +0000
@@ -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 -r 16851786c052 -r be3fd2170b25 www/MozillaFirebird-gtk2-bin-nightly/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/MozillaFirebird-gtk2-bin-nightly/Makefile     Wed Dec 31 04:12:10 2003 +0000
@@ -0,0 +1,86 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/12/31 04:12:11 grant Exp $
+#
+
+DISTNAME=              # see Makefile.${OPSYS}.${ARCH}
+PKGNAME=               MozillaFirebird-gtk2-bin-${PKGVER}
+WRKSRC=                        ${WRKDIR}/MozillaFirebird
+CATEGORIES=            www
+
+MAINTAINER=            grant%NetBSD.org@localhost
+HOMEPAGE=              http://www.mozilla.org/projects/firebird/
+COMMENT=               Lightweight gecko-based web browser (nightly binary pkg)
+
+ONLY_FOR_PLATFORM=     Linux-*-i[3-6]86
+
+DIST_SUBDIR=           ${PKGNAME}
+NO_CHECKSUM=           # defined
+NO_CONFIGURE=          # defined
+NO_SRC_ON_FTP=         # defined
+
+USE_PKGINSTALL=                YES
+
+.include "../../mk/bsd.prefs.mk"
+
+FILES_SUBST+=          PLATFORM=${PLATFORM}
+PLIST_SRC=             ${WRKDIR}/PLIST_DYNAMIC
+
+PKGVER!=               ${DATE} +%Y%m%d
+
+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-gtk2-${PLATFORM}
+
+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-gtk2-${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 -r 16851786c052 -r be3fd2170b25 www/MozillaFirebird-gtk2-bin-nightly/Makefile.Linux.i386
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/MozillaFirebird-gtk2-bin-nightly/Makefile.Linux.i386  Wed Dec 31 04:12:10 2003 +0000
@@ -0,0 +1,10 @@
+# $NetBSD: Makefile.Linux.i386,v 1.1.1.1 2003/12/31 04:12:11 grant Exp $
+#
+
+DISTNAME=      MozillaFirebird-i686-linux-gtk2+xft
+MASTER_SITES=  http://ftp.mozilla.org/pub/firebird/nightly/latest-trunk/
+
+PLATFORM=      linux
+MOZILLA_LIB=   ${PREFIX}/lib/MozillaFirebird-gtk2-${PLATFORM}
+
+DEPENDS+=      gtk2+>=2.2:../../x11/gtk2
diff -r 16851786c052 -r be3fd2170b25 www/MozillaFirebird-gtk2-bin-nightly/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/MozillaFirebird-gtk2-bin-nightly/PLIST        Wed Dec 31 04:12:10 2003 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/12/31 04:12:11 grant Exp $
+@comment this PLIST intentionally left blank
diff -r 16851786c052 -r be3fd2170b25 www/MozillaFirebird-gtk2-bin-nightly/files/MozillaFirebird.sh
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/MozillaFirebird-gtk2-bin-nightly/files/MozillaFirebird.sh     Wed Dec 31 04:12:10 2003 +0000
@@ -0,0 +1,7 @@
+#!@SH@
+# $NetBSD: MozillaFirebird.sh,v 1.1.1.1 2003/12/31 04:12:11 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 "$@"



Home | Main Index | Thread Index | Old Index