diff --git a/mail/claws-mail-vcalendar/Makefile b/mail/claws-mail-vcalendar/Makefile new file mode 100644 index 00000000000..c2626484e2f --- /dev/null +++ b/mail/claws-mail-vcalendar/Makefile @@ -0,0 +1,42 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2007/07/26 13:59:28 ajacoutot Exp $ + +SHARED_ONLY= Yes + +COMMENT= groupware plugin for Claws-mail + +VERSION= 1.96 +DISTNAME= vcalendar-${VERSION} +PKGNAME= claws-mail-vcalendar-${VERSION} +MASTER_SITES= http://www.claws-mail.org/downloads/plugins/ +CATEGORIES= mail + +HOMEPAGE= http://www.claws-mail.org/plugin.php?plugin=vcalendar +MAINTAINER= Landry Breuil + +# GPL +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +USE_X11= Yes +USE_LIBTOOL= Yes +LIBTOOL_FLAGS= --tag=disable-static + +MODULES= devel/gettext + +RUN_DEPENDS= ::mail/claws-mail +BUILD_DEPENDS= ${RUN_DEPENDS} + +WANTLIB= X11 Xau Xcursor Xdmcp Xext Xfixes Xi Xinerama Xrandr \ + Xrender crypto fontconfig freetype m ssl z expat iconv intl \ + atk-1.0 pango-1.0 pangoft2-1.0 pangocairo-1.0 cairo glitz png \ + gdk-x11-2.0 gdk_pixbuf-2.0 glib-2.0 gmodule-2.0 gobject-2.0 \ + gtk-x11-2.0 curl idn + +CONFIGURE_STYLE=gnu +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib -liconv -lintl" +CONFIGURE_ARGS= --disable-static + +.include diff --git a/mail/claws-mail-vcalendar/distinfo b/mail/claws-mail-vcalendar/distinfo new file mode 100644 index 00000000000..24372adb029 --- /dev/null +++ b/mail/claws-mail-vcalendar/distinfo @@ -0,0 +1,5 @@ +MD5 (vcalendar-1.96.tar.gz) = LSlmYgO2UVxn7MsgP6sRkA== +RMD160 (vcalendar-1.96.tar.gz) = 4PNsEixLIhpFXQwbv7aFTN46Dl8= +SHA1 (vcalendar-1.96.tar.gz) = ZPrBOC4DhaCf+E01Tg1eODjFtXE= +SHA256 (vcalendar-1.96.tar.gz) = UUSDqi3lvWN606ORhyAVZseHCT6Fmnke03Smvyn7huU= +SIZE (vcalendar-1.96.tar.gz) = 747018 diff --git a/mail/claws-mail-vcalendar/patches/patch-configure b/mail/claws-mail-vcalendar/patches/patch-configure new file mode 100644 index 00000000000..be7927b4070 --- /dev/null +++ b/mail/claws-mail-vcalendar/patches/patch-configure @@ -0,0 +1,17 @@ +$OpenBSD: patch-configure,v 1.1.1.1 2007/07/26 13:59:28 ajacoutot Exp $ +--- configure.orig Tue Jul 3 11:13:43 2007 ++++ configure Thu Jul 26 15:27:08 2007 +@@ -21794,12 +21794,11 @@ cat >>conftest.$ac_ext <<_ACEOF + #include + $gt_revision_test_code + extern int _nl_msg_cat_cntr; +-extern int *_nl_domain_bindings; + int + main () + { + bindtextdomain ("", ""); +-return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings ++return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + ; + return 0; + } diff --git a/mail/claws-mail-vcalendar/patches/patch-libical_libical_Makefile_in b/mail/claws-mail-vcalendar/patches/patch-libical_libical_Makefile_in new file mode 100644 index 00000000000..a0ff72774f6 --- /dev/null +++ b/mail/claws-mail-vcalendar/patches/patch-libical_libical_Makefile_in @@ -0,0 +1,12 @@ +$OpenBSD: patch-libical_libical_Makefile_in,v 1.1.1.1 2007/07/26 13:59:28 ajacoutot Exp $ +--- libical/libical/Makefile.in.orig Thu Jul 26 15:06:21 2007 ++++ libical/libical/Makefile.in Thu Jul 26 15:06:52 2007 +@@ -324,7 +324,7 @@ libical_la_SOURCES = \ + vsnprintf.c \ + icallangbind.h + +-libicalincludedir = $(includedir) ++libicalincludedir = $(includedir)/claws-mail + libicalinclude_HEADERS = ical.h + + # ORDERING OF HEADERS IS SIGNIFICANT. Don't change this ordering. It diff --git a/mail/claws-mail-vcalendar/pkg/DESCR b/mail/claws-mail-vcalendar/pkg/DESCR new file mode 100644 index 00000000000..22ce8897825 --- /dev/null +++ b/mail/claws-mail-vcalendar/pkg/DESCR @@ -0,0 +1,12 @@ +This plugin enables vCalendar message handling like the ones produced by +Evolution or Outlook, and handles webCal subscriptions. It provides a +personal calendar and public calendar import and export as well as +groupware features for Claws Mail, namely: + * receiving meeting invitations (displaying, answering, planning) + * sending meeting invitations + * publishing your calendar(s) and/or your free/busy status, in order to + help others plan meetings + * subscribing to public calendars + * retrieving the free/busy status of people, to help in planning + meetings + * reminding you of events in advance diff --git a/mail/claws-mail-vcalendar/pkg/PLIST b/mail/claws-mail-vcalendar/pkg/PLIST new file mode 100644 index 00000000000..57ea33f07e8 --- /dev/null +++ b/mail/claws-mail-vcalendar/pkg/PLIST @@ -0,0 +1,16 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2007/07/26 13:59:28 ajacoutot Exp $ +include/claws-mail/ical.h +lib/claws-mail/plugins/vcalendar.la +lib/claws-mail/plugins/vcalendar.so +share/locale/ca/LC_MESSAGES/vcalendar.mo +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/hu/LC_MESSAGES/vcalendar.mo +share/locale/it/LC_MESSAGES/vcalendar.mo +share/locale/pl/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