summaryrefslogtreecommitdiffstats
path: root/mail/moztraybiff/Makefile
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2006-08-01 12:00:37 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2006-08-01 12:00:37 +0800
commit07019cf317a58467f2ba01120cf0940ca2060f64 (patch)
tree1e3aab1231e37acd36752015cb14f29a9c5fbc2a /mail/moztraybiff/Makefile
parent5e8e096d0d8101d3aa25bc737d9adbeb54fb2557 (diff)
downloadmarcuscom-ports-07019cf317a58467f2ba01120cf0940ca2060f64.tar
marcuscom-ports-07019cf317a58467f2ba01120cf0940ca2060f64.tar.gz
marcuscom-ports-07019cf317a58467f2ba01120cf0940ca2060f64.tar.bz2
marcuscom-ports-07019cf317a58467f2ba01120cf0940ca2060f64.tar.lz
marcuscom-ports-07019cf317a58467f2ba01120cf0940ca2060f64.tar.xz
marcuscom-ports-07019cf317a58467f2ba01120cf0940ca2060f64.tar.zst
marcuscom-ports-07019cf317a58467f2ba01120cf0940ca2060f64.zip
X11BASE -> LOCALBASE, thunderbird lives in LOCALBASE. Bump the PORTREVISION.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6908 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'mail/moztraybiff/Makefile')
-rw-r--r--mail/moztraybiff/Makefile62
1 files changed, 62 insertions, 0 deletions
diff --git a/mail/moztraybiff/Makefile b/mail/moztraybiff/Makefile
new file mode 100644
index 000000000..0b5587382
--- /dev/null
+++ b/mail/moztraybiff/Makefile
@@ -0,0 +1,62 @@
+# New ports collection makefile for: moztraybiff
+# Date created: 19 March, 2005
+# Whom: Adam Weinberger <adamw@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= moztraybiff
+PORTVERSION= 1.2.2
+PORTREVISION= 1
+CATEGORIES= mail gnome
+MASTER_SITES= ${MASTER_SITE_MOZDEV}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+DISTNAME= mozTrayBiff-${PORTVERSION}
+
+MAINTAINER= adamw@FreeBSD.org
+COMMENT= New mail tray icon for Thunderbird
+
+BROKEN= fails to install
+
+BUILD_DEPENDS= ${LOCALBASE}/lib/thunderbird/components/libwidget_gtk2.so:${PORTSDIR}/mail/thunderbird \
+ zip:${PORTSDIR}/archivers/zip
+RUN_DEPENDS= ${LOCALBASE}/lib/thunderbird/components/libwidget_gtk2.so:${PORTSDIR}/mail/thunderbird
+
+.if !exists(../thunderbird/Makefile)
+BROKEN= ${PORTNAME} needs the Thunderbird port in order to build
+.else
+TBVER!= cd ../thunderbird && ${MAKE} -V PORTVERSION
+.endif
+
+USE_X_PREFIX= yes
+USE_GMAKE= yes
+USE_GNOME= libgnome
+MAKE_ARGS+= MOZILLA_PLATFORM=tbird TBVER=${TBVER} MOZ_TRUNK=0
+
+FILENAME= mozTrayBiff-${PORTVERSION}-tb${TBVER}.xpi
+PLIST_FILES= share/${PORTNAME}/${FILENAME}
+PLIST_DIRS= share/${PORTNAME}
+
+SUB_FILES= pkg-message
+PKGMESSAGE= ${WRKDIR}/pkg-message
+
+.include <bsd.port.pre.mk>
+
+post-patch:
+.if ${OSVERSION} < 500000
+ @${REINPLACE_CMD} -e "s|-fshort-wchar||" \
+ ${WRKSRC}/components/Makefile
+.endif
+ @${REINPLACE_CMD} -e "s|^#!/bin/bash|#!/bin/sh|" \
+ ${WRKSRC}/get-platform
+
+do-install:
+ @${MKDIR} ${DATADIR}
+ @${INSTALL} -m 644 ${WRKSRC}/${FILENAME} ${DATADIR}
+
+post-install:
+ @${ECHO_MSG}
+ @${CAT} ${PKGMESSAGE}
+ @${ECHO_MSG}
+
+.include <bsd.port.post.mk>