aboutsummaryrefslogtreecommitdiffstats
path: root/mail/claws-mail-vcalendar
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2006-04-29 23:12:29 +0800
committerpav <pav@FreeBSD.org>2006-04-29 23:12:29 +0800
commit84627facfb407297af9b8792dd80d812244e0f07 (patch)
treea2fc7615c8e193c0f7c4b531e060c5537c000ba1 /mail/claws-mail-vcalendar
parenta1befec5bd254ce1607d853567d6d6a0bbd3d0f8 (diff)
downloadfreebsd-ports-gnome-84627facfb407297af9b8792dd80d812244e0f07.tar.gz
freebsd-ports-gnome-84627facfb407297af9b8792dd80d812244e0f07.tar.zst
freebsd-ports-gnome-84627facfb407297af9b8792dd80d812244e0f07.zip
This plugin enables vCalendar message handling like that produced by
Evolution or Outlook, and handles webCal subscriptions. PR: ports/95547 Submitted by: Pawel Pekala <c0rn@o2.pl>
Diffstat (limited to 'mail/claws-mail-vcalendar')
-rw-r--r--mail/claws-mail-vcalendar/Makefile33
-rw-r--r--mail/claws-mail-vcalendar/distinfo3
-rw-r--r--mail/claws-mail-vcalendar/files/patch-configure.ac30
-rw-r--r--mail/claws-mail-vcalendar/files/patch-vcalendar.c10
-rw-r--r--mail/claws-mail-vcalendar/pkg-descr2
-rw-r--r--mail/claws-mail-vcalendar/pkg-plist13
6 files changed, 91 insertions, 0 deletions
diff --git a/mail/claws-mail-vcalendar/Makefile b/mail/claws-mail-vcalendar/Makefile
new file mode 100644
index 000000000000..845e88aa30c3
--- /dev/null
+++ b/mail/claws-mail-vcalendar/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: sylpheed-claws-vcalendar
+# Date created: 3 April 2006
+# Whom: Pawel Pekala <c0rn@o2.pl>
+#
+# $FreeBSD$
+#
+
+PORTNAME= vcalendar
+PORTVERSION= 1.71
+CATEGORIES= mail
+MASTER_SITES= http://claws.sylpheed.org/downloads/plugins/
+PKGNAMEPREFIX= sylpheed-claws-
+
+MAINTAINER= c0rn@o2.pl
+COMMENT= vCalendar plugin for sylpheed-claws
+
+LIB_DEPENDS= curl.3:${PORTSDIR}/ftp/curl
+BUILD_DEPENDS= sylpheed-claws>=2.1:${PORTSDIR}/mail/sylpheed-claws
+RUN_DEPENDS= sylpheed-claws>=2.1:${PORTSDIR}/mail/sylpheed-claws
+
+USE_GMAKE= yes
+USE_GETTEXT= yes
+USE_ICONV= yes
+USE_X_PREFIX= yes
+USE_AUTOTOOLS= autoconf:259
+
+CONFIGURE_ARGS= --with-libiconv-prefix=${LOCALBASE} \
+ --with-libintl-prefix=${LOCALBASE}
+
+pre-configure:
+ @cd ${WRKDIR}/${PORTNAME}-${PORTVERSION} && ${AUTOHEADER}
+
+.include <bsd.port.mk>
diff --git a/mail/claws-mail-vcalendar/distinfo b/mail/claws-mail-vcalendar/distinfo
new file mode 100644
index 000000000000..15f5198d377e
--- /dev/null
+++ b/mail/claws-mail-vcalendar/distinfo
@@ -0,0 +1,3 @@
+MD5 (vcalendar-1.71.tar.gz) = 96a72c8020c1458ee83d3cd9569a8f64
+SHA256 (vcalendar-1.71.tar.gz) = e5a11feeaf2791d20e207af04fd14d8458b0c5da5dc6a58b854c7ec84b51094e
+SIZE (vcalendar-1.71.tar.gz) = 664712
diff --git a/mail/claws-mail-vcalendar/files/patch-configure.ac b/mail/claws-mail-vcalendar/files/patch-configure.ac
new file mode 100644
index 000000000000..2a50a8b67417
--- /dev/null
+++ b/mail/claws-mail-vcalendar/files/patch-configure.ac
@@ -0,0 +1,30 @@
+--- configure.ac.orig Mon Mar 27 09:54:25 2006
++++ configure.ac Sun Apr 9 17:03:45 2006
+@@ -41,10 +41,16 @@
+ PKG_CHECK_MODULES(SYLPHEED_CLAWS, sylpheed-claws >= 2.0.0.94)
+ 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)
+
+-prefix=$( $PKG_CONFIG --variable=prefix sylpheed-claws )
++if test -z $prefix ; then
++ prefix=$( $PKG_CONFIG --variable=prefix sylpheed-claws )
++fi
+ localedir="${prefix}/share/locale"
+ AC_ARG_WITH(localedir,
+ [ --with-localedir=DIR Locale directory],
+@@ -120,7 +126,7 @@
+ AC_DEFINE(ICAL_SAFESAVES, 1, [safesaves])
+ AC_DEFINE(ICAL_UNIX_NEWLINE, 1, [unix newline])
+
+-AC_CHECK_HEADERS(time.h sys/types.h assert.h)
++AC_CHECK_HEADERS(time.h sys/types.h assert.h wchar.h)
+
+ dnl Checks for typedefs, structures, and compiler characteristics.
+ AC_C_CONST
diff --git a/mail/claws-mail-vcalendar/files/patch-vcalendar.c b/mail/claws-mail-vcalendar/files/patch-vcalendar.c
new file mode 100644
index 000000000000..94a37f256fda
--- /dev/null
+++ b/mail/claws-mail-vcalendar/files/patch-vcalendar.c
@@ -0,0 +1,10 @@
+--- src/vcalendar.c.orig Mon Apr 3 21:48:28 2006
++++ src/vcalendar.c Mon Apr 3 21:50:19 2006
+@@ -26,6 +26,7 @@
+ #include <ical.h>
+ #include "gettext.h"
+ #include <gtk/gtk.h>
++#include <pthread.h>
+
+ #include "mimeview.h"
+ #include "utils.h"
diff --git a/mail/claws-mail-vcalendar/pkg-descr b/mail/claws-mail-vcalendar/pkg-descr
new file mode 100644
index 000000000000..62de4aba2703
--- /dev/null
+++ b/mail/claws-mail-vcalendar/pkg-descr
@@ -0,0 +1,2 @@
+This plugin enables vCalendar message handling like that produced by
+Evolution or Outlook, and handles webCal subscriptions.
diff --git a/mail/claws-mail-vcalendar/pkg-plist b/mail/claws-mail-vcalendar/pkg-plist
new file mode 100644
index 000000000000..e8a6a6250162
--- /dev/null
+++ b/mail/claws-mail-vcalendar/pkg-plist
@@ -0,0 +1,13 @@
+include/ical.h
+lib/sylpheed-claws/plugins/vcalendar.so
+lib/sylpheed-claws/plugins/vcalendar.la
+lib/sylpheed-claws/plugins/vcalendar.a
+share/locale/de/LC_MESSAGES/vcalendar.mo
+share/locale/es/LC_MESSAGES/vcalendar.mo
+share/locale/fi/LC_MESSAGES/vcalendar.mo
+share/locale/fr/LC_MESSAGES/vcalendar.mo
+share/locale/it/LC_MESSAGES/vcalendar.mo
+share/locale/pt_BR/LC_MESSAGES/vcalendar.mo
+share/locale/sk/LC_MESSAGES/vcalendar.mo
+share/locale/sr/LC_MESSAGES/vcalendar.mo
+share/locale/zh_CN/LC_MESSAGES/vcalendar.mo