diff options
author | grant <grant@pkgsrc.org> | 2003-12-04 05:25:42 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2003-12-04 05:25:42 +0000 |
commit | 17c03809ca03ea493a589425398d2c3d8b67e479 (patch) | |
tree | e683c207183d35a9cc4f10028865f46706c1c3d3 /mail | |
parent | 14bfb6f7cddb5495142548a691bdd8348c0aaf8d (diff) | |
download | pkgsrc-17c03809ca03ea493a589425398d2c3d8b67e479.tar.gz |
import thunderbird-bin-nightly from pkgsrc-wip.
Mozilla Thunderbird is a redesign of the Mozilla mail component. The
goal is to produce a cross platform stand alone mail application using
the XUL user interface language.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/thunderbird-bin-nightly/DESCR | 3 | ||||
-rw-r--r-- | mail/thunderbird-bin-nightly/Makefile | 86 | ||||
-rw-r--r-- | mail/thunderbird-bin-nightly/Makefile.Linux.i386 | 11 | ||||
-rw-r--r-- | mail/thunderbird-bin-nightly/Makefile.SunOS.sparc | 10 | ||||
-rw-r--r-- | mail/thunderbird-bin-nightly/PLIST | 2 | ||||
-rw-r--r-- | mail/thunderbird-bin-nightly/files/thunderbird.sh | 7 |
6 files changed, 119 insertions, 0 deletions
diff --git a/mail/thunderbird-bin-nightly/DESCR b/mail/thunderbird-bin-nightly/DESCR new file mode 100644 index 00000000000..f8253abfdee --- /dev/null +++ b/mail/thunderbird-bin-nightly/DESCR @@ -0,0 +1,3 @@ +Mozilla Thunderbird is a redesign of the Mozilla mail component. The +goal is to produce a cross platform stand alone mail application using +the XUL user interface language. diff --git a/mail/thunderbird-bin-nightly/Makefile b/mail/thunderbird-bin-nightly/Makefile new file mode 100644 index 00000000000..4e814e085d1 --- /dev/null +++ b/mail/thunderbird-bin-nightly/Makefile @@ -0,0 +1,86 @@ +# $NetBSD: Makefile,v 1.1.1.1 2003/12/04 05:25:42 grant Exp $ +# + +DISTNAME= # see Makefile.${OPSYS}.${ARCH} +PKGNAME= thunderbird-bin-${PKGVER} +WRKSRC= ${WRKDIR}/thunderbird +CATEGORIES= mail + +MAINTAINER= grant@NetBSD.org +HOMEPAGE= http://www.mozilla.org/projects/thunderbird/ +COMMENT= Redesign of the Mozilla mail client (nightly binary pkg) + +ONLY_FOR_PLATFORM= Linux-*-i[3-6]86 SunOS-5.[789]*-sparc + +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}/thunderbird.sh > \ + ${WRKDIR}/thunderbird.sh + +do-install: + ${INSTALL_DATA_DIR} ${MOZILLA_LIB} + cd ${WRKSRC} && ${PAX} -rw -pm . ${MOZILLA_LIB} + ${INSTALL_SCRIPT} ${WRKDIR}/thunderbird.sh \ + ${PREFIX}/bin/thunderbird-${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/thunderbird-${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/mail/thunderbird-bin-nightly/Makefile.Linux.i386 b/mail/thunderbird-bin-nightly/Makefile.Linux.i386 new file mode 100644 index 00000000000..19cdca9bee5 --- /dev/null +++ b/mail/thunderbird-bin-nightly/Makefile.Linux.i386 @@ -0,0 +1,11 @@ +# $NetBSD: Makefile.Linux.i386,v 1.1.1.1 2003/12/04 05:25:42 grant Exp $ +# + +DISTNAME= thunderbird-i686-pc-linux-gnu +EXTRACT_SUFX= .tar.bz2 +MASTER_SITES= http://ftp.mozilla.org/pub/thunderbird/nightly/2003-11-10-trunk/ + +PLATFORM= linux +MOZILLA_LIB= ${PREFIX}/lib/thunderbird-${PLATFORM} + +DEPENDS+= gtk2+>=2.2:../../x11/gtk2 diff --git a/mail/thunderbird-bin-nightly/Makefile.SunOS.sparc b/mail/thunderbird-bin-nightly/Makefile.SunOS.sparc new file mode 100644 index 00000000000..c49a24f76c2 --- /dev/null +++ b/mail/thunderbird-bin-nightly/Makefile.SunOS.sparc @@ -0,0 +1,10 @@ +# $NetBSD: Makefile.SunOS.sparc,v 1.1.1.1 2003/12/04 05:25:42 grant Exp $ +# + +DISTNAME= thunderbird-sparc-sun-solaris2.7 +MASTER_SITES= http://ftp.mozilla.org/pub/thunderbird/nightly/contrib/latest-trunk/ + +DEPENDS+= gtk2+>=2.2:../../x11/gtk2 + +PLATFORM= solaris +MOZILLA_LIB= ${PREFIX}/lib/thunderbird-${PLATFORM} diff --git a/mail/thunderbird-bin-nightly/PLIST b/mail/thunderbird-bin-nightly/PLIST new file mode 100644 index 00000000000..6c784fa2d98 --- /dev/null +++ b/mail/thunderbird-bin-nightly/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2003/12/04 05:25:42 grant Exp $ +@comment this PLIST intentionally left blank diff --git a/mail/thunderbird-bin-nightly/files/thunderbird.sh b/mail/thunderbird-bin-nightly/files/thunderbird.sh new file mode 100644 index 00000000000..503b06802a4 --- /dev/null +++ b/mail/thunderbird-bin-nightly/files/thunderbird.sh @@ -0,0 +1,7 @@ +#!@SH@ +# $NetBSD: thunderbird.sh,v 1.1.1.1 2003/12/04 05:25:42 grant Exp $ + +LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:@PREFIX@/lib/thunderbird-@PLATFORM@:@PREFIX@/lib" +export LD_LIBRARY_PATH + +exec @PREFIX@/lib/thunderbird-@PLATFORM@/thunderbird "$@" |