aboutsummaryrefslogtreecommitdiff
path: root/mail/moztraybiff
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2006-01-16 18:07:50 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2006-01-16 18:07:50 +0000
commitcc374951d53f7d621ce298414e705c36f2ea7bcf (patch)
tree6a348ac6149b361fa198ed1f4a52ff77e6c327d5 /mail/moztraybiff
parentf08db553cb588f6e08b2d05b7546535201a767bf (diff)
downloadports-cc374951d53f7d621ce298414e705c36f2ea7bcf.tar.gz
ports-cc374951d53f7d621ce298414e705c36f2ea7bcf.zip
Notes
Diffstat (limited to 'mail/moztraybiff')
-rw-r--r--mail/moztraybiff/Makefile6
-rw-r--r--mail/moztraybiff/distinfo6
-rw-r--r--mail/moztraybiff/files/patch-Makefile17
3 files changed, 11 insertions, 18 deletions
diff --git a/mail/moztraybiff/Makefile b/mail/moztraybiff/Makefile
index 2e5dc21f0231..5f26e273fbe4 100644
--- a/mail/moztraybiff/Makefile
+++ b/mail/moztraybiff/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= moztraybiff
-PORTVERSION= 1.2
+PORTVERSION= 1.2.1
CATEGORIES= mail gnome
MASTER_SITES= http://mozdev.oregonstate.edu/moztraybiff/
DISTNAME= mozTrayBiff-${PORTVERSION}
@@ -30,7 +30,7 @@ USE_GNOME= libgnome
USE_REINPLACE= yes
MAKE_ARGS+= MOZILLA_PLATFORM=tbird TBVER=${TBVER}
-FILENAME= mozTrayBiff-${PORTVERSION}-FreeBSD-tb${TBVER}.xpi
+FILENAME= mozTrayBiff-${PORTVERSION}-tb${TBVER}.xpi
PLIST_FILES= share/${PORTNAME}/${FILENAME}
PLIST_DIRS= share/${PORTNAME}
@@ -44,6 +44,8 @@ post-patch:
@${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}
diff --git a/mail/moztraybiff/distinfo b/mail/moztraybiff/distinfo
index 2bd047525605..0edccea13658 100644
--- a/mail/moztraybiff/distinfo
+++ b/mail/moztraybiff/distinfo
@@ -1,3 +1,3 @@
-MD5 (mozTrayBiff-1.2.tar.gz) = 292399983d77541b130d133134a05222
-SHA256 (mozTrayBiff-1.2.tar.gz) = efaffc58b1e3779040acb0c3a872f1719ad1d015a29f8257392a2f6d6dd87b6d
-SIZE (mozTrayBiff-1.2.tar.gz) = 41838
+MD5 (mozTrayBiff-1.2.1.tar.gz) = a2e3092b08aa7f9522ac7b5587d16969
+SHA256 (mozTrayBiff-1.2.1.tar.gz) = 9b8a203dd42d88c5fc1fc0bf13f56039b3338a522e6253ec7120bce8f50924da
+SIZE (mozTrayBiff-1.2.1.tar.gz) = 47121
diff --git a/mail/moztraybiff/files/patch-Makefile b/mail/moztraybiff/files/patch-Makefile
index 3bd5dae3c191..d4bfbd1c7496 100644
--- a/mail/moztraybiff/files/patch-Makefile
+++ b/mail/moztraybiff/files/patch-Makefile
@@ -1,20 +1,11 @@
---- Makefile.orig Mon Dec 12 13:57:47 2005
-+++ Makefile Mon Dec 12 13:58:39 2005
-@@ -1,7 +1,7 @@
- SUBDIRS = components chrome
- .PHONY: all clean subdirs ${SUBDIRS} content locale
- VERSION = 1.2
--PLATFORM := $(shell gcc -dumpmachine)
-+PLATFORM := $(shell uname)
- XPI_NAME = mozTrayBiff
- XPI_VERSION := $(VERSION)-$(PLATFORM)
- XPI_FILENAME = $(XPI_NAME)-$(XPI_VERSION).xpi
-@@ -15,7 +15,7 @@
+--- Makefile.orig Fri Jan 6 18:51:34 2006
++++ Makefile Mon Jan 16 13:01:55 2006
+@@ -19,7 +19,7 @@
XPI_EXTRA_FILES = install.js
endif
ifeq ($(MOZILLA_PLATFORM),tbird)
-REAL_CONFIG = mozilla-thunderbird-config
+REAL_CONFIG = thunderbird-config
- XPI_VERSION := $(XPI_VERSION)-tb$(shell $(REAL_CONFIG) --version)
+ XPI_VERSION := $(XPI_VERSION)-tb${MOZILLA_VERSION}
XPI_EXTRA_FILES = install.rdf
endif