aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2004-05-04 06:36:41 +0800
committerale <ale@FreeBSD.org>2004-05-04 06:36:41 +0800
commit872dad5d41a9458b4e1b419b094ab1729f7f9313 (patch)
treedf0b38d15d93bce622aa3ab6232923999562ed36
parent1fa31eec175165c2c05a5e9ff7d2916f22a2f589 (diff)
downloadfreebsd-ports-gnome-872dad5d41a9458b4e1b419b094ab1729f7f9313.tar.gz
freebsd-ports-gnome-872dad5d41a9458b4e1b419b094ab1729f7f9313.tar.zst
freebsd-ports-gnome-872dad5d41a9458b4e1b419b094ab1729f7f9313.zip
- support for thunderbird 0.6
- bump PORTREVISION
-rw-r--r--mail/enigmail-thunderbird/Makefile3
-rw-r--r--mail/enigmail-thunderbird/pkg-deinstall2
-rw-r--r--mail/enigmail-thunderbird/pkg-install2
-rw-r--r--mail/enigmail/Makefile8
4 files changed, 12 insertions, 3 deletions
diff --git a/mail/enigmail-thunderbird/Makefile b/mail/enigmail-thunderbird/Makefile
index e7a0e9f706cc..ef525bc7c51f 100644
--- a/mail/enigmail-thunderbird/Makefile
+++ b/mail/enigmail-thunderbird/Makefile
@@ -5,6 +5,7 @@
# $FreeBSD$
#
+PORTREVISION= 1
PKGNAMESUFFIX= -thunderbird
COMMENT= A GnuPG extension for the Thunderbird mail client
@@ -18,6 +19,6 @@ PKGINSTALL= ${.CURDIR}/pkg-install
PKGDEINSTALL= ${.CURDIR}/pkg-deinstall
LOCAL_SRCDIR= mail/thunderbird
-LOCAL_SUBDIR= lib/thunderbird/lib/mozilla-1.6
+LOCAL_SUBDIR= lib/thunderbird/lib/thunderbird-0.6
.include "${MASTERDIR}/Makefile"
diff --git a/mail/enigmail-thunderbird/pkg-deinstall b/mail/enigmail-thunderbird/pkg-deinstall
index c9b2120fc448..c240267ca644 100644
--- a/mail/enigmail-thunderbird/pkg-deinstall
+++ b/mail/enigmail-thunderbird/pkg-deinstall
@@ -1,7 +1,7 @@
#!/bin/sh
if test "$2" = "POST-DEINSTALL"; then
-FILE=${PKG_PREFIX}/lib/thunderbird/lib/mozilla-1.6/chrome/installed-chrome.txt
+FILE=${PKG_PREFIX}/lib/thunderbird/lib/thunderbird-0.6/chrome/installed-chrome.txt
cp ${FILE} ${FILE}.orig
cat ${FILE}.orig | grep -v enigmail > ${FILE}
rm ${FILE}.orig
diff --git a/mail/enigmail-thunderbird/pkg-install b/mail/enigmail-thunderbird/pkg-install
index f2b33c1b5e66..dae8c8c395cd 100644
--- a/mail/enigmail-thunderbird/pkg-install
+++ b/mail/enigmail-thunderbird/pkg-install
@@ -1,7 +1,7 @@
#!/bin/sh
if test "$2" = "POST-INSTALL"; then
-cat << EOF >> ${PKG_PREFIX}/lib/thunderbird/lib/mozilla-1.6/chrome/installed-chrome.txt
+cat << EOF >> ${PKG_PREFIX}/lib/thunderbird/lib/thunderbird-0.6/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/
diff --git a/mail/enigmail/Makefile b/mail/enigmail/Makefile
index c6a546a20830..799fb3371e42 100644
--- a/mail/enigmail/Makefile
+++ b/mail/enigmail/Makefile
@@ -7,6 +7,7 @@
PORTNAME= enigmail
PORTVERSION= 0.83.6
+PORTREVISION?= 0
CATEGORIES= mail security
MASTER_SITES= http://mozdev.secsup.org/enigmail/src/ \
http://downloads.us-east3.mozdev.org/enigmail/src/
@@ -21,6 +22,7 @@ RUN_DEPENDS?= mozilla:${PORTSDIR}/${LOCAL_SRCDIR}
USE_X_PREFIX= yes
USE_GMAKE= yes
+USE_REINPLACE= yes
WRKSRC= ${WRKDIR}/mozilla
LOCAL_SRCDIR?= www/mozilla
@@ -41,6 +43,12 @@ do-extract:
cd ${WRKSRC}/extensions && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/$$file ${EXTRACT_AFTER_ARGS}; \
done
+pre-patch:
+ @${REINPLACE_CMD} -e "s|${LOCAL_SRCDIR}|mail/enigmail${PKGNAMESUFFIX}|g" \
+ ${WRKSRC}/config/autoconf.mk \
+ ${WRKSRC}/directory/c-sdk/config/autoconf.mk \
+ ${WRKSRC}/nsprpub/config/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})