diff options
author | decke <decke@FreeBSD.org> | 2010-09-06 16:28:59 +0800 |
---|---|---|
committer | decke <decke@FreeBSD.org> | 2010-09-06 16:28:59 +0800 |
commit | b831e4c343dcda6da8867cf881557189ac3f3d70 (patch) | |
tree | 71c8530d69e7d565aa52d327c35998c70ea59dc4 /mail | |
parent | 4574801a0d34640f1c33cf344f54c12b57887cc3 (diff) | |
download | freebsd-ports-graphics-b831e4c343dcda6da8867cf881557189ac3f3d70.tar.gz freebsd-ports-graphics-b831e4c343dcda6da8867cf881557189ac3f3d70.tar.zst freebsd-ports-graphics-b831e4c343dcda6da8867cf881557189ac3f3d70.zip |
Firetray is a system tray add-on for firefox.
WWW: http://code.google.com/p/firetray/
PR: ports/150048
Submitted by: Andriy Gapon <avg at icyb dot net dot ua>
Approved by: beat (co-mentor)
Diffstat (limited to 'mail')
-rw-r--r-- | mail/Makefile | 1 | ||||
-rw-r--r-- | mail/firetray/Makefile | 50 | ||||
-rw-r--r-- | mail/firetray/distinfo | 3 | ||||
-rw-r--r-- | mail/firetray/files/patch-components_SConscript | 20 | ||||
-rw-r--r-- | mail/firetray/pkg-descr | 3 |
5 files changed, 77 insertions, 0 deletions
diff --git a/mail/Makefile b/mail/Makefile index 7dcb3ca23d9..46a7fa9b81b 100644 --- a/mail/Makefile +++ b/mail/Makefile @@ -151,6 +151,7 @@ SUBDIR += filtermail SUBDIR += firemime SUBDIR += firepay + SUBDIR += firetray SUBDIR += freepops SUBDIR += ftrack SUBDIR += gambas2-gb-net-smtp diff --git a/mail/firetray/Makefile b/mail/firetray/Makefile new file mode 100644 index 00000000000..13780f11055 --- /dev/null +++ b/mail/firetray/Makefile @@ -0,0 +1,50 @@ +# New ports collection makefile for: firetray +# Date created: 2010-08-27 +# Whom: Andriy Gapon <avg@icyb.net.ua> +# +# $FreeBSD$ +# + +PORTNAME= firetray +DISTVERSION= 0.2.8 +CATEGORIES= mail www +MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} +DISTNAME= ${PORTNAME}-${DISTVERSION}-src + +MAINTAINER= avg@icyb.net.ua +COMMENT= System tray add-on for firefox, thunderbird, seamonkey, etc + +PATCH_DEPENDS= nspr>=4.8:${PORTSDIR}/devel/nspr \ + pkg-config:${PORTSDIR}/devel/pkg-config + +USE_ZIP= yes +USE_GECKO= libxul +USE_SCONS= yes +USE_GNOME= pkgconfig + +WRKSRC= ${WRKDIR}/${PORTNAME} +EXTRACT_AFTER_ARGS= -d ${WRKSRC} +GECKO_CONFIG= ${LOCALBASE}/bin/pkg-config ${GECKO} + +BUILD_SH_FLAGS= --dynamic-linking \ + --gecko-sdk-bin=`${DIRNAME} ${XPIDL}` \ + --gecko-sdk-lib=`${GECKO_CONFIG} --variable=sdkdir`/lib \ + --gecko-sdk-idl=`${GECKO_CONFIG} --variable=idldir` \ + --gecko-sdk-include=`${GECKO_CONFIG} --variable=includedir` +NSPR_INCLUDE= `${LOCALBASE}/bin/pkg-config nspr --variable=includedir` + +PLIST_DIRS= ${DATADIR:S,${PREFIX}/,,} +PLIST_FILES= ${DATADIR:S,${PREFIX}/,,}/${PORTNAME}.xpi + +post-patch: + @${REINPLACE_CMD} s,/usr/include/nspr,${NSPR_INCLUDE}, \ + ${WRKSRC}/components/SConscript + +do-build: + cd ${WRKSRC} && ./build.sh ${BUILD_SH_FLAGS} + +do-install: + ${MKDIR} ${DATADIR} && \ + ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.xpi ${DATADIR} + +.include <bsd.port.mk> diff --git a/mail/firetray/distinfo b/mail/firetray/distinfo new file mode 100644 index 00000000000..2394570272f --- /dev/null +++ b/mail/firetray/distinfo @@ -0,0 +1,3 @@ +MD5 (firetray-0.2.8-src.zip) = cd71b82da69c8a626d1ac471b268a4fd +SHA256 (firetray-0.2.8-src.zip) = bfe78b722b5946320f2f0b92475a44bc20ff00adc9acaf99d924a4395e2db1f6 +SIZE (firetray-0.2.8-src.zip) = 263602 diff --git a/mail/firetray/files/patch-components_SConscript b/mail/firetray/files/patch-components_SConscript new file mode 100644 index 00000000000..8a1e46d7fcc --- /dev/null +++ b/mail/firetray/files/patch-components_SConscript @@ -0,0 +1,20 @@ +--- components/SConscript.orig 2010-08-27 01:55:51.642176846 +0300 ++++ components/SConscript 2010-08-27 02:00:10.042030350 +0300 +@@ -51,7 +51,7 @@ env.AppendENVPath('PATH', gecko_bin) + env.Append(BUILDERS = {'MozXPT' : bxpt, 'MozHeader' : bhdr }) + + # Add additional param for different platforms +-if platform == 'linux2': ++if 1 or platform == 'linux2': + env.ParseConfig('pkg-config --static --cflags gtk+-2.0') # libnotify + env.AppendUnique( + CXXFLAGS = ['-include', 'xpcom-config.h', '-Wall', '-O2', +@@ -73,7 +73,7 @@ xpts = [env.MozXPT('nsITray'), env.MozXP + headers = [env.MozHeader('nsITray')] + + parts = [] +-if platform == 'linux2': ++if 1 or platform == 'linux2': + parts.extend(['nsTray.cpp', 'nsTrayModue.cpp']) + + nptray_name = 'nptray' + lib_arch diff --git a/mail/firetray/pkg-descr b/mail/firetray/pkg-descr new file mode 100644 index 00000000000..e4ac0fcaf63 --- /dev/null +++ b/mail/firetray/pkg-descr @@ -0,0 +1,3 @@ +Firetray is a system tray add-on for firefox. + +WWW: http://code.google.com/p/firetray/ |