summaryrefslogtreecommitdiff
path: root/mail/moztraybiff
diff options
context:
space:
mode:
Diffstat (limited to 'mail/moztraybiff')
-rw-r--r--mail/moztraybiff/Makefile9
-rw-r--r--mail/moztraybiff/pkg-descr3
2 files changed, 11 insertions, 1 deletions
diff --git a/mail/moztraybiff/Makefile b/mail/moztraybiff/Makefile
index 004d86e2ab76..ff961654c1bb 100644
--- a/mail/moztraybiff/Makefile
+++ b/mail/moztraybiff/Makefile
@@ -14,12 +14,14 @@ DISTNAME= mozTrayBiff-${PORTVERSION}
MAINTAINER= adamw@FreeBSD.org
COMMENT= New mail tray icon for Thunderbird
-BUILD_DEPENDS= ${X11BASE}/lib/thunderbird/lib/thunderbird-1.0/components/libwidget_gtk2.so:${PORTSDIR}/mail/thunderbird
+BUILD_DEPENDS= ${X11BASE}/lib/thunderbird/lib/thunderbird-1.0/components/libwidget_gtk2.so:${PORTSDIR}/mail/thunderbird \
+ zip:${PORTSDIR}/archivers/zip
RUN_DEPENDS= ${X11BASE}/lib/thunderbird/lib/thunderbird-1.0/components/libwidget_gtk2.so:${PORTSDIR}/mail/thunderbird
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_GNOME= libgnome
+USE_REINPLACE= yes
MAKE_ARGS+= MOZILLA_PLATFORM=tbird
FILENAME= mozTrayBiff-${PORTVERSION}-FreeBSD-tb1.0.xpi
@@ -27,6 +29,11 @@ PLIST_FILES= ${DATADIR}/${FILENAME}
PLIST_DIRS= ${DATADIR}
PKGMESSAGE= ${WRKDIR}/pkg-message
+.if ${OSVERSION} < 500000
+post-patch:
+ ${REINPLACE_CMD} -e "s|-fshort-wchar||" ${WRKSRC}/components/Makefile
+.endif
+
post-build:
${SED} 's|%%DATADIR%%|${DATADIR}|' ${PKGDIR}/pkg-message > ${PKGMESSAGE}
diff --git a/mail/moztraybiff/pkg-descr b/mail/moztraybiff/pkg-descr
index d2fb478d4f40..b19d62dff027 100644
--- a/mail/moztraybiff/pkg-descr
+++ b/mail/moztraybiff/pkg-descr
@@ -3,4 +3,7 @@ system tray when new mail arrives in Mozilla Thunderbird. While it
supports the standard (FreeDesktop.org) system tray, as used by GNOME,
KDE and IceWM, it requires GNOME libraries to build and run.
+It builds and installs an .xpi file, which can be installed through
+Thunderbird's extension manager. See the pkg-message for more details.
+
WWW: http://moztraybiff.mozdev.org/