2005-03-20 04:57:35 +01:00
|
|
|
# New ports collection makefile for: moztraybiff
|
|
|
|
# Date created: 19 March, 2005
|
|
|
|
# Whom: Adam Weinberger <adamw@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= moztraybiff
|
2006-05-15 06:10:10 +02:00
|
|
|
PORTVERSION= 1.2.2
|
2005-03-20 04:57:35 +01:00
|
|
|
CATEGORIES= mail gnome
|
2006-05-02 16:47:56 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_MOZDEV}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2005-03-20 04:57:35 +01:00
|
|
|
DISTNAME= mozTrayBiff-${PORTVERSION}
|
|
|
|
|
|
|
|
MAINTAINER= adamw@FreeBSD.org
|
|
|
|
COMMENT= New mail tray icon for Thunderbird
|
|
|
|
|
2006-07-15 22:31:10 +02:00
|
|
|
BROKEN= fails to install
|
|
|
|
|
2005-09-09 09:14:44 +02:00
|
|
|
BUILD_DEPENDS= ${X11BASE}/lib/thunderbird/components/libwidget_gtk2.so:${PORTSDIR}/mail/thunderbird \
|
2005-03-23 04:24:14 +01:00
|
|
|
zip:${PORTSDIR}/archivers/zip
|
2005-09-09 09:14:44 +02:00
|
|
|
RUN_DEPENDS= ${X11BASE}/lib/thunderbird/components/libwidget_gtk2.so:${PORTSDIR}/mail/thunderbird
|
2005-04-02 10:50:51 +02:00
|
|
|
|
2005-04-12 21:42:04 +02:00
|
|
|
.if !exists(../thunderbird/Makefile)
|
|
|
|
BROKEN= ${PORTNAME} needs the Thunderbird port in order to build
|
|
|
|
.else
|
2005-04-02 10:50:51 +02:00
|
|
|
TBVER!= cd ../thunderbird && ${MAKE} -V PORTVERSION
|
2005-04-12 21:42:04 +02:00
|
|
|
.endif
|
2005-03-20 04:57:35 +01:00
|
|
|
|
|
|
|
USE_X_PREFIX= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_GNOME= libgnome
|
2006-05-15 06:10:10 +02:00
|
|
|
MAKE_ARGS+= MOZILLA_PLATFORM=tbird TBVER=${TBVER} MOZ_TRUNK=0
|
2005-03-20 04:57:35 +01:00
|
|
|
|
2006-01-16 19:07:50 +01:00
|
|
|
FILENAME= mozTrayBiff-${PORTVERSION}-tb${TBVER}.xpi
|
2005-04-12 21:42:04 +02:00
|
|
|
PLIST_FILES= share/${PORTNAME}/${FILENAME}
|
|
|
|
PLIST_DIRS= share/${PORTNAME}
|
2005-04-26 21:45:26 +02:00
|
|
|
|
|
|
|
SUB_FILES= pkg-message
|
2005-03-20 07:01:37 +01:00
|
|
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
|
|
|
|
2005-03-23 06:10:49 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2005-03-23 04:24:14 +01:00
|
|
|
post-patch:
|
2005-04-02 10:50:51 +02:00
|
|
|
.if ${OSVERSION} < 500000
|
|
|
|
@${REINPLACE_CMD} -e "s|-fshort-wchar||" \
|
|
|
|
${WRKSRC}/components/Makefile
|
2005-03-23 04:24:14 +01:00
|
|
|
.endif
|
2006-01-16 19:07:50 +01:00
|
|
|
@${REINPLACE_CMD} -e "s|^#!/bin/bash|#!/bin/sh|" \
|
|
|
|
${WRKSRC}/get-platform
|
2005-03-20 04:57:35 +01:00
|
|
|
|
|
|
|
do-install:
|
2005-04-12 21:42:04 +02:00
|
|
|
@${MKDIR} ${DATADIR}
|
|
|
|
@${INSTALL} -m 644 ${WRKSRC}/${FILENAME} ${DATADIR}
|
2005-03-20 04:57:35 +01:00
|
|
|
|
|
|
|
post-install:
|
2005-04-26 21:45:26 +02:00
|
|
|
@${ECHO_MSG}
|
2005-03-20 04:57:35 +01:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
2005-04-26 21:45:26 +02:00
|
|
|
@${ECHO_MSG}
|
2005-03-20 04:57:35 +01:00
|
|
|
|
2005-03-23 06:10:49 +01:00
|
|
|
.include <bsd.port.post.mk>
|