aboutsummaryrefslogtreecommitdiff
path: root/mail/claws-mail-cachesaver
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2006-04-29 14:45:36 +0000
committerPav Lucistnik <pav@FreeBSD.org>2006-04-29 14:45:36 +0000
commitf99a190e727c9659418e09219f8bcafc597fdd7c (patch)
tree3693409531a7e8791c4ade368177bce694106111 /mail/claws-mail-cachesaver
parent70857128b218e2cbf5a24253b8c41dc7eae5864a (diff)
downloadports-f99a190e727c9659418e09219f8bcafc597fdd7c.tar.gz
ports-f99a190e727c9659418e09219f8bcafc597fdd7c.zip
Notes
Diffstat (limited to 'mail/claws-mail-cachesaver')
-rw-r--r--mail/claws-mail-cachesaver/Makefile28
-rw-r--r--mail/claws-mail-cachesaver/distinfo3
-rw-r--r--mail/claws-mail-cachesaver/files/patch-configure.ac15
-rw-r--r--mail/claws-mail-cachesaver/pkg-descr2
4 files changed, 48 insertions, 0 deletions
diff --git a/mail/claws-mail-cachesaver/Makefile b/mail/claws-mail-cachesaver/Makefile
new file mode 100644
index 000000000000..3c91da4a156a
--- /dev/null
+++ b/mail/claws-mail-cachesaver/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: sylpheed-claws-cachesaver
+# Date created: 3 April 2006
+# Whom: Pawel Pekala <c0rn@o2.pl>
+#
+# $FreeBSD$
+#
+
+PORTNAME= cachesaver
+PORTVERSION= 0.7
+CATEGORIES= mail
+MASTER_SITES= http://claws.sylpheed.org/downloads/
+PKGNAMEPREFIX= sylpheed-claws-
+
+MAINTAINER= c0rn@o2.pl
+COMMENT= Cache saving plugin for sylpheed-claws
+
+BUILD_DEPENDS= sylpheed-claws:${PORTSDIR}/mail/sylpheed-claws
+RUN_DEPENDS= sylpheed-claws:${PORTSDIR}/mail/sylpheed-claws
+
+USE_GMAKE= yes
+USE_X_PREFIX= yes
+USE_AUTOTOOLS= autoconf:259
+
+PLIST_FILES= lib/sylpheed-claws/plugins/cachesaver.a \
+ lib/sylpheed-claws/plugins/cachesaver.la \
+ lib/sylpheed-claws/plugins/cachesaver.so
+
+.include <bsd.port.mk>
diff --git a/mail/claws-mail-cachesaver/distinfo b/mail/claws-mail-cachesaver/distinfo
new file mode 100644
index 000000000000..0638c68c497e
--- /dev/null
+++ b/mail/claws-mail-cachesaver/distinfo
@@ -0,0 +1,3 @@
+MD5 (cachesaver-0.7.tar.gz) = 314c18a0113e9008843bfb352b72465c
+SHA256 (cachesaver-0.7.tar.gz) = 3a5d0ba997d058b1291db61017740b1614961c76ac1f6f3c92eab74fb9287344
+SIZE (cachesaver-0.7.tar.gz) = 318917
diff --git a/mail/claws-mail-cachesaver/files/patch-configure.ac b/mail/claws-mail-cachesaver/files/patch-configure.ac
new file mode 100644
index 000000000000..f29e22fc7dd6
--- /dev/null
+++ b/mail/claws-mail-cachesaver/files/patch-configure.ac
@@ -0,0 +1,15 @@
+--- configure.ac.orig Wed Apr 5 20:04:28 2006
++++ configure.ac Wed Apr 5 20:06:27 2006
+@@ -30,7 +30,11 @@
+ PKG_CHECK_MODULES(SYLPHEED_CLAWS, sylpheed-claws >= 1.9.100.93)
+ AC_SUBST(SYLPHEED_CLAWS_CFLAGS)
+ AC_SUBST(SYLPHEED_CLAWS_LIBS)
+-SYLPHEED_CLAWS_PLUGINDIR=$( $PKG_CONFIG --variable=plugindir sylpheed-claws )
++if test -z $prefix ; then
++ SYLPHEED_CLAWS_PLUGINDIR=$( $PKG_CONFIG --variable=plugindir sylpheed-claws )
++else
++ SYLPHEED_CLAWS_PLUGINDIR=$prefix/lib/sylpheed-claws/plugins
++fi
+ AC_SUBST(SYLPHEED_CLAWS_PLUGINDIR)
+
+ #
diff --git a/mail/claws-mail-cachesaver/pkg-descr b/mail/claws-mail-cachesaver/pkg-descr
new file mode 100644
index 000000000000..f3f505262254
--- /dev/null
+++ b/mail/claws-mail-cachesaver/pkg-descr
@@ -0,0 +1,2 @@
+This plugin saves the caches every 60 seconds (or user-defined period).
+It helps avoiding the loss of metadata on crashes.