aboutsummaryrefslogtreecommitdiffstats
path: root/mail/enigmail-thunderbird
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2004-01-29 02:05:39 +0800
committerale <ale@FreeBSD.org>2004-01-29 02:05:39 +0800
commitb3605dea1b0c551776d28166f6bb802fa4508d9a (patch)
tree5d55fbd67232b7a4990e27cf427de88c65b2fd49 /mail/enigmail-thunderbird
parent9400092e834905dcf4fc3efe44dcd2bbcd30665d (diff)
downloadfreebsd-ports-gnome-b3605dea1b0c551776d28166f6bb802fa4508d9a.tar.gz
freebsd-ports-gnome-b3605dea1b0c551776d28166f6bb802fa4508d9a.tar.zst
freebsd-ports-gnome-b3605dea1b0c551776d28166f6bb802fa4508d9a.zip
Add enigmail-thunderbird 0.83.1, a GnuPG extension for the Thunderbird
mail client. Approved by: nork (mentor)
Diffstat (limited to 'mail/enigmail-thunderbird')
-rw-r--r--mail/enigmail-thunderbird/Makefile23
-rw-r--r--mail/enigmail-thunderbird/pkg-deinstall8
-rw-r--r--mail/enigmail-thunderbird/pkg-install9
3 files changed, 40 insertions, 0 deletions
diff --git a/mail/enigmail-thunderbird/Makefile b/mail/enigmail-thunderbird/Makefile
new file mode 100644
index 000000000000..99eb78cd7eab
--- /dev/null
+++ b/mail/enigmail-thunderbird/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: enigmail
+# Date created: 20 January 2004
+# Whom: Alex Dupre <ale@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PKGNAMESUFFIX= -thunderbird
+
+COMMENT= A GnuPG extension for the Thunderbird mail client
+
+EXTRACT_DEPENDS=${WRKSRC}/Makefile:${LOCAL_SRCDIR}:configure
+RUN_DEPENDS= thunderbird:${LOCAL_SRCDIR}
+
+MASTERDIR= ${.CURDIR}/../enigmail
+
+PKGINSTALL= ${.CURDIR}/pkg-install
+PKGDEINSTALL= ${.CURDIR}/pkg-deinstall
+
+LOCAL_SRCDIR= ${PORTSDIR}/mail/mozilla-thunderbird
+LOCAL_SUBDIR= lib/thunderbird/lib/mozilla-1.6b
+
+.include "${MASTERDIR}/Makefile"
diff --git a/mail/enigmail-thunderbird/pkg-deinstall b/mail/enigmail-thunderbird/pkg-deinstall
new file mode 100644
index 000000000000..daf8822ecf16
--- /dev/null
+++ b/mail/enigmail-thunderbird/pkg-deinstall
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+if test "$2" = "POST-DEINSTALL"; then
+FILE=${PKG_PREFIX}/lib/thunderbird/lib/mozilla-1.6b/chrome/installed-chrome.txt
+cp ${FILE} ${FILE}.orig
+cat ${FILE}.orig | grep -v enigmail > ${FILE}
+rm ${FILE}.orig
+fi
diff --git a/mail/enigmail-thunderbird/pkg-install b/mail/enigmail-thunderbird/pkg-install
new file mode 100644
index 000000000000..1af73768ec7f
--- /dev/null
+++ b/mail/enigmail-thunderbird/pkg-install
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+if test "$2" = "POST-INSTALL"; then
+cat << EOF >> ${PKG_PREFIX}/lib/thunderbird/lib/mozilla-1.6b/chrome/installed-chrome.txt
+content,install,url,jar:resource:/chrome/enigmail.jar!/content/enigmail/
+skin,install,url,jar:resource:/chrome/enigmail-skin-tbird.jar!/skin/classic/enigmail/
+locale,install,url,jar:resource:/chrome/enigmail.jar!/locale/en-US/enigmail/
+EOF
+fi