1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00
freebsd-ports/mail/moztraybiff/Makefile
Florent Thoumie d4f0d0048a - Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
2007-05-19 20:36:56 +00:00

55 lines
1.3 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.2
PORTREVISION= 3
CATEGORIES= mail gnome
MASTER_SITES= ${MASTER_SITE_MOZDEV}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= mozTrayBiff-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= New mail tray icon for Thunderbird
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_XLIB= 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
post-patch:
@${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.mk>