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
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
PORTREVISION= 4
|
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}
|
|
|
|
|
2006-09-23 21:35:56 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2005-03-20 04:57:35 +01:00
|
|
|
COMMENT= New mail tray icon for Thunderbird
|
|
|
|
|
2006-10-14 10:54:54 +02:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/thunderbird/components/libwidget_gtk2.so:${PORTSDIR}/mail/thunderbird \
|
2005-03-23 04:24:14 +01:00
|
|
|
zip:${PORTSDIR}/archivers/zip
|
2006-10-14 10:54:54 +02:00
|
|
|
RUN_DEPENDS= ${LOCALBASE}/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_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 04:24:14 +01:00
|
|
|
post-patch:
|
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
|
|
|
|
2007-04-18 13:46:10 +02:00
|
|
|
.include <bsd.port.mk>
|