From b276bd5cbe50ff000b9a896708de9eb26fc9af99 Mon Sep 17 00:00:00 2001 From: Alex Dupre Date: Wed, 28 Jan 2004 18:05:39 +0000 Subject: Add enigmail-thunderbird 0.83.1, a GnuPG extension for the Thunderbird mail client. Approved by: nork (mentor) --- mail/Makefile | 1 + mail/enigmail-thunderbird/Makefile | 23 +++++++++++++++++++++++ mail/enigmail-thunderbird/pkg-deinstall | 8 ++++++++ mail/enigmail-thunderbird/pkg-install | 9 +++++++++ 4 files changed, 41 insertions(+) create mode 100644 mail/enigmail-thunderbird/Makefile create mode 100644 mail/enigmail-thunderbird/pkg-deinstall create mode 100644 mail/enigmail-thunderbird/pkg-install (limited to 'mail') diff --git a/mail/Makefile b/mail/Makefile index b2a3a4297a47..fbbb798fb944 100644 --- a/mail/Makefile +++ b/mail/Makefile @@ -61,6 +61,7 @@ SUBDIR += emh-xemacs21-mule SUBDIR += emil SUBDIR += enigmail + SUBDIR += enigmail-thunderbird SUBDIR += esmtp SUBDIR += evolution SUBDIR += exact 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 +# +# $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 -- cgit v1.2.3