summaryrefslogtreecommitdiff
path: root/mail/claws-mail
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2003-01-30 16:42:41 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2003-01-30 16:42:41 +0000
commit1cf692a5bfd43e55f94f812fd252dde299081fe4 (patch)
treeb8c22ada0b41189070c050aa6222043b1c02d689 /mail/claws-mail
parentUpdate to 1.1. (diff)
o update sylpheed-claws to to upstream version 0.8.9
o modify libtool handling o add new knob WITH_SA_PLUG to enable the spamassassin plugin PR: ports/47670 Submitted by: Simon 'corecode' Schubert <corecode@corecode.ath.cx> (maintainer)
Notes
Notes: svn path=/head/; revision=74287
Diffstat (limited to 'mail/claws-mail')
-rw-r--r--mail/claws-mail/Makefile16
-rw-r--r--mail/claws-mail/distinfo2
-rw-r--r--mail/claws-mail/files/patch-configure18
-rw-r--r--mail/claws-mail/files/patch-src-common-Makefile.in8
-rw-r--r--mail/claws-mail/files/patch-tools-launch_phoenix17
-rw-r--r--mail/claws-mail/pkg-plist5
6 files changed, 49 insertions, 17 deletions
diff --git a/mail/claws-mail/Makefile b/mail/claws-mail/Makefile
index ef7de03c445b..04de130f5590 100644
--- a/mail/claws-mail/Makefile
+++ b/mail/claws-mail/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= sylpheed-claws
-PORTVERSION= 0.8.8
+PORTVERSION= 0.8.9
CATEGORIES= mail news ipv6
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= sylpheed-claws
@@ -33,7 +33,7 @@ MAN1= sylpheed-claws.1
CONFIGURE_ARGS= --program-suffix="-claws" --enable-ipv6
-CONFIGURE_ENV= CFLAGS="${CFLAGS}" CPPFLAGS="-I${LOCALBASE}/include" \
+CONFIGURE_ENV= CFLAGS="${CFLAGS}" CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
LIBS="-L${X11BASE}/lib -L${LOCALBASE}/lib"
.if defined(WITH_PIXBUF) || defined(WITH_ALL)
@@ -72,6 +72,10 @@ LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap2
CONFIGURE_ARGS+= --enable-ldap
CONFIGURE_ENV+= PTHREAD_LIBS=${PTHREAD_LIBS:S/"//g}
.endif
+.if defined(WITH_SA_PLUG) || defined(WITH_ALL)
+RUN_DEPENDS+= spamd:${PORTSDIR}/mail/p5-Mail-SpamAssassin
+CONFIGURE_ARGS+= --enable-spamassassin-plugin
+.endif
.if !defined(WITHOUT_SSL)
USE_OPENSSL= yes
CONFIGURE_ARGS+= --enable-openssl
@@ -95,6 +99,7 @@ pre-everything::
@${ECHO} " WITH_ASPELL Enable spell-checking support"
@${ECHO} " WITH_JPILOT Enable JPilot support"
@${ECHO} " WITH_LDAP Enable LDAP access support"
+ @${ECHO} " WITH_SA_PLUG Build Spamassassin plugin"
@${ECHO} ""
@${ECHO} " WITHOUT_SSL Disable OpenSSL support"
@${ECHO} " WITHOUT_THEMES Don't install additional themes"
@@ -116,9 +121,6 @@ post-patch:
@${REINPLACE_CMD} -e 's|src manual faq tools|src tools|' ${WRKSRC}/Makefile.in
.endif
-pre-build:
- @${LN} -sf ${LOCALBASE}/bin/${LIBTOOL} ${WRKSRC}/libtool
-
post-install:
.if !defined(NOPORTDOCS)
.for i in NEWS README README.jp README.claws RELEASE_NOTES.claws TODO TODO.jp tools/README.sylprint
@@ -131,8 +133,8 @@ post-install:
${INSTALL_SCRIPT} OOo2sylpheed.pl calypso_convert.pl \
eud2gc.py filter_conv.pl gif2xface.pl google_msgid.pl \
gpg-sign-syl kmail2sylpheed.pl kmail2sylpheed_v2.pl \
- newscache_clean.pl outlook2sylpheed.pl tb2sylpheed \
- update-po uudec ${DATADIR}
+ launch_phoenix newscache_clean.pl outlook2sylpheed.pl \
+ tb2sylpheed update-po uudec ${DATADIR}
.if !defined(WITHOUT_THEMES)
@${MKDIR} ${DATADIR}/themes
@cd ${WRKDIR}/${THEMEFILE:C/.tar.gz//} && for d in `find .`; do \
diff --git a/mail/claws-mail/distinfo b/mail/claws-mail/distinfo
index 9bc3f85c08ba..e9c9930e46a1 100644
--- a/mail/claws-mail/distinfo
+++ b/mail/claws-mail/distinfo
@@ -1,2 +1,2 @@
-MD5 (sylpheed-0.8.8claws.tar.bz2) = e61d2fcb760bd509194437c65214c4b8
+MD5 (sylpheed-0.8.9claws.tar.bz2) = c32f8a445b219694e827e7d370d6d487
MD5 (sylpheed-0.8.7claws-iconset.tar.gz) = 8159ffe656dc4256c1648fdd458945fb
diff --git a/mail/claws-mail/files/patch-configure b/mail/claws-mail/files/patch-configure
index 42d486c90bcd..4ad7933e4f6f 100644
--- a/mail/claws-mail/files/patch-configure
+++ b/mail/claws-mail/files/patch-configure
@@ -1,6 +1,6 @@
---- configure.orig Thu Dec 26 12:42:31 2002
-+++ configure Fri Dec 27 22:36:31 2002
-@@ -1501,7 +1501,7 @@
+--- configure.orig Fri Jan 24 13:41:56 2003
++++ configure Thu Jan 30 03:24:00 2003
+@@ -1502,7 +1502,7 @@
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
@@ -9,7 +9,7 @@
MAJOR_VERSION=0
MINOR_VERSION=8
-@@ -1999,7 +1999,7 @@
+@@ -2000,7 +2000,7 @@
fi
@@ -18,7 +18,15 @@
SYLPHEED_GNOME_TRUE=
SYLPHEED_GNOME_FALSE='#'
else
-@@ -12093,9 +12093,9 @@
+@@ -8472,6 +8472,7 @@
+
+ # This can be used to rebuild libtool when needed
+ LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
++$ac_aux_dir/ltconfig $LIBTOOL_DEPS
+
+ # Always use our own libtool.
+ LIBTOOL='$(SHELL) $(top_builddir)/libtool'
+@@ -12094,9 +12095,9 @@
localedir='${prefix}/${DATADIRNAME}/locale'
diff --git a/mail/claws-mail/files/patch-src-common-Makefile.in b/mail/claws-mail/files/patch-src-common-Makefile.in
index 7df82597663f..4b2e83567aab 100644
--- a/mail/claws-mail/files/patch-src-common-Makefile.in
+++ b/mail/claws-mail/files/patch-src-common-Makefile.in
@@ -1,11 +1,11 @@
---- src/common/Makefile.in.orig Thu Dec 26 12:42:26 2002
-+++ src/common/Makefile.in Fri Dec 27 22:47:48 2002
+--- src/common/Makefile.in.orig Fri Jan 24 13:41:49 2003
++++ src/common/Makefile.in Thu Jan 30 01:34:01 2003
@@ -58,7 +58,7 @@
CFLAGS = @CFLAGS@
CPP = @CPP@
-CPPFLAGS = \
+CPPFLAGS = @CPPFLAGS@ \
+ $(GLIB_CFLAGS) \
+ $(OPENSSL_CFLAGS) \
-DLOCALEDIR=\""$(localedir)"\"
-
- CYGPATH_W = @CYGPATH_W@
diff --git a/mail/claws-mail/files/patch-tools-launch_phoenix b/mail/claws-mail/files/patch-tools-launch_phoenix
new file mode 100644
index 000000000000..be8bb323529d
--- /dev/null
+++ b/mail/claws-mail/files/patch-tools-launch_phoenix
@@ -0,0 +1,17 @@
+--- tools/launch_phoenix.orig Wed Jan 8 10:53:19 2003
++++ tools/launch_phoenix Thu Jan 30 01:31:21 2003
+@@ -1,4 +1,4 @@
+-#!/bin/bash
++#!/bin/sh
+
+ # Copyright © 2002 Mohammed Sameer <Uniball@linux-egypt.org>
+ #
+@@ -39,7 +39,7 @@
+
+ STR=`phoenix -remote "ping()" 2>&1 | grep No`
+ #echo $STR
+-if [[ "$STR" == "No running window found." ]]; then
++if [ "$STR" = "No running window found." ]; then
+ phoenix_new;
+ else
+ phoenix_running;
diff --git a/mail/claws-mail/pkg-plist b/mail/claws-mail/pkg-plist
index 2f64a5bcd79a..1aa9c1d696f9 100644
--- a/mail/claws-mail/pkg-plist
+++ b/mail/claws-mail/pkg-plist
@@ -2,6 +2,8 @@ bin/sylpheed-claws
bin/sylpheed-switcher
bin/sylprint.pl
etc/sylprint.rc.example
+lib/sylpheed-claws/plugins/spamassassin.so
+lib/sylpheed-claws/plugins/spamassassin_gtk.so
%%PORTDOCS%%share/doc/sylpheed-claws/NEWS
%%PORTDOCS%%share/doc/sylpheed-claws/README
%%PORTDOCS%%share/doc/sylpheed-claws/README.claws
@@ -165,6 +167,7 @@ share/sylpheed-claws/google_msgid.pl
share/sylpheed-claws/gpg-sign-syl
share/sylpheed-claws/kmail2sylpheed.pl
share/sylpheed-claws/kmail2sylpheed_v2.pl
+share/sylpheed-claws/launch_phoenix
share/sylpheed-claws/newscache_clean.pl
share/sylpheed-claws/outlook2sylpheed.pl
share/sylpheed-claws/tb2sylpheed
@@ -770,3 +773,5 @@ share/sylpheed-claws/uudec
%%PORTDOCS%%@dirrm share/doc/sylpheed-claws/faq/de
%%PORTDOCS%%@dirrm share/doc/sylpheed-claws/faq
%%PORTDOCS%%@dirrm share/doc/sylpheed-claws
+@dirrm lib/sylpheed-claws/plugins
+@dirrm lib/sylpheed-claws