summaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-07-22 03:53:18 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-07-22 03:53:18 +0800
commit3ca54a8dd92fd668ab684935a27d919c3c872f7d (patch)
treea7bbaecfc2fbfa36f6a80efed936d8459a50ffd4 /mail
parent62198160c2d9b228a0b7a62a042e1988863165cc (diff)
downloadmarcuscom-ports-3ca54a8dd92fd668ab684935a27d919c3c872f7d.tar
marcuscom-ports-3ca54a8dd92fd668ab684935a27d919c3c872f7d.tar.gz
marcuscom-ports-3ca54a8dd92fd668ab684935a27d919c3c872f7d.tar.bz2
marcuscom-ports-3ca54a8dd92fd668ab684935a27d919c3c872f7d.tar.lz
marcuscom-ports-3ca54a8dd92fd668ab684935a27d919c3c872f7d.tar.xz
marcuscom-ports-3ca54a8dd92fd668ab684935a27d919c3c872f7d.tar.zst
marcuscom-ports-3ca54a8dd92fd668ab684935a27d919c3c872f7d.zip
- Chase move to LOCALBASE
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6680 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'mail')
-rw-r--r--mail/enigmail-thunderbird/Makefile72
-rw-r--r--mail/enigmail-thunderbird/distinfo3
-rw-r--r--mail/enigmail-thunderbird/pkg-descr13
-rw-r--r--mail/enigmail-thunderbird/pkg-message7
-rw-r--r--mail/enigmail/Makefile89
-rw-r--r--mail/enigmail/distinfo6
-rw-r--r--mail/enigmail/pkg-deinstall8
-rw-r--r--mail/enigmail/pkg-descr13
-rw-r--r--mail/enigmail/pkg-install15
-rw-r--r--mail/enigmail/pkg-message7
-rw-r--r--mail/enigmail/pkg-plist11
11 files changed, 244 insertions, 0 deletions
diff --git a/mail/enigmail-thunderbird/Makefile b/mail/enigmail-thunderbird/Makefile
new file mode 100644
index 000000000..b111e3ae6
--- /dev/null
+++ b/mail/enigmail-thunderbird/Makefile
@@ -0,0 +1,72 @@
+# New ports collection makefile for: enigmail
+# Date created: 20 January 2004
+# Whom: Alex Dupre <ale@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= enigmail
+PORTVERSION= 0.94.0
+PORTREVISION= 1
+CATEGORIES= mail security
+MASTER_SITES= http://www.mozilla-enigmail.org/downloads/src/
+PKGNAMEPREFIX?= thunderbird-
+
+MAINTAINER= ale@FreeBSD.org
+COMMENT?= A GnuPG extension for the Thunderbird mail client
+
+EXTRACT_DEPENDS=${GECKO_WRKSRC}/configure:${PORTSDIR}/${GECKO_PORTDIR}:patch
+BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip
+LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
+ png.5:${PORTSDIR}/graphics/png \
+ nspr4:${PORTSDIR}/devel/nspr \
+ nss3:${PORTSDIR}/security/nss \
+ Xft.2:${PORTSDIR}/x11-fonts/libXft
+RUN_DEPENDS= ${GECKO}:${PORTSDIR}/${GECKO_PORTDIR} \
+ gpg:${PORTSDIR}/security/gnupg
+
+GECKO= ${PKGNAMEPREFIX:S/-//}
+.if ${GECKO} == "thunderbird"
+GECKO_PORTDIR= mail/${GECKO}
+.else
+GECKO_PORTDIR= www/${GECKO}
+.endif
+GECKO_WRKSRC= ${WRKDIR}/../../../${GECKO_PORTDIR}/work/mozilla
+WRKSRC= ${WRKDIR}/mozilla
+
+USE_GMAKE= yes
+USE_GCC= 3.4+
+USE_GNOME= gtk20 libidl desktopfileutils
+HAS_CONFIGURE= yes
+CONFIGURE_ENV= LOCALBASE=${LOCALBASE}
+CFLAGS+= -I${X11BASE}/include -I${LOCALBASE}/include
+
+XPI_FILE= ${DISTNAME}-${GECKO}-freebsd-${ARCH}.xpi
+PLIST_FILES= %%DATADIR%%/${XPI_FILE}
+PLIST_DIRS= %%DATADIR%%
+
+do-extract:
+ @${RM} -rf ${WRKDIR}
+ @${MKDIR} ${WRKDIR}
+ @${CP} -R ${GECKO_WRKSRC} ${WRKSRC}
+ @for f in ${EXTRACT_ONLY}; do \
+ cd ${WRKSRC}/mailnews/extensions && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/$$f ${EXTRACT_AFTER_ARGS}; \
+ done
+
+do-build:
+ @(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} export)
+ @(cd ${WRKSRC}/modules/libreg; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS})
+ @(cd ${WRKSRC}/xpcom/string; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS})
+ @(cd ${WRKSRC}/xpcom; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS})
+ @(cd ${WRKSRC}/xpcom/obsolete; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS})
+ @(cd ${WRKSRC}/mailnews/extensions/enigmail; ./makemake -r; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS});
+ @(cd ${WRKSRC}/mailnews/extensions/enigmail; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} xpi);
+
+do-install:
+ ${MKDIR} ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/dist/bin/${DISTNAME}-freebsd-${ARCH}.xpi ${DATADIR}/${XPI_FILE}
+
+post-install:
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/mail/enigmail-thunderbird/distinfo b/mail/enigmail-thunderbird/distinfo
new file mode 100644
index 000000000..2d72c3541
--- /dev/null
+++ b/mail/enigmail-thunderbird/distinfo
@@ -0,0 +1,3 @@
+MD5 (enigmail-0.94.0.tar.gz) = d326c302c1d2d68217fffcaa01ca7632
+SHA256 (enigmail-0.94.0.tar.gz) = db2b5fc014fe5efef95fc46804ac609616557b1696d5f355d2d7641e567904f3
+SIZE (enigmail-0.94.0.tar.gz) = 508113
diff --git a/mail/enigmail-thunderbird/pkg-descr b/mail/enigmail-thunderbird/pkg-descr
new file mode 100644
index 000000000..d3a91c99f
--- /dev/null
+++ b/mail/enigmail-thunderbird/pkg-descr
@@ -0,0 +1,13 @@
+Enigmail is an extension to the Thunderbird / Seamonkey mail client
+which allows users to access the authentication and encryption features
+provided by the popular GnuPG software.
+
+Enigmail can encrypt/sign mail when sending, and also decrypt/authenticate
+received mail. It can also import/export public keys. Enigmail supports
+both the inline PGP format, and the PGP/MIME format (RFC 3156), which can
+be used to encrypt attachments.
+
+WWW: http://enigmail.mozdev.org/
+
+- Alex Dupre
+ale@FreeBSD.org
diff --git a/mail/enigmail-thunderbird/pkg-message b/mail/enigmail-thunderbird/pkg-message
new file mode 100644
index 000000000..8ec572dc6
--- /dev/null
+++ b/mail/enigmail-thunderbird/pkg-message
@@ -0,0 +1,7 @@
+*****************************************************************************
+In order to activate the Enigmail extension, every user should install the
+XPI file into his own profile via the menu:
+
+Tools -> Extensions -> Install
+
+*****************************************************************************
diff --git a/mail/enigmail/Makefile b/mail/enigmail/Makefile
new file mode 100644
index 000000000..ecd516765
--- /dev/null
+++ b/mail/enigmail/Makefile
@@ -0,0 +1,89 @@
+# New ports collection makefile for: enigmail
+# Date created: 20 January 2004
+# Whom: Alex Dupre <ale@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= enigmail
+PORTVERSION?= 0.93.0
+PORTREVISION?= 2
+CATEGORIES= mail security
+MASTER_SITES= \
+ http://mozdev.secsup.org/enigmail/src/ \
+ http://downloads.us-east3.mozdev.org/enigmail/src/ \
+ http://mozdev.oregonstate.edu/enigmail/src/ \
+ http://mozdev.sweetooth.org/enigmail/src/ \
+ http://ftp.heanet.ie/pub/mozdev/enigmail/src/ \
+ http://mirror.meisterwerk.net/rmozdev/enigmail/src/
+DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} \
+ ipc-${IPCVERSION}${EXTRACT_SUFX}
+
+MAINTAINER= ale@FreeBSD.org
+COMMENT?= A GnuPG extension for the Mozilla mail client
+
+EXTRACT_DEPENDS?= ${WRKDIR}/../../../${LOCAL_SRCDIR}/work/mozilla/Makefile:${PORTSDIR}/${LOCAL_SRCDIR}:configure \
+ zip:${PORTSDIR}/archivers/zip \
+ gmake:${PORTSDIR}/devel/gmake \
+ intltool-extract:${PORTSDIR}/textproc/intltool
+BUILD_DEPENDS?= zip:${PORTSDIR}/archivers/zip
+LIB_DEPENDS?= nspr4:${PORTSDIR}/devel/nspr
+RUN_DEPENDS?= mozilla:${PORTSDIR}/${LOCAL_SRCDIR}
+
+RUN_DEPENDS+= gpg:${PORTSDIR}/security/gnupg
+
+IPCVERSION?= 1.1.3
+
+USE_GMAKE= yes
+USE_GNOME= gtk20 libidl
+
+WRKSRC= ${WRKDIR}/mozilla
+LOCAL_SRCDIR?= www/mozilla
+LOCAL_SUBDIR?= lib/mozilla
+LOCAL_PREFIX= ${PREFIX}/${LOCAL_SUBDIR}
+
+COMPONENTS= ipc.xpt enigmime.xpt libenigmime.so enigmail.xpt enigmail.js enigprefs-service.js
+CHROME= enigmime.jar enigmail.jar enigmail-skin.jar enigmail-skin-tbird.jar
+PREF= enigmail.js
+
+PLIST_SUB= LOCAL_SUBDIR=${LOCAL_SUBDIR}
+
+do-extract:
+ @${RM} -rf ${WRKDIR}
+ @${MKDIR} ${WRKDIR}
+ @${CP} -R ${WRKDIR}/../../../${LOCAL_SRCDIR}/work/mozilla ${WRKSRC}
+ @for f in ${EXTRACT_ONLY}; do \
+ cd ${WRKSRC}/extensions && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/$$f ${EXTRACT_AFTER_ARGS}; \
+ done
+
+pre-patch:
+ @${REINPLACE_CMD} -e "s|${LOCAL_SRCDIR}|mail/enigmail${PKGNAMESUFFIX}|g" \
+ `${FIND} ${WRKSRC} -name autoconf.mk`
+
+do-build:
+ @(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} export)
+ @(cd ${WRKSRC}/modules/libreg; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS})
+ @(cd ${WRKSRC}/xpcom/string; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS})
+ @(cd ${WRKSRC}/xpcom; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS})
+ @(cd ${WRKSRC}/xpcom/obsolete; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS})
+ @(cd ${WRKSRC}/extensions/ipc; ./makemake -r; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS});
+ @(cd ${WRKSRC}/extensions/enigmail; ./makemake -r; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS});
+
+do-install:
+ @for f in ${COMPONENTS}; do \
+ ${INSTALL_DATA} ${WRKSRC}/dist/bin/components/$$f ${LOCAL_PREFIX}/components; \
+ done
+ @for f in ${CHROME}; do \
+ ${INSTALL_DATA} ${WRKSRC}/dist/bin/chrome/$$f ${LOCAL_PREFIX}/chrome; \
+ done
+ @for f in ${PREF}; do \
+ ${INSTALL_DATA} ${WRKSRC}/dist/bin/defaults/pref/$$f ${LOCAL_PREFIX}/defaults/pref; \
+ done
+
+post-install:
+.if !defined(PACKAGE_BUILDING)
+ @${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
+.endif
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/mail/enigmail/distinfo b/mail/enigmail/distinfo
new file mode 100644
index 000000000..94c71ae32
--- /dev/null
+++ b/mail/enigmail/distinfo
@@ -0,0 +1,6 @@
+MD5 (enigmail-0.93.0.tar.gz) = cb7126705924cb7f0de205b4ff4e28b4
+SHA256 (enigmail-0.93.0.tar.gz) = 9b3883ee7f44dd4056c7243fe5c8f6fe05cccd76c661e8bf820641d2e891a376
+SIZE (enigmail-0.93.0.tar.gz) = 404411
+MD5 (ipc-1.1.3.tar.gz) = 64ba4c6e3b52568468c4f6680ec7e679
+SHA256 (ipc-1.1.3.tar.gz) = 0265ae1a639e0975a8820928598a357f769350801ea3633016e974d32f7db725
+SIZE (ipc-1.1.3.tar.gz) = 102593
diff --git a/mail/enigmail/pkg-deinstall b/mail/enigmail/pkg-deinstall
new file mode 100644
index 000000000..21a24bd8e
--- /dev/null
+++ b/mail/enigmail/pkg-deinstall
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+if test "$2" = "POST-DEINSTALL"; then
+FILE=${PKG_PREFIX}/lib/mozilla/chrome/installed-chrome.txt
+cp ${FILE} ${FILE}.orig
+cat ${FILE}.orig | grep -v enigmime | grep -v enigmail > ${FILE}
+rm ${FILE}.orig
+fi
diff --git a/mail/enigmail/pkg-descr b/mail/enigmail/pkg-descr
new file mode 100644
index 000000000..eaeab702b
--- /dev/null
+++ b/mail/enigmail/pkg-descr
@@ -0,0 +1,13 @@
+Enigmail is an extension to the mail client of Mozilla / Thunderbird
+which allows users to access the authentication and encryption features
+provided by the popular GnuPG software.
+
+Enigmail can encrypt/sign mail when sending, and also decrypt/authenticate
+received mail. It can also import/export public keys. Enigmail supports
+both the inline PGP format, and the PGP/MIME format (RFC 3156), which can
+be used to encrypt attachments.
+
+WWW: http://enigmail.mozdev.org/
+
+- Alex Dupre
+ale@FreeBSD.org
diff --git a/mail/enigmail/pkg-install b/mail/enigmail/pkg-install
new file mode 100644
index 000000000..5a7d83391
--- /dev/null
+++ b/mail/enigmail/pkg-install
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+if test "$2" = "POST-INSTALL"; then
+cat << EOF >> ${PKG_PREFIX}/lib/mozilla/chrome/installed-chrome.txt
+skin,install,url,jar:resource:/chrome/enigmime.jar!/content/enigmime/
+locale,install,url,jar:resource:/chrome/enigmime.jar!/content/enigmime/
+content,install,url,jar:resource:/chrome/enigmime.jar!/content/enigmime/
+skin,install,url,jar:resource:/chrome/enigmail.jar!/content/enigmail/
+locale,install,url,jar:resource:/chrome/enigmail.jar!/content/enigmail/
+content,install,url,jar:resource:/chrome/enigmail.jar!/content/enigmail/
+skin,install,url,jar:resource:/chrome/enigmail-skin.jar!/skin/modern/enigmail/
+skin,install,url,jar:resource:/chrome/enigmail-skin.jar!/skin/classic/enigmail/
+locale,install,url,jar:resource:/chrome/enigmail.jar!/locale/en-US/enigmail/
+EOF
+fi
diff --git a/mail/enigmail/pkg-message b/mail/enigmail/pkg-message
new file mode 100644
index 000000000..e20b967ea
--- /dev/null
+++ b/mail/enigmail/pkg-message
@@ -0,0 +1,7 @@
+*****************************************************************************
+You have to manually delete the components database (compreg.dat), located in
+your profile directory in order to use enigmail.
+
+If you upgraded Mozilla/Thunderbird from a previous release you have to
+remove also the XUL.mfasl file and the content of the chrome subdirectory.
+*****************************************************************************
diff --git a/mail/enigmail/pkg-plist b/mail/enigmail/pkg-plist
new file mode 100644
index 000000000..c1f4a711b
--- /dev/null
+++ b/mail/enigmail/pkg-plist
@@ -0,0 +1,11 @@
+%%LOCAL_SUBDIR%%/components/ipc.xpt
+%%LOCAL_SUBDIR%%/components/enigmime.xpt
+%%LOCAL_SUBDIR%%/components/libenigmime.so
+%%LOCAL_SUBDIR%%/components/enigmail.xpt
+%%LOCAL_SUBDIR%%/components/enigmail.js
+%%LOCAL_SUBDIR%%/components/enigprefs-service.js
+%%LOCAL_SUBDIR%%/chrome/enigmail.jar
+%%LOCAL_SUBDIR%%/chrome/enigmail-skin.jar
+%%LOCAL_SUBDIR%%/chrome/enigmail-skin-tbird.jar
+%%LOCAL_SUBDIR%%/chrome/enigmime.jar
+%%LOCAL_SUBDIR%%/defaults/pref/enigmail.js