diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2005-03-23 03:24:14 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2005-03-23 03:24:14 +0000 |
commit | 5f72224f718794e5daa05f43bb04f636d5036988 (patch) | |
tree | 421a85fe68db5d9d665bbb338611d5fa1045d051 /mail | |
parent | Fix compile with FLAC 1.1.2 (diff) |
Fix build on 4.X by conditionally whacking -fshort-wchar from
the gcc invocation.
Also, fix the build on everything by adding a BUILD_DEPENDS
on zip.
Also, add a quick note about how to enable to extension to the
pkg-descr.
Approved by: portmgr (marcus)
Diffstat (limited to 'mail')
-rw-r--r-- | mail/moztraybiff/Makefile | 9 | ||||
-rw-r--r-- | mail/moztraybiff/pkg-descr | 3 |
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/ |