1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00
freebsd-ports/mail/moztraybiff/Makefile
Adam Weinberger 2ced9a06bf Update to 1.2.
In theory, this version can be told to build against Thunderbird 1.5,
but I'm not going to tweak this port to do so until Tb 1.5 is released.
2005-12-12 19:27:25 +00:00

58 lines
1.4 KiB
Makefile

# New ports collection makefile for: moztraybiff
# Date created: 19 March, 2005
# Whom: Adam Weinberger <adamw@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= moztraybiff
PORTVERSION= 1.2
CATEGORIES= mail gnome
MASTER_SITES= http://mozdev.oregonstate.edu/moztraybiff/
DISTNAME= mozTrayBiff-${PORTVERSION}
MAINTAINER= adamw@FreeBSD.org
COMMENT= New mail tray icon for Thunderbird
BUILD_DEPENDS= ${X11BASE}/lib/thunderbird/components/libwidget_gtk2.so:${PORTSDIR}/mail/thunderbird \
zip:${PORTSDIR}/archivers/zip
RUN_DEPENDS= ${X11BASE}/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
USE_REINPLACE= yes
MAKE_ARGS+= MOZILLA_PLATFORM=tbird TBVER=${TBVER}
FILENAME= mozTrayBiff-${PORTVERSION}-FreeBSD-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
do-install:
@${MKDIR} ${DATADIR}
@${INSTALL} -m 644 ${WRKSRC}/${FILENAME} ${DATADIR}
post-install:
@${ECHO_MSG}
@${CAT} ${PKGMESSAGE}
@${ECHO_MSG}
.include <bsd.port.post.mk>