summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--comms/gnokii/Makefile162
-rw-r--r--comms/gnokii/distinfo3
-rw-r--r--comms/gnokii/files/patch-Docs-man-Makefile.in11
-rw-r--r--comms/gnokii/files/patch-Makefile.in14
-rw-r--r--comms/gnokii/files/patch-common-Makefile.in12
-rw-r--r--comms/gnokii/files/patch-common-devices-unixbluetooth.c321
-rw-r--r--comms/gnokii/files/patch-configure134
-rw-r--r--comms/gnokii/files/patch-gnokii-Makefile.in11
-rw-r--r--comms/gnokii/files/patch-gnokii-gnokii-security.c17
-rw-r--r--comms/gnokii/files/patch-gnokii-gnokii-utils.c11
-rw-r--r--comms/gnokii/files/patch-gnokii-gnokii.c11
-rw-r--r--comms/gnokii/files/patch-gnokiid-Makefile.in22
-rw-r--r--comms/gnokii/files/patch-gnokiirc29
-rw-r--r--comms/gnokii/files/patch-smsd-Makefile.in22
-rw-r--r--comms/gnokii/files/patch-xgnokii-Makefile.in21
-rw-r--r--comms/gnokii/files/pkg-message.in13
-rw-r--r--comms/gnokii/files/smsd-Makefile-WITH_GLIB.diff21
-rw-r--r--comms/gnokii/pkg-descr10
-rw-r--r--comms/gnokii/pkg-install41
-rw-r--r--comms/gnokii/pkg-plist126
-rw-r--r--deskutils/kdepimlibs4/Makefile44
-rw-r--r--deskutils/kdepimlibs4/distinfo3
-rw-r--r--deskutils/kdepimlibs4/files/patch-CMakeLists.txt11
-rw-r--r--deskutils/kdepimlibs4/files/patch-cmake-modules_FindLibical.cmake11
-rw-r--r--deskutils/kdepimlibs4/pkg-descr11
-rw-r--r--deskutils/kdepimlibs4/pkg-plist510
-rw-r--r--deskutils/orage/Makefile51
-rw-r--r--deskutils/orage/distinfo3
-rw-r--r--deskutils/orage/pkg-descr6
-rw-r--r--deskutils/orage/pkg-plist499
-rw-r--r--misc/wmcalendar/Makefile44
-rw-r--r--misc/wmcalendar/distinfo3
-rw-r--r--misc/wmcalendar/files/patch-calendar.c20
-rw-r--r--misc/wmcalendar/files/patch-calendar.h8
-rw-r--r--misc/wmcalendar/files/patch-calendarfunc.h11
-rw-r--r--misc/wmcalendar/pkg-descr4
36 files changed, 2251 insertions, 0 deletions
diff --git a/comms/gnokii/Makefile b/comms/gnokii/Makefile
new file mode 100644
index 000000000..c2f7a043b
--- /dev/null
+++ b/comms/gnokii/Makefile
@@ -0,0 +1,162 @@
+# New ports collection makefile for: gnokii
+# Date created: 15 March 1999
+# Whom: Staffan Ulfberg <staffanu@multivac.fatburen.org>
+#
+# $FreeBSD:$
+#
+
+PORTNAME= gnokii
+PORTVERSION= 0.6.27
+PORTREVISION= 2
+PORTEPOCH= 1
+CATEGORIES= comms
+MASTER_SITES= http://www.gnokii.org/download/gnokii/ \
+ ftp://ftp.gnokii.org/pub/gnokii/ \
+ http://www.gnokii.org/download/gnokii/0.6.x/
+
+MAINTAINER= mad@madpilot.net
+COMMENT= Tools to talk to GSM cellular phones
+
+BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser
+
+USE_BZIP2= yes
+USE_GMAKE= yes
+USE_GETTEXT= yes
+USE_LDCONFIG= yes
+MAKE_JOBS_SAFE= yes
+WANT_GNOME= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --with-libintl-prefix=${LOCALBASE} --enable-security \
+ --with-xgnokiidir=${PREFIX}/share
+CONFIGURE_ENV+= MSGFMT="${LOCALBASE}/bin/msgfmt" \
+ XGETTEXT="${LOCALBASE}/bin/xgettext" \
+ CPPFLAGS="${CFLAGS} -I${LOCALBASE}/include -fPIC" \
+ LIBS="-L../common -L${LOCALBASE}/lib" \
+ PKG_CONFIG="${LOCALBASE}/bin/pkg-config"
+
+PKGDEINSTALL= ${PKGINSTALL}
+SUB_FILES+= pkg-message
+PORTDOCS= *
+MAN1= gnokii.1 sendsms.1
+MAN8= gnokiid.8 mgnokiidev.8
+
+CONFLICTS= smstools-[0-9]* sendsms-[0-9]*
+
+OPTIONS= ICAL "Build with IETF iCal support" off \
+ USB "Build with libusb support" off \
+ PCSC "Build with PC/SC-Lite support" off \
+ SMSD "Enable smsd daemon" off \
+ MYSQL "Enable MySQL support for smsd" off \
+ PGSQL "Enable PostgreSQL support for smsd" off \
+ X11 "Build graphical version (xgnokii)" on
+
+.include <bsd.port.pre.mk>
+
+.if exists(${LOCALBASE}/lib/libical.so) || defined(WITH_ICAL)
+LIB_DEPENDS+= ical.43:${PORTSDIR}/devel/libical
+.endif
+
+.if ${OSVERSION} < 800069
+. if exists(${LOCALBASE}/lib/libusb.so) || defined(WITH_USB)
+LIB_DEPENDS+= usb-0.1.8:${PORTSDIR}/devel/libusb
+. endif
+.endif
+
+.if exists(${LOCALBASE}/lib/libpcsclite.so) || defined(WITH_PCSC)
+LIB_DEPENDS+= pcsclite.1:${PORTSDIR}/devel/pcsc-lite
+.endif
+
+.if !defined(WITH_SMSD)
+PLIST_SUB+= SMSD='@comment ' MSM='@comment ' PGM='@comment '
+CONFIGURE_ARGS+= --disable-smsd
+.else
+PLIST_SUB+= SMSD=''
+USE_GNOME+= glib20
+MAN8+= smsd.8
+.if exists(${LOCALBASE}/lib/mysql/libmysqlclient.so) && !defined(WITHOUT_MYSQL)
+USE_MYSQL= yes
+PLIST_SUB+= MSM=''
+.else
+PLIST_SUB+= MSM='@comment '
+.endif
+.if exists(${LOCALBASE}/bin/psql) && !defined(WITHOUT_PGSQL)
+USE_PGSQL= yes
+PLIST_SUB+= PGM=''
+.else
+PLIST_SUB+= PGM='@comment '
+.endif
+.endif
+
+.if defined(WITHOUT_X11)
+CONFIGURE_ARGS+= --without-x
+PLIST_SUB+= X11='@comment '
+.else
+USE_XORG= xpm
+USE_GNOME+= gtk20
+PLIST_SUB+= X11=''
+MAN1+= xgnokii.1
+.endif
+
+FIXPREFIX= Docs/man/gnokiid.8 Docs/DataCalls-QuickStart Docs/README \
+ common/cfgreader.c po/et.po po/sl.po
+post-patch:
+.for f in ${FIXPREFIX}
+ @${REINPLACE_CMD} -e "s:/etc/gnokiirc:${PREFIX}/etc/gnokiirc:g" \
+ ${WRKSRC}/${f}
+.endfor
+ @${REINPLACE_CMD} -e "s:%%PTHREAD_LIBS%%:${PTHREAD_LIBS}:; \
+ s:%%PTHREAD_CFLAGS%%:${PTHREAD_CFLAGS}:" ${WRKSRC}/configure
+.for f in common/data/virtmodem.c utils/mgnokiidev.c
+ @${REINPLACE_CMD} -E -e "s:^(#ifdef.*)__OpenBSD__:\1__FreeBSD__:" \
+ ${WRKSRC}/${f}
+.endfor
+# fix test(1) conditions in configure script
+ @${REINPLACE_CMD} -E \
+ -e 's|([[:space:]]+test[[:space:]]+.+)==([[:space:]]+"yes")|\1=\2|' \
+ ${WRKSRC}/${CONFIGURE_SCRIPT}
+ @${MV} ${WRKSRC}/Docs/man/xgnokii.1x ${WRKSRC}/Docs/man/xgnokii.1
+
+post-build:
+.if defined(WITH_SMSD)
+.if defined(WITH_MYSQL)
+ @${REINPLACE_CMD} -e 's/^#libsmsd_mysql_la_SOURCES/libsmsd_mysql_la_SOURCES/' ${WRKSRC}/smsd/Makefile.in
+ @${REINPLACE_CMD} -e 's/^#libsmsd_mysql_la_LDFLAGS/libsmsd_mysql_la_LDFLAGS/' ${WRKSRC}/smsd/Makefile.in
+ @${REINPLACE_CMD} -e 's/^#libsmsd_mysql_la_LIBADD/libsmsd_mysql_la_LIBADD/' ${WRKSRC}/smsd/Makefile.in
+.endif
+.if defined(WITH_PGSQL)
+ @${REINPLACE_CMD} -e 's/^#libsmsd_pq_la_SOURCES/libsmsd_pq_la_SOURCES/' ${WRKSRC}/smsd/Makefile.in
+ @${REINPLACE_CMD} -e 's/^#libsmsd_pq_la_LDFLAGS/libsmsd_pq_la_LDFLAGS/' ${WRKSRC}/smsd/Makefile.in
+ @${REINPLACE_CMD} -e 's/^#libsmsd_pq_la_LIBADD/libsmsd_pq_la_LIBADD/' ${WRKSRC}/smsd/Makefile.in
+.endif
+.endif
+
+pre-install:
+ @${SETENV} "PKG_PREFIX=${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
+
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/xgnokii/xgnokii.pc ${PREFIX}/libdata/pkgconfig
+ @${SETENV} "PKG_PREFIX=${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
+.if !defined(NOPORTDOCS)
+ ${GMAKE} install -C ${WRKSRC}/Docs
+.else
+ ${GMAKE} install -C ${WRKSRC}/Docs/man
+.endif
+ ${INSTALL_DATA} ${WRKSRC}/Docs/sample/gnokiirc \
+ ${PREFIX}/etc/gnokiirc.sample
+.if defined(WITH_SMSD)
+ @cd ${WRKSRC}/smsd && ${GMAKE} install
+ ${MKDIR} ${PREFIX}/share/smsd
+ ${INSTALL_SCRIPT} ${WRKSRC}/smsd/action ${PREFIX}/share/smsd
+ ${INSTALL_DATA} ${WRKSRC}/smsd/README ${PREFIX}/share/smsd
+.if defined(WITH_MYSQL)
+ ${INSTALL_DATA} ${WRKSRC}/smsd/sms.tables.mysql.sql ${PREFIX}/share/smsd
+.endif
+.if defined(WITH_PGSQL)
+ ${INSTALL_DATA} ${WRKSRC}/smsd/sms.tables.pq.sql ${PREFIX}/share/smsd
+.endif
+.endif
+ @${ECHO_MSG}
+ @${CAT} ${PKGMESSAGE}
+ @${ECHO_MSG}
+
+.include <bsd.port.post.mk>
diff --git a/comms/gnokii/distinfo b/comms/gnokii/distinfo
new file mode 100644
index 000000000..8471bf243
--- /dev/null
+++ b/comms/gnokii/distinfo
@@ -0,0 +1,3 @@
+MD5 (gnokii-0.6.27.tar.bz2) = fd0ae7996a2e2a2c29e9f3c625df8f3d
+SHA256 (gnokii-0.6.27.tar.bz2) = 69f1d75f755a2918e9577cf28dacea9d6fca9b9d722813341d50d12acb8ee886
+SIZE (gnokii-0.6.27.tar.bz2) = 1491564
diff --git a/comms/gnokii/files/patch-Docs-man-Makefile.in b/comms/gnokii/files/patch-Docs-man-Makefile.in
new file mode 100644
index 000000000..38413ce17
--- /dev/null
+++ b/comms/gnokii/files/patch-Docs-man-Makefile.in
@@ -0,0 +1,11 @@
+--- Docs/man/Makefile.in.orig 2008-02-23 17:36:56.000000000 +0100
++++ Docs/man/Makefile.in 2008-02-23 17:52:50.000000000 +0100
+@@ -252,7 +252,7 @@
+ target_vendor = @target_vendor@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+-man_MANS = gnokii.1 sendsms.1 gnokiid.8 mgnokiidev.8 xgnokii.1x
++man_MANS = gnokii.1 sendsms.1 gnokiid.8 mgnokiidev.8 xgnokii.1
+ EXTRA_DIST = $(man_MANS)
+ all: all-am
+
diff --git a/comms/gnokii/files/patch-Makefile.in b/comms/gnokii/files/patch-Makefile.in
new file mode 100644
index 000000000..bbaa5eb32
--- /dev/null
+++ b/comms/gnokii/files/patch-Makefile.in
@@ -0,0 +1,14 @@
+--- Makefile.in.orig 2008-06-02 15:48:31.000000000 +0200
++++ Makefile.in 2008-06-02 15:48:47.000000000 +0200
+@@ -279,9 +279,9 @@
+ target_vendor = @target_vendor@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+-SUBDIRS = include common gnokii po patches Docs $(am__append_1) \
++SUBDIRS = include common gnokii po patches $(am__append_1) \
+ $(am__append_2) $(am__append_3)
+-DIST_SUBDIRS = include Docs common gnokii gnokiid utils xgnokii po smsd win32 testsuite patches getopt
++DIST_SUBDIRS = include common gnokii gnokiid utils xgnokii po smsd win32 testsuite patches getopt
+ EXTRA_DIST = \
+ ChangeLog \
+ COPYING \
diff --git a/comms/gnokii/files/patch-common-Makefile.in b/comms/gnokii/files/patch-common-Makefile.in
new file mode 100644
index 000000000..31358b6e3
--- /dev/null
+++ b/comms/gnokii/files/patch-common-Makefile.in
@@ -0,0 +1,12 @@
+--- common/Makefile.in.orig 2008-02-23 17:18:24.000000000 +0100
++++ common/Makefile.in 2008-02-23 17:18:53.000000000 +0100
+@@ -318,7 +318,8 @@
+ $(DATA_DIR)
+
+ pkgconfig_DATA = gnokii.pc
+-pkgconfigdir = $(libdir)/pkgconfig
++libdatadir = $(libdir)data
++pkgconfigdir = $(libdatadir)/pkgconfig
+ libgnokii_la_CPPFLAGS = -DLIBDIR="\"$(libdir)\""
+ libgnokii_la_CFLAGS = -I$(top_srcdir)/include
+ libgnokii_la_SOURCES = \
diff --git a/comms/gnokii/files/patch-common-devices-unixbluetooth.c b/comms/gnokii/files/patch-common-devices-unixbluetooth.c
new file mode 100644
index 000000000..5bb9bb09a
--- /dev/null
+++ b/comms/gnokii/files/patch-common-devices-unixbluetooth.c
@@ -0,0 +1,321 @@
+--- common/devices/unixbluetooth.c.orig 2008-10-05 12:14:31.000000000 +0200
++++ common/devices/unixbluetooth.c 2009-02-17 17:03:58.000000000 +0100
+@@ -54,6 +54,8 @@
+ #include <netgraph/bluetooth/include/ng_hci.h>
+ #include <netgraph/bluetooth/include/ng_l2cap.h>
+ #include <netgraph/bluetooth/include/ng_btsocket.h>
++#include <bluetooth.h>
++#include </usr/include/sdp.h>
+
+ #define BTPROTO_RFCOMM BLUETOOTH_PROTO_RFCOMM
+ #define BDADDR_ANY NG_HCI_BDADDR_ANY
+@@ -86,11 +88,6 @@
+
+ #endif /* HAVE_BT_ATON */
+
+-static int str2ba(const char *str, bdaddr_t *ba)
+-{
+- return !bt_aton(str, ba);
+-}
+-
+ #else /* Linux / BlueZ support */
+
+ #include <bluetooth/bluetooth.h>
+@@ -100,6 +97,272 @@
+
+ #endif
+
++#ifdef HAVE_BLUETOOTH_NETGRAPH /* FreeBSD / netgraph */
++
++/*
++** FreeBSD version of the find_service_channel function.
++** Written by Guido Falsi <mad@madpilot.net>.
++** Contains code taken from FreeBSD's sdpcontrol and rfcomm_sppd
++** programs, which are Copyright (c) 2001-2003 Maksim Yevmenkin
++** <m_evmenkin@yahoo.com>.
++*/
++
++static int find_service_channel(bdaddr_t *adapter, bdaddr_t *device, int only_gnapplet, uint16_t svclass_id)
++{
++ uint8_t getchan = 0;
++ uint32_t i, good = 0;
++ char name[64];
++ void *ss = NULL;
++
++ uint32_t attrs[] =
++ {
++ SDP_ATTR_RANGE( SDP_ATTR_PRIMARY_LANGUAGE_BASE_ID + SDP_ATTR_SERVICE_NAME_OFFSET,
++ SDP_ATTR_PRIMARY_LANGUAGE_BASE_ID + SDP_ATTR_SERVICE_NAME_OFFSET),
++ SDP_ATTR_RANGE( SDP_ATTR_PROTOCOL_DESCRIPTOR_LIST,
++ SDP_ATTR_PROTOCOL_DESCRIPTOR_LIST),
++ };
++ #define attrs_len (sizeof(attrs)/sizeof(attrs[0]))
++
++ /* Buffer for the attributes */
++ #define NRECS 25 /* request this much records from the SDP server */
++ #define BSIZE 256 /* one attribute buffer size */
++ static uint8_t buffer[NRECS * attrs_len][BSIZE];
++
++ /* SDP attributes */
++ static sdp_attr_t values[NRECS * attrs_len];
++ #define values_len (sizeof(values)/sizeof(values[0]))
++
++ /* Initialize attribute values array */
++ for (i = 0; i < values_len; i ++) {
++ values[i].flags = SDP_ATTR_INVALID;
++ values[i].attr = 0;
++ values[i].vlen = BSIZE;
++ values[i].value = buffer[i];
++ }
++
++ if ((ss = sdp_open(adapter, device)) == NULL)
++ return -1;
++
++ if (sdp_error(ss) != 0)
++ {
++ sdp_close(ss);
++ return -1;
++ }
++
++ if (sdp_search(ss, 1, &svclass_id, attrs_len, attrs, values_len, values) != 0)
++ {
++ sdp_close(ss);
++ return -1;
++ }
++
++ for (i = 0; i < values_len; i++)
++ {
++ if (values[i].flags != SDP_ATTR_OK)
++ break;
++
++ union {
++ uint8_t uint8;
++ uint16_t uint16;
++ uint32_t uint32;
++ uint64_t uint64;
++ int128_t int128;
++ } value;
++ uint8_t *start, *end;
++ uint32_t type, len;
++
++ start = values[i].value;
++ end = values[i].value + values[i].vlen;
++
++ switch (values[i].attr) {
++ case SDP_ATTR_PROTOCOL_DESCRIPTOR_LIST:
++ if(getchan) {
++ SDP_GET8(type, start);
++ switch (type) {
++ case SDP_DATA_SEQ8:
++ SDP_GET8(len, start);
++ break;
++
++ case SDP_DATA_SEQ16:
++ SDP_GET16(len, start);
++ break;
++
++ case SDP_DATA_SEQ32:
++ SDP_GET32(len, start);
++ break;
++
++ default:
++ sdp_close(ss);
++ return -1;
++ break;
++ }
++
++ SDP_GET8(type, start);
++ switch (type) {
++ case SDP_DATA_SEQ8:
++ SDP_GET8(len, start);
++ break;
++
++ case SDP_DATA_SEQ16:
++ SDP_GET16(len, start);
++ break;
++
++ case SDP_DATA_SEQ32:
++ SDP_GET32(len, start);
++ break;
++
++ default:
++ sdp_close(ss);
++ return -1;
++ break;
++ }
++
++ while (start < end) {
++ SDP_GET8(type, start);
++ switch (type) {
++ case SDP_DATA_UUID16:
++ SDP_GET16(value.uint16, start);
++ break;
++
++ case SDP_DATA_UUID32:
++ SDP_GET32(value.uint32, start);
++ break;
++
++ case SDP_DATA_UUID128:
++ SDP_GET_UUID128(&value.int128, start);
++ break;
++
++ default:
++ sdp_close(ss);
++ return -1;
++ break;
++ }
++ if(value.uint16 == 3) {
++ SDP_GET8(type, start);
++ switch (type) {
++ case SDP_DATA_UINT8:
++ case SDP_DATA_INT8:
++ SDP_GET8(value.uint8, start);
++ return value.uint8;
++ break;
++
++ case SDP_DATA_UINT16:
++ case SDP_DATA_INT16:
++ SDP_GET16(value.uint16, start);
++ return value.uint16;
++ break;
++
++ case SDP_DATA_UINT32:
++ case SDP_DATA_INT32:
++ SDP_GET32(value.uint32, start);
++ return value.uint32;
++ break;
++
++ default:
++ sdp_close(ss);
++ return -1;
++ break;
++ }
++ } else {
++ SDP_GET8(type, start);
++ switch (type) {
++ case SDP_DATA_SEQ8:
++ case SDP_DATA_UINT8:
++ case SDP_DATA_INT8:
++ case SDP_DATA_BOOL:
++ SDP_GET8(value.uint8, start);
++ break;
++
++ case SDP_DATA_SEQ16:
++ case SDP_DATA_UINT16:
++ case SDP_DATA_INT16:
++ case SDP_DATA_UUID16:
++ SDP_GET16(value.uint16, start);
++ break;
++
++ case SDP_DATA_SEQ32:
++ case SDP_DATA_UINT32:
++ case SDP_DATA_INT32:
++ case SDP_DATA_UUID32:
++ SDP_GET32(value.uint32, start);
++ break;
++
++ case SDP_DATA_UINT64:
++ case SDP_DATA_INT64:
++ SDP_GET64(value.uint64, start);
++ break;
++
++ case SDP_DATA_UINT128:
++ case SDP_DATA_INT128:
++ SDP_GET128(&value.int128, start);
++ break;
++
++ default:
++ sdp_close(ss);
++ return -1;
++ break;
++ }
++ }
++ }
++ }
++ start += len;
++ break;
++
++ case SDP_ATTR_PRIMARY_LANGUAGE_BASE_ID + SDP_ATTR_SERVICE_NAME_OFFSET:
++ SDP_GET8(type, start);
++ switch (type) {
++ case SDP_DATA_STR8:
++ case SDP_DATA_URL8:
++ SDP_GET8(len, start);
++ snprintf(name, sizeof(name), "%*.*s", len, len, (char *) start);
++ start += len;
++ break;
++
++ case SDP_DATA_STR16:
++ case SDP_DATA_URL16:
++ SDP_GET16(len, start);
++ snprintf(name, sizeof(name), "%*.*s", len, len, (char *) start);
++ start += len;
++ break;
++
++ case SDP_DATA_STR32:
++ case SDP_DATA_URL32:
++ SDP_GET32(len, start);
++ snprintf(name, sizeof(name), "%*.*s", len, len, (char *) start);
++ start += len;
++ break;
++
++ default:
++ sdp_close(ss);
++ return -1;
++ }
++ if (name == NULL)
++ return -1;
++
++ if (strcmp(name, "gnapplet") == 0) {
++ if (only_gnapplet != 0)
++ getchan = 1;
++ break;
++ }
++
++ if (strstr(name, "Nokia PC Suite") != NULL)
++ break;
++
++ if (strstr(name, "Bluetooth Serial Port") != NULL)
++ break;
++
++ if (strstr(name, "m-Router Connectivity") != NULL)
++ break;
++
++ getchan = 1;
++ break;
++ }
++ }
++
++ sdp_close(ss);
++ return -1;
++}
++
++#else
+ /*
+ * Taken from gnome-phone-manager
+ */
+@@ -204,6 +467,8 @@
+ return channel;
+ }
+
++#endif
++
+ static int get_serial_channel(bdaddr_t *device)
+ {
+ bdaddr_t src;
+@@ -211,9 +476,15 @@
+
+ bacpy(&src, BDADDR_ANY);
+
++#ifdef HAVE_BLUETOOTH_NETGRAPH /* FreeBSD / netgraph */
++ channel = find_service_channel(&src, device, 0, SDP_SERVICE_CLASS_SERIAL_PORT);
++ if (channel < 0)
++ channel = find_service_channel(&src, device, 0, SDP_SERVICE_CLASS_DIALUP_NETWORKING);
++#else
+ channel = find_service_channel(&src, device, 0, SERIAL_PORT_SVCLASS_ID);
+ if (channel < 0)
+ channel = find_service_channel(&src, device, 0, DIALUP_NET_SVCLASS_ID);
++#endif
+
+ return channel;
+ }
diff --git a/comms/gnokii/files/patch-configure b/comms/gnokii/files/patch-configure
new file mode 100644
index 000000000..b76c8a418
--- /dev/null
+++ b/comms/gnokii/files/patch-configure
@@ -0,0 +1,134 @@
+--- configure.orig 2008-10-06 08:57:27.000000000 +0200
++++ configure 2009-02-26 17:21:58.000000000 +0100
+@@ -1057,7 +1057,7 @@
+ psdir='${docdir}'
+ libdir='${exec_prefix}/lib'
+ localedir='${datarootdir}/locale'
+-mandir='${datarootdir}/man'
++mandir='${prefix}/man'
+
+ ac_prev=
+ ac_dashdash=
+@@ -24163,13 +24163,15 @@
+ # First of all, check if the user has set any of the PTHREAD_LIBS,
+ # etcetera environment variables, and if threads linking works using
+ # them:
+-if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then
++if test x"-pthread" != x; then
++ PTHREAD_CFLAGS=""
++ PTHREAD_LIBS="-pthread"
+ save_CFLAGS="$CFLAGS"
+- CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
++ CFLAGS="$CFLAGS "
+ save_LIBS="$LIBS"
+- LIBS="$PTHREAD_LIBS $LIBS"
+- { echo "$as_me:$LINENO: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
+-echo $ECHO_N "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... $ECHO_C" >&6; }
++ LIBS="-pthread $LIBS"
++ { echo "$as_me:$LINENO: checking for pthread_join in LIBS=-pthread with CFLAGS=" >&5
++echo $ECHO_N "checking for pthread_join in LIBS=-pthread with CFLAGS=... $ECHO_C" >&6; }
+ cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h. */
+ _ACEOF
+@@ -24533,7 +24535,7 @@
+ echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
+ flag=no
+ case "${host_cpu}-${host_os}" in
+- *-aix* | *-freebsd* | *-darwin*) flag="-D_THREAD_SAFE";;
++ *-aix* | *-darwin*) flag="-D_THREAD_SAFE";;
+ *solaris* | *-osf* | *-hpux*) flag="-D_REENTRANT";;
+ esac
+ { echo "$as_me:$LINENO: result: ${flag}" >&5
+@@ -26561,9 +26563,9 @@
+ fi
+
+
+-if test "$enable_libical" == "yes"; then
++if test "$enable_libical" = "yes"; then
+ OLD_CFLAGS="$CFLAGS"
+- LIBS="$LIBS $ICAL_LIBS -lpthread -lical"
++ LIBS="$LIBS $ICAL_LIBS -pthread -lical"
+ CFLAGS="$CFLAGS $ICAL_CFLAGS"
+ { echo "$as_me:$LINENO: checking whether libical is installed" >&5
+ echo $ECHO_N "checking whether libical is installed... $ECHO_C" >&6; }
+@@ -26650,7 +26652,7 @@
+ enable_libusb=yes
+ fi
+
+-if test "$enable_libusb" == "yes"; then
++if test "$enable_libusb" = "yes"; then
+ { echo "$as_me:$LINENO: checking whether libusb is installed" >&5
+ echo $ECHO_N "checking whether libusb is installed... $ECHO_C" >&6; }
+ cat >conftest.$ac_ext <<_ACEOF
+@@ -26872,7 +26874,7 @@
+ enable_irda=yes
+ fi
+
+-if test "$enable_irda" == "yes"; then
++if test "$enable_irda" = "yes"; then
+ { echo "$as_me:$LINENO: checking for linux/irda.h" >&5
+ echo $ECHO_N "checking for linux/irda.h... $ECHO_C" >&6; }
+ if test "${ac_cv_header_linux_irda_h+set}" = set; then
+@@ -26955,7 +26957,7 @@
+ enable_bluetooth=yes
+ fi
+
+-if test "$enable_bluetooth" == "yes"; then
++if test "$enable_bluetooth" = "yes"; then
+ { echo "$as_me:$LINENO: checking for the bluetooth support" >&5
+ echo $ECHO_N "checking for the bluetooth support... $ECHO_C" >&6; }
+ { echo "$as_me:$LINENO: checking for the struct sockaddr_rc in <bluetooth/rfcomm.h>" >&5
+@@ -27025,7 +27027,7 @@
+
+ fi
+ fi
+-if test "$enable_bluetooth" == "yes"; then
++if test "$enable_bluetooth" = "yes"; then
+ { echo "$as_me:$LINENO: checking for the MacOS X bluetooth support" >&5
+ echo $ECHO_N "checking for the MacOS X bluetooth support... $ECHO_C" >&6; }
+
+@@ -27526,7 +27528,7 @@
+ fi
+ fi
+
+-if test "$enable_bluetooth" == "yes"; then
++if test "$enable_bluetooth" = "yes"; then
+ { echo "$as_me:$LINENO: checking for the FreeBSD/netgraph bluetooth support" >&5
+ echo $ECHO_N "checking for the FreeBSD/netgraph bluetooth support... $ECHO_C" >&6; }
+ { echo "$as_me:$LINENO: checking for the struct sockaddr_rfcomm in <netgraph/.../ng_btsocket.h>" >&5
+@@ -27602,7 +27604,7 @@
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ ac_check_lib_save_LIBS=$LIBS
+-LIBS="-lbluetooth $LIBS"
++LIBS="-lsdp -lbluetooth $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h. */
+ _ACEOF
+@@ -27658,7 +27660,7 @@
+ { echo "$as_me:$LINENO: result: $ac_cv_lib_bluetooth_bt_aton" >&5
+ echo "${ECHO_T}$ac_cv_lib_bluetooth_bt_aton" >&6; }
+ if test $ac_cv_lib_bluetooth_bt_aton = yes; then
+- BLUETOOTH_LIBS="$LIBS -lbluetooth"
++ BLUETOOTH_LIBS="-lsdp -lbluetooth $LIBS"
+ cat >>confdefs.h <<\_ACEOF
+ #define HAVE_BT_ATON
+ _ACEOF
+@@ -27676,7 +27678,7 @@
+ enable_libpcsclite=yes
+ fi
+
+-if test "$enable_libpcsclite" == "yes"; then
++if test "$enable_libpcsclite" = "yes"; then
+
+
+ if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
+@@ -28474,7 +28476,7 @@
+ echo "${ECHO_T}$ac_cv_lib_Xpm_XpmWriteFileFromXpmImage" >&6; }
+ if test $ac_cv_lib_Xpm_XpmWriteFileFromXpmImage = yes; then
+ XPM_CFLAGS="$XINCL"
+- XPM_LIBS="$XLIBS -lXpm -lX11"
++ XPM_LIBS="$XLIBS -lXpm -lX11 -lroken -lcrypt"
+
+ cat >>confdefs.h <<\_ACEOF
+ #define XPM 1
diff --git a/comms/gnokii/files/patch-gnokii-Makefile.in b/comms/gnokii/files/patch-gnokii-Makefile.in
new file mode 100644
index 000000000..9e75758b5
--- /dev/null
+++ b/comms/gnokii/files/patch-gnokii-Makefile.in
@@ -0,0 +1,11 @@
+--- gnokii/Makefile.in.orig 2009-02-26 17:09:49.000000000 +0100
++++ gnokii/Makefile.in 2009-02-26 17:20:21.000000000 +0100
+@@ -57,7 +57,7 @@
+ gnokii-gnokii-security.$(OBJEXT) \
+ gnokii-gnokii-settings.$(OBJEXT) gnokii-gnokii-sms.$(OBJEXT) \
+ gnokii-gnokii-todo.$(OBJEXT) gnokii-gnokii-utils.$(OBJEXT) \
+- gnokii-gnokii-wap.$(OBJEXT)
++ gnokii-gnokii-wap.$(OBJEXT) /usr/lib/libsdp.so
+ gnokii_OBJECTS = $(am_gnokii_OBJECTS)
+ am__DEPENDENCIES_1 =
+ gnokii_DEPENDENCIES = $(top_builddir)/common/libgnokii.la \
diff --git a/comms/gnokii/files/patch-gnokii-gnokii-security.c b/comms/gnokii/files/patch-gnokii-gnokii-security.c
new file mode 100644
index 000000000..ed4297602
--- /dev/null
+++ b/comms/gnokii/files/patch-gnokii-gnokii-security.c
@@ -0,0 +1,17 @@
+--- gnokii/gnokii-security.c.orig Thu May 10 20:50:16 2007
++++ gnokii/gnokii-security.c Thu Jun 21 11:56:13 2007
+@@ -131,12 +131,14 @@
+
+ if (isatty(fd)) {
+ strncpy(pass, getpass(prompt), length - 1);
++/* FreeBSD uses standard C library, no getline, sorry.
+ } else {
+ err = getline(&s, &s_len, stdin);
+ if (err > 0 && s) {
+ strncpy(pass, s, length - 1);
+ free(s);
+ }
++*/
+ }
+ pass[length - 1] = 0;
+ #endif
diff --git a/comms/gnokii/files/patch-gnokii-gnokii-utils.c b/comms/gnokii/files/patch-gnokii-gnokii-utils.c
new file mode 100644
index 000000000..56402ad1f
--- /dev/null
+++ b/comms/gnokii/files/patch-gnokii-gnokii-utils.c
@@ -0,0 +1,11 @@
+--- gnokii/gnokii-utils.c.orig 2007-12-06 14:24:37.000000000 +0100
++++ gnokii/gnokii-utils.c 2007-12-06 14:25:25.000000000 +0100
+@@ -43,6 +43,8 @@
+
+ #include <stdio.h>
+ #include <signal.h>
++#include <sys/types.h>
++#include <sys/stat.h>
+
+ #include "gnokii-app.h"
+ #include "gnokii.h"
diff --git a/comms/gnokii/files/patch-gnokii-gnokii.c b/comms/gnokii/files/patch-gnokii-gnokii.c
new file mode 100644
index 000000000..dd16da5ae
--- /dev/null
+++ b/comms/gnokii/files/patch-gnokii-gnokii.c
@@ -0,0 +1,11 @@
+--- gnokii/gnokii.c.orig 2009-02-03 23:23:35.000000000 +0100
++++ gnokii/gnokii.c 2009-02-03 23:24:01.000000000 +0100
+@@ -1082,7 +1082,7 @@
+ else
+ len = strlen(input);
+ if (len > 0)
+- argv[argc++] = strndup(input, len);
++ argv[argc++] = strdup(input);
+ input = tmp;
+ } while (input);
+ argv[argc] = NULL;
diff --git a/comms/gnokii/files/patch-gnokiid-Makefile.in b/comms/gnokii/files/patch-gnokiid-Makefile.in
new file mode 100644
index 000000000..e688fc352
--- /dev/null
+++ b/comms/gnokii/files/patch-gnokiid-Makefile.in
@@ -0,0 +1,22 @@
+--- gnokiid/Makefile.in.orig 2008-10-06 08:57:16.000000000 +0200
++++ gnokiid/Makefile.in 2009-02-26 17:26:31.000000000 +0100
+@@ -48,7 +48,7 @@
+ binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ PROGRAMS = $(bin_PROGRAMS)
+ am_gnokiid_OBJECTS = gnokiid-gnokiid.$(OBJEXT)
+-gnokiid_OBJECTS = $(am_gnokiid_OBJECTS)
++gnokiid_OBJECTS = $(am_gnokiid_OBJECTS) /usr/lib/libsdp.so
+ am__DEPENDENCIES_1 =
+ gnokiid_DEPENDENCIES = $(top_builddir)/common/libgnokii.la \
+ $(top_builddir)/common/data/libDATA.la $(am__DEPENDENCIES_1)
+@@ -326,8 +326,8 @@
+ || test -f $$p1 \
+ ; then \
+ f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+- echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
+- $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
++ echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(sbindir)/$$f'"; \
++ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(sbindir)/$$f" || exit 1; \
+ else :; fi; \
+ done
+
diff --git a/comms/gnokii/files/patch-gnokiirc b/comms/gnokii/files/patch-gnokiirc
new file mode 100644
index 000000000..7731e37c3
--- /dev/null
+++ b/comms/gnokii/files/patch-gnokiirc
@@ -0,0 +1,29 @@
+--- Docs/sample/gnokiirc.orig Wed Nov 9 01:11:42 2005
++++ Docs/sample/gnokiirc Sat Nov 12 19:11:21 2005
+@@ -7,7 +7,7 @@
+
+ # Set port to the physical port used to connect to your phone.
+ # Linux version is:
+-port = /dev/ttyS0
++port = /dev/cuaa0
+ #
+ # For MacOSX you will need something like:
+ # port = /dev/cu.USA28X1P1.1
+@@ -45,7 +45,7 @@
+ # model = AT
+ # If you can't figure out what to put here read the FAQ.
+ # If it still doesn't help, consult gnokii-ml or #gnokii at freenode.
+-model = 6510
++model = 6210
+ # There are few main models that should make use of the certain drivers.
+ # These are: 6110, 7110, 6510, 3110, 2110, 6160.
+
+@@ -87,7 +87,7 @@
+ # port software (eg. minicom). If you have wrong permissions for the
+ # directory, a warning will be generated. If you don't want a lockfile, set
+ # it to 'no'.
+-use_locking = yes
++use_locking = no
+
+ # Baudrate to use on serial port connections.
+ # Currently used only by models AT and BIP/CIMD. Defaults to 19200.
diff --git a/comms/gnokii/files/patch-smsd-Makefile.in b/comms/gnokii/files/patch-smsd-Makefile.in
new file mode 100644
index 000000000..83601dce0
--- /dev/null
+++ b/comms/gnokii/files/patch-smsd-Makefile.in
@@ -0,0 +1,22 @@
+--- smsd/Makefile.in.orig 2008-10-06 08:57:19.000000000 +0200
++++ smsd/Makefile.in 2009-02-26 17:35:49.000000000 +0100
+@@ -86,7 +86,7 @@
+ binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ PROGRAMS = $(bin_PROGRAMS)
+ am_smsd_OBJECTS = smsd.$(OBJEXT) lowlevel.$(OBJEXT)
+-smsd_OBJECTS = $(am_smsd_OBJECTS)
++smsd_OBJECTS = $(am_smsd_OBJECTS) /usr/lib/libsdp.so
+ smsd_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
+ $(am__DEPENDENCIES_1) $(top_builddir)/common/libgnokii.la
+ DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/include
+@@ -421,8 +421,8 @@
+ || test -f $$p1 \
+ ; then \
+ f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+- echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
+- $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
++ echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(sbindir)/$$f'"; \
++ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(sbindir)/$$f" || exit 1; \
+ else :; fi; \
+ done
+
diff --git a/comms/gnokii/files/patch-xgnokii-Makefile.in b/comms/gnokii/files/patch-xgnokii-Makefile.in
new file mode 100644
index 000000000..75dd784cc
--- /dev/null
+++ b/comms/gnokii/files/patch-xgnokii-Makefile.in
@@ -0,0 +1,21 @@
+--- xgnokii/Makefile.in.orig 2008-10-06 08:57:20.000000000 +0200
++++ xgnokii/Makefile.in 2009-02-26 17:33:22.000000000 +0100
+@@ -62,7 +62,7 @@
+ xgnokii-xgnokii_xring.$(OBJEXT) \
+ xgnokii-xgnokii_lowlevel.$(OBJEXT) \
+ xgnokii-xgnokii_data.$(OBJEXT)
+-xgnokii_OBJECTS = $(am_xgnokii_OBJECTS)
++xgnokii_OBJECTS = $(am_xgnokii_OBJECTS) /usr/lib/libsdp.so
+ am__DEPENDENCIES_1 =
+ xgnokii_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
+ $(am__DEPENDENCIES_1) $(top_builddir)/common/libgnokii.la \
+@@ -360,7 +360,8 @@
+ #FIXME install help
+ HELP_DIR = docs/help
+ pkgconfig_DATA = xgnokii.pc
+-pkgconfigdir = $(libdir)/pkgconfig
++libdatadir = $(libdir)data
++pkgconfigdir = $(libdatadir)/pkgconfig
+ desktop_in_files = xgnokii.desktop.in
+ desktopdir = $(datadir)/applications
+ desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
diff --git a/comms/gnokii/files/pkg-message.in b/comms/gnokii/files/pkg-message.in
new file mode 100644
index 000000000..7f1b37d3d
--- /dev/null
+++ b/comms/gnokii/files/pkg-message.in
@@ -0,0 +1,13 @@
+==============================================================================
+The default config is installed in %%PREFIX%%/etc/gnokiirc.sample, and is
+configured for Nokia 6210 phones connected on COM1. Have a look at the
+documentation/manpages for more information. You'll need to copy
+gnokiirc.sample to %%PREFIX%%/etc/gnokiirc or $HOME/.gnokiirc for gnokii/
+xgnokii to use it.
+
+Add the users that shall be authorized to run gnokii programs to the
+gnokii group.
+
+NOTE: if you have enabled and plan using the smsd program check
+%%PREFIX%%/share/smsd/README.
+==============================================================================
diff --git a/comms/gnokii/files/smsd-Makefile-WITH_GLIB.diff b/comms/gnokii/files/smsd-Makefile-WITH_GLIB.diff
new file mode 100644
index 000000000..abeed58c8
--- /dev/null
+++ b/comms/gnokii/files/smsd-Makefile-WITH_GLIB.diff
@@ -0,0 +1,21 @@
+--- smsd/Makefile.orig Sun Nov 13 16:00:45 2005
++++ smsd/Makefile Sun Nov 13 16:00:54 2005
+@@ -7,14 +7,14 @@
+ # $Id: smsd-Makefile-WITH_GLIB.diff,v 1.1 2009-04-05 19:51:04 marcus Exp $
+ #
+
+-#GLIBCFLAGS = glib-config --cflags
+-#GLIBLDLIBS = glib-config --libs
++GLIBCFLAGS = glib-config --cflags
++GLIBLDLIBS = glib-config --libs
+
+ # Comment out above lines and uncomment below lines if you want compile smsd
+ # with glib2 instead of glib1.
+ #
+-GLIBCFLAGS = pkg-config --cflags glib-2.0
+-GLIBLDLIBS = pkg-config --libs glib-2.0
++#GLIBCFLAGS = pkg-config --cflags glib-2.0
++#GLIBLDLIBS = pkg-config --libs glib-2.0
+
+ TOPDIR=..
+ include $(TOPDIR)/Makefile.global
diff --git a/comms/gnokii/pkg-descr b/comms/gnokii/pkg-descr
new file mode 100644
index 000000000..4d2f2a1ed
--- /dev/null
+++ b/comms/gnokii/pkg-descr
@@ -0,0 +1,10 @@
+Gnokii is a Unix/Linux tool suite for mobile phones. It provides a
+library to communicate with a phone hiding the communication protocol.
+The library handles SMS, phonebook, calendar, phone calls, and other
+mobile phone capabilities. It supports most of the GSM phones: Nokia
+ones using Nokia proprietary protocol and AT-capable ones -- using
+standard AT commands.
+
+WWW: http://www.gnokii.org/
+
+- Guido Falsi <mad@madpilot.net>
diff --git a/comms/gnokii/pkg-install b/comms/gnokii/pkg-install
new file mode 100644
index 000000000..de143b544
--- /dev/null
+++ b/comms/gnokii/pkg-install
@@ -0,0 +1,41 @@
+#!/bin/sh
+
+PATH=/bin:/usr/bin:/usr/sbin
+
+GROUP=gnokii
+
+SUIDBINS="${PKG_PREFIX}/sbin/gnokiid ${PKG_PREFIX}/sbin/mgnokiidev"
+BINS="${PKG_PREFIX}/bin/gnokii ${SUIDBINS}"
+
+if [ -e ${PKG_PREFIX}/bin/xgnokii ]; then
+ BINS="$BINS ${PKG_PREFIX}/bin/xgnokii"
+fi
+
+case "$2" in
+"PRE-INSTALL")
+ if pw group show "${GROUP}" 2>/dev/null; then
+ echo "You already have a group \"${GROUP}\", so I will use it."
+ else
+ if pw groupadd ${GROUP}; then
+ echo "Added group \"${GROUP}\"."
+ else
+ echo "Adding group \"${GROUP}\" failed..."
+ exit 1
+ fi
+ fi
+ ;;
+
+"POST-INSTALL")
+ chgrp $GROUP $BINS
+ chmod 750 ${BINS}
+ chmod u+s ${SUIDBINS}
+ ;;
+
+"DEINSTALL")
+ if [ -z "`pw groupshow $GROUP 2>&1 | sed -E -e 's/^([^:]+:){3}(.*)$/\2/'`" ]; then
+ echo "Removing empty group \"$GROUP\"."
+ pw groupdel $GROUP
+ fi
+ ;;
+
+esac
diff --git a/comms/gnokii/pkg-plist b/comms/gnokii/pkg-plist
new file mode 100644
index 000000000..0c8308b95
--- /dev/null
+++ b/comms/gnokii/pkg-plist
@@ -0,0 +1,126 @@
+bin/gnokii
+bin/sendsms
+%%X11%%bin/xgnokii
+etc/gnokiirc.sample
+include/gnokii.h
+include/gnokii/bitmaps.h
+include/gnokii/call.h
+include/gnokii/common.h
+include/gnokii/data.h
+include/gnokii/encoding.h
+include/gnokii/error.h
+include/gnokii/networks.h
+include/gnokii/ringtones.h
+include/gnokii/rlp-common.h
+include/gnokii/sms.h
+include/gnokii/statemachine.h
+include/gnokii/virtmodem.h
+include/gnokii/wappush.h
+@dirrm include/gnokii
+lib/libgnokii.a
+lib/libgnokii.la
+lib/libgnokii.so
+lib/libgnokii.so.4
+libdata/pkgconfig/gnokii.pc
+libdata/pkgconfig/xgnokii.pc
+sbin/gnokiid
+sbin/mgnokiidev
+%%SMSD%%sbin/smsd
+share/locale/cs/LC_MESSAGES/gnokii.mo
+share/locale/de/LC_MESSAGES/gnokii.mo
+share/locale/et/LC_MESSAGES/gnokii.mo
+share/locale/fi/LC_MESSAGES/gnokii.mo
+share/locale/fr/LC_MESSAGES/gnokii.mo
+share/locale/it/LC_MESSAGES/gnokii.mo
+share/locale/nl/LC_MESSAGES/gnokii.mo
+share/locale/pl/LC_MESSAGES/gnokii.mo
+share/locale/pt/LC_MESSAGES/gnokii.mo
+share/locale/sk/LC_MESSAGES/gnokii.mo
+share/locale/sl/LC_MESSAGES/gnokii.mo
+share/locale/sv/LC_MESSAGES/gnokii.mo
+share/locale/zh_CN/LC_MESSAGES/gnokii.mo
+%%SMSD%%share/smsd/README
+%%SMSD%%share/smsd/action
+%%SMSD%%lib/smsd/libsmsd_file.a
+%%SMSD%%lib/smsd/libsmsd_file.la
+%%SMSD%%lib/smsd/libsmsd_file.so
+%%MSM%%lib/smsd/libsmsd_mysql.a
+%%MSM%%lib/smsd/libsmsd_mysql.la
+%%MSM%%lib/smsd/libsmsd_mysql.so
+%%MSM%%share/smsd/sms.tables.mysql.sql
+%%PGM%%lib/smsd/libsmsd_pq.a
+%%PGM%%lib/smsd/libsmsd_pq.la
+%%PGM%%lib/smsd/libsmsd_pq.so
+%%PGM%%share/smsd/sms.tables.pq.sql
+%%SMSD%%@dirrm lib/smsd
+%%SMSD%%@dirrm share/smsd
+%%X11%%share/applications/xgnokii.desktop
+%%X11%%share/xgnokii/help/en_US/faq.html
+%%X11%%share/xgnokii/help/en_US/firmware/firmware.html
+%%X11%%share/xgnokii/help/en_US/index.html
+%%X11%%share/xgnokii/help/en_US/netmon/faq_net0.html
+%%X11%%share/xgnokii/help/en_US/netmon/faq_net1.html
+%%X11%%share/xgnokii/help/en_US/netmon/faq_net2.html
+%%X11%%share/xgnokii/help/en_US/netmon/faq_net3.html
+%%X11%%share/xgnokii/help/en_US/netmon/faq_net4.html
+%%X11%%share/xgnokii/help/en_US/netmon/faq_net5.html
+%%X11%%share/xgnokii/help/en_US/netmon/faq_net6.html
+%%X11%%share/xgnokii/help/en_US/netmon/net_mon1.png
+%%X11%%share/xgnokii/help/en_US/netmon/net_mon2.png
+%%X11%%share/xgnokii/help/en_US/netmon/net_mon3.png
+%%X11%%share/xgnokii/help/en_US/netmon/nm2_5110.png
+%%X11%%share/xgnokii/help/en_US/netmon/nm_3210.png
+%%X11%%share/xgnokii/help/en_US/netmon/nm_5110.png
+%%X11%%share/xgnokii/help/en_US/netmon/nm_9110.png
+%%X11%%share/xgnokii/help/en_US/netmon/tip.png
+%%X11%%share/xgnokii/help/en_US/styl.css
+%%X11%%share/xgnokii/help/pl_PL/calendar.html
+%%X11%%share/xgnokii/help/pl_PL/contacts.html
+%%X11%%share/xgnokii/help/pl_PL/dtmf.html
+%%X11%%share/xgnokii/help/pl_PL/index.html
+%%X11%%share/xgnokii/help/pl_PL/netmon.html
+%%X11%%share/xgnokii/help/pl_PL/netmon/dir0.png
+%%X11%%share/xgnokii/help/pl_PL/netmon/dir1.png
+%%X11%%share/xgnokii/help/pl_PL/netmon/glowna.htm
+%%X11%%share/xgnokii/help/pl_PL/netmon/gsm/f2mbus.png
+%%X11%%share/xgnokii/help/pl_PL/netmon/gsm/f2mbus2.png
+%%X11%%share/xgnokii/help/pl_PL/netmon/gsm/faq_loga.htm
+%%X11%%share/xgnokii/help/pl_PL/netmon/gsm/faq_net0.htm
+%%X11%%share/xgnokii/help/pl_PL/netmon/gsm/faq_net1.htm
+%%X11%%share/xgnokii/help/pl_PL/netmon/gsm/faq_net2.htm
+%%X11%%share/xgnokii/help/pl_PL/netmon/gsm/faq_net3.htm
+%%X11%%share/xgnokii/help/pl_PL/netmon/gsm/faq_net4.htm
+%%X11%%share/xgnokii/help/pl_PL/netmon/gsm/faq_net5.htm
+%%X11%%share/xgnokii/help/pl_PL/netmon/gsm/faq_net6.htm
+%%X11%%share/xgnokii/help/pl_PL/netmon/gsm/faqkable.htm
+%%X11%%share/xgnokii/help/pl_PL/netmon/gsm/firmware.htm
+%%X11%%share/xgnokii/help/pl_PL/netmon/gsm/index.htm
+%%X11%%share/xgnokii/help/pl_PL/netmon/gsm/net_mon1.png
+%%X11%%share/xgnokii/help/pl_PL/netmon/gsm/net_mon2.png
+%%X11%%share/xgnokii/help/pl_PL/netmon/gsm/net_mon3.png
+%%X11%%share/xgnokii/help/pl_PL/netmon/gsm/net_spis.htm
+%%X11%%share/xgnokii/help/pl_PL/netmon/gsm/nm2_5110.png
+%%X11%%share/xgnokii/help/pl_PL/netmon/gsm/nm_3210.png
+%%X11%%share/xgnokii/help/pl_PL/netmon/gsm/nm_5110.png
+%%X11%%share/xgnokii/help/pl_PL/netmon/gsm/nm_9110.png
+%%X11%%share/xgnokii/help/pl_PL/netmon/gsm/tip.png
+%%X11%%share/xgnokii/help/pl_PL/netmon/htm.png
+%%X11%%share/xgnokii/help/pl_PL/netmon/index.htm
+%%X11%%share/xgnokii/help/pl_PL/netmon/konw.js
+%%X11%%share/xgnokii/help/pl_PL/netmon/spis.htm
+%%X11%%share/xgnokii/help/pl_PL/netmon/spis_d.htm
+%%X11%%share/xgnokii/help/pl_PL/netmon/spis_d2.htm
+%%X11%%share/xgnokii/help/pl_PL/netmon/spis_g.htm
+%%X11%%share/xgnokii/help/pl_PL/netmon/styl.css
+%%X11%%share/xgnokii/help/pl_PL/sms.html
+%%X11%%share/xgnokii/help/pl_PL/speeddial.html
+%%X11%%share/xgnokii/help/pl_PL/xkeyb.html
+%%X11%%@dirrm share/xgnokii/help/en_US/firmware
+%%X11%%@dirrm share/xgnokii/help/en_US/netmon
+%%X11%%@dirrm share/xgnokii/help/en_US
+%%X11%%@dirrm share/xgnokii/help/pl_PL/netmon/gsm
+%%X11%%@dirrm share/xgnokii/help/pl_PL/netmon
+%%X11%%@dirrm share/xgnokii/help/pl_PL
+%%X11%%@dirrm share/xgnokii/help
+%%X11%%@dirrm share/xgnokii
+%%X11%%@dirrmtry share/applications
diff --git a/deskutils/kdepimlibs4/Makefile b/deskutils/kdepimlibs4/Makefile
new file mode 100644
index 000000000..196d7a912
--- /dev/null
+++ b/deskutils/kdepimlibs4/Makefile
@@ -0,0 +1,44 @@
+# New ports collection Makefile for: kdepimplibs
+# Date created: 2008-01-20
+# Whom: arved
+#
+# $FreeBSD$
+
+PORTNAME= kdepimlibs
+PORTVERSION= ${KDE4_VERSION}
+PORTREVISION= 1
+CATEGORIES= deskutils kde ipv6
+MASTER_SITES= ${MASTER_SITE_KDE}
+MASTER_SITE_SUBDIR= ${KDE4_BRANCH}/${PORTVERSION}/src
+DIST_SUBDIR= KDE
+
+MAINTAINER= kde@FreeBSD.org
+COMMENT= Libraries for KDE-PIM applications
+
+LIB_DEPENDS= gpgme:${PORTSDIR}/security/gpgme \
+ sasl2:${PORTSDIR}/security/cyrus-sasl2 \
+ boost_python:${PORTSDIR}/devel/boost-python \
+ ical.43:${PORTSDIR}/devel/libical
+
+USE_KDE4= kdelibs akonadi kdeprefix kdehier automoc4
+KDE4_BUILDENV= yes
+USE_BZIP2= yes
+USE_QT_VER= 4
+QT_COMPONENTS= corelib opengl dbus qt3support \
+ designer network svg qtestlib help \
+ qmake_build moc_build rcc_build uic_build
+USE_OPENLDAP= yes
+MAKE_JOBS_SAFE= yes
+
+.if exists(${LOCALBASE}/lib/libgpgme-pth.so)
+PLIST_SUB+= WITH_PTH=''
+.else
+PLIST_SUB+= WITH_PTH='@comment '
+.endif
+
+post-extract:
+ ${MKDIR} ${WRKSRC}
+ ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
+ ${WRKSRC}/../cmake/modules/*.cmake
+
+.include <bsd.port.mk>
diff --git a/deskutils/kdepimlibs4/distinfo b/deskutils/kdepimlibs4/distinfo
new file mode 100644
index 000000000..12cacc5bd
--- /dev/null
+++ b/deskutils/kdepimlibs4/distinfo
@@ -0,0 +1,3 @@
+MD5 (KDE/kdepimlibs-4.2.2.tar.bz2) = 62562a3025138a08ffdf08e6466b5065
+SHA256 (KDE/kdepimlibs-4.2.2.tar.bz2) = a5effac6724a66fe70711f449fb0472cc60637fec4357f8dbec21d71da9c6692
+SIZE (KDE/kdepimlibs-4.2.2.tar.bz2) = 1594954
diff --git a/deskutils/kdepimlibs4/files/patch-CMakeLists.txt b/deskutils/kdepimlibs4/files/patch-CMakeLists.txt
new file mode 100644
index 000000000..312ff0638
--- /dev/null
+++ b/deskutils/kdepimlibs4/files/patch-CMakeLists.txt
@@ -0,0 +1,11 @@
+--- ../CMakeLists.txt.orig 2009-02-26 17:15:42.000000000 +0300
++++ ../CMakeLists.txt 2009-03-07 09:57:33.000000000 +0300
+@@ -127,7 +127,7 @@
+ macro_write_basic_cmake_version_file(${CMAKE_CURRENT_BINARY_DIR}/KdepimLibsConfigVersion.cmake
+ ${KDEPIMLIBS_VERSION_MAJOR} ${KDEPIMLIBS_VERSION_MINOR} ${KDEPIMLIBS_VERSION_PATCH})
+
+-set(_KdepimLibsConfig_INSTALL_DIR ${LIB_INSTALL_DIR}/KdepimLibs-${KDEPIMLIBS_VERSION}/cmake)
++set(_KdepimLibsConfig_INSTALL_DIR ${LIB_INSTALL_DIR}/KdepimLibs/cmake)
+ # places where find_package() looks for FooConfig.cmake files:
+ # CMake >= 2.6.0 looks in lib/Foo*/cmake/, CMake >= 2.6.3 also looks in
+ # lib/cmake/Foo*/, which packagers prefer. So they can set the KDE4_USE_COMMON_CMAKE_PACKAGE_CONFIG_DIR
diff --git a/deskutils/kdepimlibs4/files/patch-cmake-modules_FindLibical.cmake b/deskutils/kdepimlibs4/files/patch-cmake-modules_FindLibical.cmake
new file mode 100644
index 000000000..efbbb2725
--- /dev/null
+++ b/deskutils/kdepimlibs4/files/patch-cmake-modules_FindLibical.cmake
@@ -0,0 +1,11 @@
+--- ../cmake/modules/FindLibical.cmake.orgi 2009-02-27 17:59:51.000000000 +0100
++++ ../cmake/modules/FindLibical.cmake 2009-02-27 18:00:20.000000000 +0100
+@@ -52,7 +52,7 @@
+
+ if(LIBICAL_INCLUDE_DIRS AND LIBICAL_LIBRARIES)
+ set(FIND_LIBICAL_VERSION_SOURCE
+- "#include <libical/ical.h>\n int main()\n {\n printf(\"%s\",ICAL_VERSION);return 1;\n }\n")
++ "#include <ical.h>\n int main()\n {\n printf(\"%s\",ICAL_VERSION);return 1;\n }\n")
+ set(FIND_LIBICAL_VERSION_SOURCE_FILE ${CMAKE_BINARY_DIR}/CMakeTmp/FindLIBICAL.cxx)
+ file(WRITE "${FIND_LIBICAL_VERSION_SOURCE_FILE}" "${FIND_LIBICAL_VERSION_SOURCE}")
+
diff --git a/deskutils/kdepimlibs4/pkg-descr b/deskutils/kdepimlibs4/pkg-descr
new file mode 100644
index 000000000..7cd2cfe6a
--- /dev/null
+++ b/deskutils/kdepimlibs4/pkg-descr
@@ -0,0 +1,11 @@
+This module includes libraries that are central to the development and
+execution of a KDE-PIM application.
+
+The KDE-PIM project aims to bring together those who wish to help design,
+implement, test, etc. anything that's to do with personal information
+management.
+
+This rather broad scope encompasses mail clients, addressbooks, usenet news,
+scheduling and even sticky notes.
+
+WWW: http://www.kde.org/
diff --git a/deskutils/kdepimlibs4/pkg-plist b/deskutils/kdepimlibs4/pkg-plist
new file mode 100644
index 000000000..5a5c45511
--- /dev/null
+++ b/deskutils/kdepimlibs4/pkg-plist
@@ -0,0 +1,510 @@
+include/akonadi/agentbase.h
+include/akonadi/agentfilterproxymodel.h
+include/akonadi/agentinstance.h
+include/akonadi/agentinstancecreatejob.h
+include/akonadi/agentinstancemodel.h
+include/akonadi/agentinstancewidget.h
+include/akonadi/agentmanager.h
+include/akonadi/agenttype.h
+include/akonadi/agenttypedialog.h
+include/akonadi/agenttypemodel.h
+include/akonadi/agenttypewidget.h
+include/akonadi/akonadi_export.h
+include/akonadi/attribute.h
+include/akonadi/attributefactory.h
+include/akonadi/cachepolicy.h
+include/akonadi/changerecorder.h
+include/akonadi/collection.h
+include/akonadi/collectioncopyjob.h
+include/akonadi/collectioncreatejob.h
+include/akonadi/collectiondeletejob.h
+include/akonadi/collectionfetchjob.h
+include/akonadi/collectionfilterproxymodel.h
+include/akonadi/collectionmodel.h
+include/akonadi/collectionmodifyjob.h
+include/akonadi/collectionpropertiesdialog.h
+include/akonadi/collectionpropertiespage.h
+include/akonadi/collectionstatistics.h
+include/akonadi/collectionstatisticsdelegate.h
+include/akonadi/collectionstatisticsjob.h
+include/akonadi/collectionstatisticsmodel.h
+include/akonadi/collectionview.h
+include/akonadi/control.h
+include/akonadi/entity.h
+include/akonadi/entitydisplayattribute.h
+include/akonadi/item.h
+include/akonadi/itemcopyjob.h
+include/akonadi/itemcreatejob.h
+include/akonadi/itemdeletejob.h
+include/akonadi/itemfetchjob.h
+include/akonadi/itemfetchscope.h
+include/akonadi/itemmodel.h
+include/akonadi/itemmodifyjob.h
+include/akonadi/itemmonitor.h
+include/akonadi/itemmovejob.h
+include/akonadi/itempayloadinternals_p.h
+include/akonadi/itemserializerplugin.h
+include/akonadi/itemsync.h
+include/akonadi/itemview.h
+include/akonadi/job.h
+include/akonadi/kabc/akonadi-kabc_export.h
+include/akonadi/kabc/contactparts.h
+include/akonadi/kmime/akonadi-kmime_export.h
+include/akonadi/kmime/messagemodel.h
+include/akonadi/kmime/messageparts.h
+include/akonadi/kmime/messagethreaderproxymodel.h
+include/akonadi/kmime/messagethreadingattribute.h
+include/akonadi/linkjob.h
+include/akonadi/monitor.h
+include/akonadi/private/collectionpathresolver_p.h
+include/akonadi/resourcebase.h
+include/akonadi/searchcreatejob.h
+include/akonadi/servermanager.h
+include/akonadi/session.h
+include/akonadi/standardactionmanager.h
+include/akonadi/transactionjobs.h
+include/akonadi/transactionsequence.h
+include/akonadi/unlinkjob.h
+include/gpgme++/context.h
+include/gpgme++/data.h
+include/gpgme++/decryptionresult.h
+include/gpgme++/editinteractor.h
+include/gpgme++/encryptionresult.h
+include/gpgme++/engineinfo.h
+include/gpgme++/error.h
+include/gpgme++/eventloopinteractor.h
+include/gpgme++/exception.h
+include/gpgme++/global.h
+include/gpgme++/gpgadduserideditinteractor.h
+include/gpgme++/gpgme++_export.h
+include/gpgme++/gpgmefw.h
+include/gpgme++/gpgsetexpirytimeeditinteractor.h
+include/gpgme++/gpgsetownertrusteditinteractor.h
+include/gpgme++/gpgsignkeyeditinteractor.h
+include/gpgme++/importresult.h
+include/gpgme++/interfaces/dataprovider.h
+include/gpgme++/interfaces/passphraseprovider.h
+include/gpgme++/interfaces/progressprovider.h
+include/gpgme++/key.h
+include/gpgme++/keygenerationresult.h
+include/gpgme++/keylistresult.h
+include/gpgme++/notation.h
+include/gpgme++/result.h
+include/gpgme++/signingresult.h
+include/gpgme++/trustitem.h
+include/gpgme++/verificationresult.h
+include/kabc/address.h
+include/kabc/addressbook.h
+include/kabc/addressee.h
+include/kabc/addresseedialog.h
+include/kabc/addresseelist.h
+include/kabc/addresslineedit.h
+include/kabc/distributionlist.h
+include/kabc/distributionlistdialog.h
+include/kabc/emailselectdialog.h
+include/kabc/errorhandler.h
+include/kabc/field.h
+include/kabc/format.h
+include/kabc/formatfactory.h
+include/kabc/geo.h
+include/kabc/kabc_export.h
+include/kabc/key.h
+include/kabc/ldifconverter.h
+include/kabc/lock.h
+include/kabc/locknull.h
+include/kabc/phonenumber.h
+include/kabc/picture.h
+include/kabc/plugin.h
+include/kabc/resource.h
+include/kabc/resourceabc.h
+include/kabc/resourcecached.h
+include/kabc/secrecy.h
+include/kabc/sortmode.h
+include/kabc/sound.h
+include/kabc/stdaddressbook.h
+include/kabc/timezone.h
+include/kabc/vcard.h
+include/kabc/vcardconverter.h
+include/kabc/vcardformat.h
+include/kabc/vcardline.h
+include/kabc/vcardparser.h
+include/kblog/blog.h
+include/kblog/blogcomment.h
+include/kblog/blogger1.h
+include/kblog/blogmedia.h
+include/kblog/blogpost.h
+include/kblog/gdata.h
+include/kblog/kblog_export.h
+include/kblog/metaweblog.h
+include/kblog/movabletype.h
+include/kblog/wordpressbuggy.h
+include/kcal/alarm.h
+include/kcal/attachment.h
+include/kcal/attendee.h
+include/kcal/calendar.h
+include/kcal/calendarlocal.h
+include/kcal/calendarnull.h
+include/kcal/calendarresources.h
+include/kcal/calfilter.h
+include/kcal/calformat.h
+include/kcal/calstorage.h
+include/kcal/confirmsavedialog.h
+include/kcal/customproperties.h
+include/kcal/dndfactory.h
+include/kcal/duration.h
+include/kcal/event.h
+include/kcal/exceptions.h
+include/kcal/filestorage.h
+include/kcal/freebusy.h
+include/kcal/freebusycache.h
+include/kcal/freebusyperiod.h
+include/kcal/freebusyurlstore.h
+include/kcal/htmlexport.h
+include/kcal/htmlexportsettings.h
+include/kcal/icaldrag.h
+include/kcal/icalformat.h
+include/kcal/icaltimezones.h
+include/kcal/imipscheduler.h
+include/kcal/incidence.h
+include/kcal/incidencebase.h
+include/kcal/incidenceformatter.h
+include/kcal/journal.h
+include/kcal/kcal_export.h
+include/kcal/kcalversion.h
+include/kcal/kresult.h
+include/kcal/listbase.h
+include/kcal/period.h
+include/kcal/person.h
+include/kcal/qtopiaformat.h
+include/kcal/recurrence.h
+include/kcal/recurrencerule.h
+include/kcal/resourcecached.h
+include/kcal/resourcecachedconfig.h
+include/kcal/resourcecalendar.h
+include/kcal/resourcelocal.h
+include/kcal/resourcelocalconfig.h
+include/kcal/resourcelocaldir.h
+include/kcal/resourcelocaldirconfig.h
+include/kcal/scheduler.h
+include/kcal/sortablelist.h
+include/kcal/todo.h
+include/kcal/vcaldrag.h
+include/kcal/vcalformat.h
+include/kimap/kimap_export.h
+include/kimap/rfccodecs.h
+include/kldap/ber.h
+include/kldap/kldap_export.h
+include/kldap/ldapattributeproxymodel.h
+include/kldap/ldapconfigwidget.h
+include/kldap/ldapconnection.h
+include/kldap/ldapcontrol.h
+include/kldap/ldapdefs.h
+include/kldap/ldapdn.h
+include/kldap/ldapmodel.h
+include/kldap/ldapobject.h
+include/kldap/ldapoperation.h
+include/kldap/ldapsearch.h
+include/kldap/ldapserver.h
+include/kldap/ldapstructureproxymodel.h
+include/kldap/ldapurl.h
+include/kldap/ldif.h
+include/kmime/boolflags.h
+include/kmime/kmime_charfreq.h
+include/kmime/kmime_codecs.h
+include/kmime/kmime_content.h
+include/kmime/kmime_contentindex.h
+include/kmime/kmime_dateformatter.h
+include/kmime/kmime_export.h
+include/kmime/kmime_header_parsing.h
+include/kmime/kmime_headers.h
+include/kmime/kmime_mdn.h
+include/kmime/kmime_message.h
+include/kmime/kmime_newsarticle.h
+include/kmime/kmime_util.h
+include/kpimidentities/identity.h
+include/kpimidentities/identitycombo.h
+include/kpimidentities/identitymanager.h
+include/kpimidentities/kpimidentities_export.h
+include/kpimidentities/signature.h
+include/kpimidentities/signatureconfigurator.h
+include/kpimutils/email.h
+include/kpimutils/kfileio.h
+include/kpimutils/kpimutils_export.h
+include/kpimutils/linklocator.h
+include/kpimutils/spellingfilter.h
+include/kresources/configdialog.h
+include/kresources/configpage.h
+include/kresources/configwidget.h
+include/kresources/factory.h
+include/kresources/idmapper.h
+include/kresources/kresources_export.h
+include/kresources/manager.h
+include/kresources/managerimpl.h
+include/kresources/resource.h
+include/kresources/selectdialog.h
+include/ktnef/formatter.h
+include/ktnef/ktnef_export.h
+include/ktnef/ktnefattach.h
+include/ktnef/ktnefdefs.h
+include/ktnef/ktnefmessage.h
+include/ktnef/ktnefparser.h
+include/ktnef/ktnefproperty.h
+include/ktnef/ktnefpropertyset.h
+include/ktnef/ktnefwriter.h
+include/kxmlrpcclient/client.h
+include/kxmlrpcclient/kxmlrpcclient_export.h
+include/mailtransport/mailtransport_export.h
+include/mailtransport/sendmailjob.h
+include/mailtransport/servertest.h
+include/mailtransport/smtpjob.h
+include/mailtransport/transport.h
+include/mailtransport/transportbase.h
+include/mailtransport/transportcombobox.h
+include/mailtransport/transportconfigdialog.h
+include/mailtransport/transportjob.h
+include/mailtransport/transportmanagementwidget.h
+include/mailtransport/transportmanager.h
+include/qgpgme/dataprovider.h
+include/qgpgme/eventloopinteractor.h
+include/qgpgme/qgpgme_export.h
+include/syndication/abstractparser.h
+include/syndication/atom/atom.h
+include/syndication/atom/category.h
+include/syndication/atom/constants.h
+include/syndication/atom/content.h
+include/syndication/atom/document.h
+include/syndication/atom/entry.h
+include/syndication/atom/generator.h
+include/syndication/atom/link.h
+include/syndication/atom/parser.h
+include/syndication/atom/person.h
+include/syndication/atom/source.h
+include/syndication/category.h
+include/syndication/constants.h
+include/syndication/dataretriever.h
+include/syndication/documentsource.h
+include/syndication/documentvisitor.h
+include/syndication/elementwrapper.h
+include/syndication/enclosure.h
+include/syndication/feed.h
+include/syndication/global.h
+include/syndication/image.h
+include/syndication/item.h
+include/syndication/ksyndication_export.h
+include/syndication/loader.h
+include/syndication/mapper.h
+include/syndication/parsercollection.h
+include/syndication/person.h
+include/syndication/rdf/contentvocab.h
+include/syndication/rdf/document.h
+include/syndication/rdf/dublincore.h
+include/syndication/rdf/dublincorevocab.h
+include/syndication/rdf/image.h
+include/syndication/rdf/item.h
+include/syndication/rdf/literal.h
+include/syndication/rdf/model.h
+include/syndication/rdf/modelmaker.h
+include/syndication/rdf/node.h
+include/syndication/rdf/nodevisitor.h
+include/syndication/rdf/parser.h
+include/syndication/rdf/property.h
+include/syndication/rdf/rdf.h
+include/syndication/rdf/rdfvocab.h
+include/syndication/rdf/resource.h
+include/syndication/rdf/resourcewrapper.h
+include/syndication/rdf/rssvocab.h
+include/syndication/rdf/sequence.h
+include/syndication/rdf/statement.h
+include/syndication/rdf/syndicationinfo.h
+include/syndication/rdf/syndicationvocab.h
+include/syndication/rdf/textinput.h
+include/syndication/rss2/category.h
+include/syndication/rss2/cloud.h
+include/syndication/rss2/document.h
+include/syndication/rss2/enclosure.h
+include/syndication/rss2/image.h
+include/syndication/rss2/item.h
+include/syndication/rss2/parser.h
+include/syndication/rss2/rss2.h
+include/syndication/rss2/source.h
+include/syndication/rss2/textinput.h
+include/syndication/specificdocument.h
+include/syndication/specificitem.h
+include/syndication/specificitemvisitor.h
+include/syndication/syndication.h
+include/syndication/tools.h
+lib/KdepimLibs/cmake/KDEPimLibsLibraryTargetsWithPrefix-%%KDE4_BUILD_TYPE%%.cmake
+lib/KdepimLibs/cmake/KDEPimLibsLibraryTargetsWithPrefix.cmake
+lib/KdepimLibs/cmake/KdepimLibsConfig.cmake
+lib/KdepimLibs/cmake/KdepimLibsConfigVersion.cmake
+lib/gpgmepp/GpgmeppConfig.cmake
+lib/gpgmepp/GpgmeppLibraryDepends.cmake
+lib/kde4/kabc_directory.so
+lib/kde4/kabc_file.so
+lib/kde4/kabc_ldapkio.so
+lib/kde4/kabc_net.so
+lib/kde4/kabcformat_binary.so
+lib/kde4/kcal_local.so
+lib/kde4/kcal_localdir.so
+lib/kde4/kcm_kresources.so
+lib/kde4/kcm_mailtransport.so
+lib/kde4/kio_imap4.so
+lib/kde4/kio_ldap.so
+lib/kde4/kio_mbox.so
+lib/kde4/kio_nntp.so
+lib/kde4/kio_pop3.so
+lib/kde4/kio_sieve.so
+lib/kde4/kio_smtp.so
+lib/libakonadi-kabc.so
+lib/libakonadi-kabc.so.5
+lib/libakonadi-kabc.so.5.0.1
+lib/libakonadi-kde.so
+lib/libakonadi-kde.so.5
+lib/libakonadi-kde.so.5.0.1
+lib/libakonadi-kmime.so
+lib/libakonadi-kmime.so.5
+lib/libakonadi-kmime.so.5.0.1
+%%WITH_PTH%%lib/libgpgme++-pth.so
+%%WITH_PTH%%lib/libgpgme++-pth.so.2
+%%WITH_PTH%%lib/libgpgme++-pth.so.2.0.2
+lib/libgpgme++-pthread.so
+lib/libgpgme++-pthread.so.2
+lib/libgpgme++-pthread.so.2.0.2
+lib/libgpgme++.so
+lib/libgpgme++.so.2
+lib/libgpgme++.so.2.0.2
+lib/libkabc.so
+lib/libkabc.so.5
+lib/libkabc.so.5.0.1
+lib/libkabc_file_core.so
+lib/libkabc_file_core.so.5
+lib/libkabc_file_core.so.5.0.1
+lib/libkblog.so
+lib/libkblog.so.5
+lib/libkblog.so.5.0.1
+lib/libkcal.so
+lib/libkcal.so.5
+lib/libkcal.so.5.0.1
+lib/libkimap.so
+lib/libkimap.so.5
+lib/libkimap.so.5.0.1
+lib/libkldap.so
+lib/libkldap.so.5
+lib/libkldap.so.5.0.1
+lib/libkmime.so
+lib/libkmime.so.5
+lib/libkmime.so.5.0.1
+lib/libkpimidentities.so
+lib/libkpimidentities.so.5
+lib/libkpimidentities.so.5.0.1
+lib/libkpimutils.so
+lib/libkpimutils.so.5
+lib/libkpimutils.so.5.0.1
+lib/libkresources.so
+lib/libkresources.so.5
+lib/libkresources.so.5.0.1
+lib/libktnef.so
+lib/libktnef.so.5
+lib/libktnef.so.5.0.1
+lib/libkxmlrpcclient.so
+lib/libkxmlrpcclient.so.5
+lib/libkxmlrpcclient.so.5.0.1
+lib/libmailtransport.so
+lib/libmailtransport.so.5
+lib/libmailtransport.so.5.0.1
+lib/libqgpgme.so
+lib/libqgpgme.so.1
+lib/libqgpgme.so.1.0.1
+lib/libsyndication.so
+lib/libsyndication.so.5
+lib/libsyndication.so.5.0.1
+share/apps/akonadi-kde/kcfg2dbus.xsl
+share/apps/cmake/modules/CheckTimezone.cmake
+share/apps/cmake/modules/FindAkonadi.cmake
+share/apps/cmake/modules/FindGpgme.cmake
+share/apps/cmake/modules/FindLdap.cmake
+share/apps/cmake/modules/FindLibical.cmake
+share/apps/cmake/modules/FindQGpgme.cmake
+share/apps/cmake/modules/KDEPimLibsDependencies.cmake
+share/apps/kabc/countrytransl.map
+share/apps/kabc/formats/binary.desktop
+share/apps/kconf_update/mailtransports.upd
+share/apps/kconf_update/migrate-transports.pl
+share/config.kcfg/mailtransport.kcfg
+share/dbus-1/interfaces/org.kde.KResourcesManager.xml
+share/dbus-1/interfaces/org.kde.pim.IdentityManager.xml
+share/doc/HTML/en/kcontrol/kresources/common
+share/doc/HTML/en/kcontrol/kresources/index.cache.bz2
+share/doc/HTML/en/kcontrol/kresources/index.docbook
+share/doc/HTML/en/kioslave/imap/common
+share/doc/HTML/en/kioslave/imap/index.cache.bz2
+share/doc/HTML/en/kioslave/imap/index.docbook
+share/doc/HTML/en/kioslave/ldap/common
+share/doc/HTML/en/kioslave/ldap/index.cache.bz2
+share/doc/HTML/en/kioslave/ldap/index.docbook
+share/doc/HTML/en/kioslave/nntp/common
+share/doc/HTML/en/kioslave/nntp/index.cache.bz2
+share/doc/HTML/en/kioslave/nntp/index.docbook
+share/doc/HTML/en/kioslave/pop3/common
+share/doc/HTML/en/kioslave/pop3/index.cache.bz2
+share/doc/HTML/en/kioslave/pop3/index.docbook
+share/doc/HTML/en/kioslave/smtp/common
+share/doc/HTML/en/kioslave/smtp/index.cache.bz2
+share/doc/HTML/en/kioslave/smtp/index.docbook
+share/kde4/services/imap4.protocol
+share/kde4/services/imaps.protocol
+share/kde4/services/kcm_mailtransport.desktop
+share/kde4/services/kresources.desktop
+share/kde4/services/kresources/kabc/dir.desktop
+share/kde4/services/kresources/kabc/file.desktop
+share/kde4/services/kresources/kabc/ldapkio.desktop
+share/kde4/services/kresources/kabc/net.desktop
+share/kde4/services/kresources/kabc_manager.desktop
+share/kde4/services/kresources/kcal/local.desktop
+share/kde4/services/kresources/kcal/localdir.desktop
+share/kde4/services/kresources/kcal_manager.desktop
+share/kde4/services/ldap.protocol
+share/kde4/services/ldaps.protocol
+share/kde4/services/mbox.protocol
+share/kde4/services/nntp.protocol
+share/kde4/services/nntps.protocol
+share/kde4/services/pop3.protocol
+share/kde4/services/pop3s.protocol
+share/kde4/services/sieve.protocol
+share/kde4/services/smtp.protocol
+share/kde4/services/smtps.protocol
+share/kde4/servicetypes/kresources_manager.desktop
+share/kde4/servicetypes/kresources_plugin.desktop
+@dirrm share/doc/HTML/en/kioslave/smtp
+@dirrm share/doc/HTML/en/kioslave/pop3
+@dirrm share/doc/HTML/en/kioslave/nntp
+@dirrm share/doc/HTML/en/kioslave/ldap
+@dirrm share/doc/HTML/en/kioslave/imap
+@dirrm share/doc/HTML/en/kcontrol/kresources
+@dirrm share/apps/akonadi-kde
+@dirrm lib/gpgmepp
+@dirrm lib/KdepimLibs/cmake
+@dirrm lib/KdepimLibs
+@dirrm include/syndication/rss2
+@dirrm include/syndication/rdf
+@dirrm include/syndication/atom
+@dirrm include/syndication
+@dirrm include/qgpgme
+@dirrm include/mailtransport
+@dirrm include/kxmlrpcclient
+@dirrm include/ktnef
+@dirrm include/kresources
+@dirrm include/kpimutils
+@dirrm include/kpimidentities
+@dirrm include/kmime
+@dirrm include/kldap
+@dirrm include/kimap
+@dirrm include/kcal
+@dirrm include/kblog
+@dirrm include/kabc
+@dirrm include/gpgme++/interfaces
+@dirrm include/gpgme++
+@dirrmtry include/akonadi/private
+@dirrm include/akonadi/kmime
+@dirrm include/akonadi/kabc
+@dirrmtry include/akonadi
diff --git a/deskutils/orage/Makefile b/deskutils/orage/Makefile
new file mode 100644
index 000000000..f458526c7
--- /dev/null
+++ b/deskutils/orage/Makefile
@@ -0,0 +1,51 @@
+# New ports collection makefile for: xfce4-calendar
+# Date created: 2003-01-14
+# Whom: Matt Lancereau <matt@rimasec.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= orage
+PORTVERSION= 4.6.0
+CATEGORIES= deskutils xfce
+MASTER_SITES= ${MASTER_SITE_XFCE}
+DIST_SUBDIR= xfce4
+
+MAINTAINER= oliver@FreeBSD.org
+COMMENT= A calendar application to manage your time with XFce 4
+
+GNU_CONFIGURE= yes
+INSTALLS_ICONS= yes
+USE_BZIP2= yes
+USE_GETTEXT= yes
+USE_GMAKE= yes
+USE_GNOME= gnometarget gtk20 intltool intlhack pkgconfig
+USE_XFCE= configenv libgui panel
+USE_XORG= xext xrender xinerama xi xrandr xcursor xcomposite xdamage x11 \
+ xfixes
+
+OPTIONS= BDB "Enable BDB support" off \
+ ICAL "Enable libical support" off
+
+MAN1= globaltime.1 orage.1
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_BDB)
+CONFIGURE_ARGS+=--with-bdb4=yes --with-bdb4_dir=${LOCALBASE}
+USE_BDB= 40
+.else
+CONFIGURE_ARGS+=--with-bdb4=no
+.endif
+
+.if defined(WITH_ICAL)
+LIB_DEPENDS+= ical.43:${PORTSDIR}/devel/libical
+.endif
+
+post-patch:
+.if !defined(WITH_ICAL)
+ @${REINPLACE_CMD} -e 's|libical-|no-&|g' ${WRKSRC}/configure
+.endif
+ @${REINPLACE_CMD} -e 's|echo aout|echo elf|g' ${WRKSRC}/configure
+
+.include <bsd.port.post.mk>
diff --git a/deskutils/orage/distinfo b/deskutils/orage/distinfo
new file mode 100644
index 000000000..87c2d386d
--- /dev/null
+++ b/deskutils/orage/distinfo
@@ -0,0 +1,3 @@
+MD5 (xfce4/orage-4.6.0.tar.bz2) = c3f71a922f9032119dbb1b37a09adf93
+SHA256 (xfce4/orage-4.6.0.tar.bz2) = ec284731ed0f06bb2753be853a3a742383e8d35b29a894292cbeb3fea8a93445
+SIZE (xfce4/orage-4.6.0.tar.bz2) = 1934900
diff --git a/deskutils/orage/pkg-descr b/deskutils/orage/pkg-descr
new file mode 100644
index 000000000..d0c4a1bda
--- /dev/null
+++ b/deskutils/orage/pkg-descr
@@ -0,0 +1,6 @@
+Orage provides a calendar which integrates nicely into the Xfce desktop
+environment. It is highly configurable and supports alerts based on dates.
+It warns you with popup or audio alarm. As it is an application kind-of
+every day use it launches itself in the background as a daemon.
+
+WWW: http://www.xfce.org/projects/orage/
diff --git a/deskutils/orage/pkg-plist b/deskutils/orage/pkg-plist
new file mode 100644
index 000000000..dc43cf1fa
--- /dev/null
+++ b/deskutils/orage/pkg-plist
@@ -0,0 +1,499 @@
+bin/globaltime
+bin/orage
+libexec/xfce4/panel-plugins/orageclock
+share/applications/xfcalendar.desktop
+share/applications/xfce-xfcalendar-settings.desktop
+share/dbus-1/services/org.xfce.calendar.service
+share/dbus-1/services/org.xfce.orage.service
+share/icons/hicolor/48x48/apps/xfcalendar.png
+share/icons/hicolor/scalable/apps/xfcalendar.svg
+share/locale/am/LC_MESSAGES/orage.mo
+share/locale/ar/LC_MESSAGES/orage.mo
+share/locale/az/LC_MESSAGES/orage.mo
+share/locale/bg/LC_MESSAGES/orage.mo
+share/locale/da/LC_MESSAGES/orage.mo
+share/locale/de/LC_MESSAGES/orage.mo
+share/locale/dz/LC_MESSAGES/orage.mo
+share/locale/en_AU/LC_MESSAGES/orage.mo
+share/locale/en_GB/LC_MESSAGES/orage.mo
+share/locale/eo/LC_MESSAGES/orage.mo
+share/locale/es/LC_MESSAGES/orage.mo
+share/locale/et/LC_MESSAGES/orage.mo
+share/locale/eu/LC_MESSAGES/orage.mo
+share/locale/fa/LC_MESSAGES/orage.mo
+share/locale/fr/LC_MESSAGES/orage.mo
+share/locale/gu/LC_MESSAGES/orage.mo
+share/locale/he/LC_MESSAGES/orage.mo
+share/locale/hi/LC_MESSAGES/orage.mo
+share/locale/hu/LC_MESSAGES/orage.mo
+share/locale/id/LC_MESSAGES/orage.mo
+share/locale/it/LC_MESSAGES/orage.mo
+share/locale/ja/LC_MESSAGES/orage.mo
+share/locale/ka/LC_MESSAGES/orage.mo
+share/locale/ku/LC_MESSAGES/orage.mo
+share/locale/lt/LC_MESSAGES/orage.mo
+share/locale/lv/LC_MESSAGES/orage.mo
+share/locale/mk/LC_MESSAGES/orage.mo
+share/locale/ms/LC_MESSAGES/orage.mo
+share/locale/nl/LC_MESSAGES/orage.mo
+share/locale/pa/LC_MESSAGES/orage.mo
+share/locale/pt_BR/LC_MESSAGES/orage.mo
+share/locale/pt_PT/LC_MESSAGES/orage.mo
+share/locale/ru/LC_MESSAGES/orage.mo
+share/locale/sq/LC_MESSAGES/orage.mo
+share/locale/sv/LC_MESSAGES/orage.mo
+share/locale/ta/LC_MESSAGES/orage.mo
+share/locale/tr/LC_MESSAGES/orage.mo
+share/locale/ur/LC_MESSAGES/orage.mo
+share/locale/vi/LC_MESSAGES/orage.mo
+share/locale/be/LC_MESSAGES/orage.mo
+share/locale/ca/LC_MESSAGES/orage.mo
+share/locale/cs/LC_MESSAGES/orage.mo
+share/locale/el/LC_MESSAGES/orage.mo
+share/locale/fi/LC_MESSAGES/orage.mo
+share/locale/gl/LC_MESSAGES/orage.mo
+share/locale/ko/LC_MESSAGES/orage.mo
+share/locale/pl/LC_MESSAGES/orage.mo
+share/locale/ro/LC_MESSAGES/orage.mo
+share/locale/sk/LC_MESSAGES/orage.mo
+share/locale/uk/LC_MESSAGES/orage.mo
+share/locale/zh_CN/LC_MESSAGES/orage.mo
+share/locale/zh_TW/LC_MESSAGES/orage.mo
+share/locale/mr/LC_MESSAGES/orage.mo
+share/locale/bn_IN/LC_MESSAGES/orage.mo
+share/locale/nb_NO/LC_MESSAGES/orage.mo
+share/locale/hy/LC_MESSAGES/orage.mo
+share/orage/doc/C/images/default_calendar.png
+share/orage/doc/C/images/orage_eventlist.png
+share/orage/doc/C/images/orage_appointment.png
+share/orage/doc/C/images/orage_appointment_alarm.png
+share/orage/doc/C/images/orage_appointment_recurrence.png
+share/orage/doc/C/images/orage_calendar_edit_menu.png
+share/orage/doc/C/images/orage_calendar_file_menu.png
+share/orage/doc/C/images/orage_calendar_help_menu.png
+share/orage/doc/C/images/orage_calendar_view_menu.png
+share/orage/doc/C/images/orage_desktop_menuitem.png
+share/orage/doc/C/images/orage_preferences_display.png
+share/orage/doc/C/images/orage_daylist.png
+share/orage/doc/C/images/orage_exchange_impexp.png
+share/orage/doc/C/images/orage_exchange_oragefiles.png
+share/orage/doc/C/images/orage_exchange_foreign.png
+share/orage/doc/C/images/orage_preferences_main.png
+share/orage/doc/C/images/orage_preferences_extra.png
+share/orage/doc/C/orage.html
+share/orage/sounds/Boiling.wav
+share/orage/sounds/KDE_Beep_Digital_1.ogg
+share/orage/sounds/KDE_Beep_Digital_2.ogg
+share/orage/sounds/Knock.wav
+share/orage/sounds/Phone.wav
+share/orage/sounds/Spo.wav
+share/orage/sounds/Tear.wav
+share/orage/sounds/Wall_c.wav
+share/orage/zoneinfo/Africa/Abidjan.ics
+share/orage/zoneinfo/Africa/Accra.ics
+share/orage/zoneinfo/Africa/Addis_Ababa.ics
+share/orage/zoneinfo/Africa/Algiers.ics
+share/orage/zoneinfo/Africa/Asmera.ics
+share/orage/zoneinfo/Africa/Bamako.ics
+share/orage/zoneinfo/Africa/Bangui.ics
+share/orage/zoneinfo/Africa/Banjul.ics
+share/orage/zoneinfo/Africa/Bissau.ics
+share/orage/zoneinfo/Africa/Blantyre.ics
+share/orage/zoneinfo/Africa/Brazzaville.ics
+share/orage/zoneinfo/Africa/Bujumbura.ics
+share/orage/zoneinfo/Africa/Cairo.ics
+share/orage/zoneinfo/Africa/Casablanca.ics
+share/orage/zoneinfo/Africa/Ceuta.ics
+share/orage/zoneinfo/Africa/Conakry.ics
+share/orage/zoneinfo/Africa/Dakar.ics
+share/orage/zoneinfo/Africa/Dar_es_Salaam.ics
+share/orage/zoneinfo/Africa/Djibouti.ics
+share/orage/zoneinfo/Africa/Douala.ics
+share/orage/zoneinfo/Africa/El_Aaiun.ics
+share/orage/zoneinfo/Africa/Freetown.ics
+share/orage/zoneinfo/Africa/Gaborone.ics
+share/orage/zoneinfo/Africa/Harare.ics
+share/orage/zoneinfo/Africa/Johannesburg.ics
+share/orage/zoneinfo/Africa/Kampala.ics
+share/orage/zoneinfo/Africa/Khartoum.ics
+share/orage/zoneinfo/Africa/Kigali.ics
+share/orage/zoneinfo/Africa/Kinshasa.ics
+share/orage/zoneinfo/Africa/Lagos.ics
+share/orage/zoneinfo/Africa/Libreville.ics
+share/orage/zoneinfo/Africa/Lome.ics
+share/orage/zoneinfo/Africa/Luanda.ics
+share/orage/zoneinfo/Africa/Lubumbashi.ics
+share/orage/zoneinfo/Africa/Lusaka.ics
+share/orage/zoneinfo/Africa/Malabo.ics
+share/orage/zoneinfo/Africa/Maputo.ics
+share/orage/zoneinfo/Africa/Maseru.ics
+share/orage/zoneinfo/Africa/Mbabane.ics
+share/orage/zoneinfo/Africa/Mogadishu.ics
+share/orage/zoneinfo/Africa/Monrovia.ics
+share/orage/zoneinfo/Africa/Nairobi.ics
+share/orage/zoneinfo/Africa/Ndjamena.ics
+share/orage/zoneinfo/Africa/Niamey.ics
+share/orage/zoneinfo/Africa/Nouakchott.ics
+share/orage/zoneinfo/Africa/Ouagadougou.ics
+share/orage/zoneinfo/Africa/Porto-Novo.ics
+share/orage/zoneinfo/Africa/Sao_Tome.ics
+share/orage/zoneinfo/Africa/Timbuktu.ics
+share/orage/zoneinfo/Africa/Tripoli.ics
+share/orage/zoneinfo/Africa/Tunis.ics
+share/orage/zoneinfo/Africa/Windhoek.ics
+share/orage/zoneinfo/America/Argentina/Buenos_Aires.ics
+share/orage/zoneinfo/America/Argentina/Catamarca.ics
+share/orage/zoneinfo/America/Argentina/Cordoba.ics
+share/orage/zoneinfo/America/Argentina/Jujuy.ics
+share/orage/zoneinfo/America/Argentina/Mendoza.ics
+share/orage/zoneinfo/America/Adak.ics
+share/orage/zoneinfo/America/Anchorage.ics
+share/orage/zoneinfo/America/Anguilla.ics
+share/orage/zoneinfo/America/Antigua.ics
+share/orage/zoneinfo/America/Araguaina.ics
+share/orage/zoneinfo/America/Aruba.ics
+share/orage/zoneinfo/America/Asuncion.ics
+share/orage/zoneinfo/America/Barbados.ics
+share/orage/zoneinfo/America/Belem.ics
+share/orage/zoneinfo/America/Belize.ics
+share/orage/zoneinfo/America/Boa_Vista.ics
+share/orage/zoneinfo/America/Bogota.ics
+share/orage/zoneinfo/America/Boise.ics
+share/orage/zoneinfo/America/Buenos_Aires.ics
+share/orage/zoneinfo/America/Cambridge_Bay.ics
+share/orage/zoneinfo/America/Cancun.ics
+share/orage/zoneinfo/America/Caracas.ics
+share/orage/zoneinfo/America/Catamarca.ics
+share/orage/zoneinfo/America/Cayenne.ics
+share/orage/zoneinfo/America/Cayman.ics
+share/orage/zoneinfo/America/Chicago.ics
+share/orage/zoneinfo/America/Chihuahua.ics
+share/orage/zoneinfo/America/Cordoba.ics
+share/orage/zoneinfo/America/Costa_Rica.ics
+share/orage/zoneinfo/America/Cuiaba.ics
+share/orage/zoneinfo/America/Curacao.ics
+share/orage/zoneinfo/America/Dawson.ics
+share/orage/zoneinfo/America/Dawson_Creek.ics
+share/orage/zoneinfo/America/Denver.ics
+share/orage/zoneinfo/America/Detroit.ics
+share/orage/zoneinfo/America/Dominica.ics
+share/orage/zoneinfo/America/Edmonton.ics
+share/orage/zoneinfo/America/Eirunepe.ics
+share/orage/zoneinfo/America/El_Salvador.ics
+share/orage/zoneinfo/America/Fortaleza.ics
+share/orage/zoneinfo/America/Glace_Bay.ics
+share/orage/zoneinfo/America/Godthab.ics
+share/orage/zoneinfo/America/Goose_Bay.ics
+share/orage/zoneinfo/America/Grand_Turk.ics
+share/orage/zoneinfo/America/Grenada.ics
+share/orage/zoneinfo/America/Guadeloupe.ics
+share/orage/zoneinfo/America/Guatemala.ics
+share/orage/zoneinfo/America/Guayaquil.ics
+share/orage/zoneinfo/America/Guyana.ics
+share/orage/zoneinfo/America/Halifax.ics
+share/orage/zoneinfo/America/Havana.ics
+share/orage/zoneinfo/America/Hermosillo.ics
+share/orage/zoneinfo/America/Indiana/Indianapolis.ics
+share/orage/zoneinfo/America/Indiana/Knox.ics
+share/orage/zoneinfo/America/Indiana/Marengo.ics
+share/orage/zoneinfo/America/Indiana/Vevay.ics
+share/orage/zoneinfo/America/Indianapolis.ics
+share/orage/zoneinfo/America/Inuvik.ics
+share/orage/zoneinfo/America/Iqaluit.ics
+share/orage/zoneinfo/America/Jamaica.ics
+share/orage/zoneinfo/America/Jujuy.ics
+share/orage/zoneinfo/America/Juneau.ics
+share/orage/zoneinfo/America/Kentucky/Louisville.ics
+share/orage/zoneinfo/America/Kentucky/Monticello.ics
+share/orage/zoneinfo/America/La_Paz.ics
+share/orage/zoneinfo/America/Lima.ics
+share/orage/zoneinfo/America/Los_Angeles.ics
+share/orage/zoneinfo/America/Louisville.ics
+share/orage/zoneinfo/America/Maceio.ics
+share/orage/zoneinfo/America/Managua.ics
+share/orage/zoneinfo/America/Manaus.ics
+share/orage/zoneinfo/America/Martinique.ics
+share/orage/zoneinfo/America/Mazatlan.ics
+share/orage/zoneinfo/America/Mendoza.ics
+share/orage/zoneinfo/America/Menominee.ics
+share/orage/zoneinfo/America/Merida.ics
+share/orage/zoneinfo/America/Mexico_City.ics
+share/orage/zoneinfo/America/Miquelon.ics
+share/orage/zoneinfo/America/Monterrey.ics
+share/orage/zoneinfo/America/Montevideo.ics
+share/orage/zoneinfo/America/Montreal.ics
+share/orage/zoneinfo/America/Montserrat.ics
+share/orage/zoneinfo/America/Nassau.ics
+share/orage/zoneinfo/America/New_York.ics
+share/orage/zoneinfo/America/Nipigon.ics
+share/orage/zoneinfo/America/Nome.ics
+share/orage/zoneinfo/America/Noronha.ics
+share/orage/zoneinfo/America/Panama.ics
+share/orage/zoneinfo/America/Pangnirtung.ics
+share/orage/zoneinfo/America/Paramaribo.ics
+share/orage/zoneinfo/America/Phoenix.ics
+share/orage/zoneinfo/America/Port-au-Prince.ics
+share/orage/zoneinfo/America/Port_of_Spain.ics
+share/orage/zoneinfo/America/Porto_Velho.ics
+share/orage/zoneinfo/America/Puerto_Rico.ics
+share/orage/zoneinfo/America/Rainy_River.ics
+share/orage/zoneinfo/America/Rankin_Inlet.ics
+share/orage/zoneinfo/America/Recife.ics
+share/orage/zoneinfo/America/Regina.ics
+share/orage/zoneinfo/America/Rio_Branco.ics
+share/orage/zoneinfo/America/Rosario.ics
+share/orage/zoneinfo/America/Santiago.ics
+share/orage/zoneinfo/America/Santo_Domingo.ics
+share/orage/zoneinfo/America/Sao_Paulo.ics
+share/orage/zoneinfo/America/Scoresbysund.ics
+share/orage/zoneinfo/America/Shiprock.ics
+share/orage/zoneinfo/America/St_Johns.ics
+share/orage/zoneinfo/America/St_Kitts.ics
+share/orage/zoneinfo/America/St_Lucia.ics
+share/orage/zoneinfo/America/St_Thomas.ics
+share/orage/zoneinfo/America/St_Vincent.ics
+share/orage/zoneinfo/America/Swift_Current.ics
+share/orage/zoneinfo/America/Tegucigalpa.ics
+share/orage/zoneinfo/America/Thule.ics
+share/orage/zoneinfo/America/Thunder_Bay.ics
+share/orage/zoneinfo/America/Tijuana.ics
+share/orage/zoneinfo/America/Tortola.ics
+share/orage/zoneinfo/America/Vancouver.ics
+share/orage/zoneinfo/America/Whitehorse.ics
+share/orage/zoneinfo/America/Winnipeg.ics
+share/orage/zoneinfo/America/Yakutat.ics
+share/orage/zoneinfo/America/Yellowknife.ics
+share/orage/zoneinfo/Antarctica/Casey.ics
+share/orage/zoneinfo/Antarctica/Davis.ics
+share/orage/zoneinfo/Antarctica/DumontDUrville.ics
+share/orage/zoneinfo/Antarctica/Mawson.ics
+share/orage/zoneinfo/Antarctica/McMurdo.ics
+share/orage/zoneinfo/Antarctica/Palmer.ics
+share/orage/zoneinfo/Antarctica/South_Pole.ics
+share/orage/zoneinfo/Antarctica/Syowa.ics
+share/orage/zoneinfo/Antarctica/Vostok.ics
+share/orage/zoneinfo/Arctic/Longyearbyen.ics
+share/orage/zoneinfo/Asia/Aden.ics
+share/orage/zoneinfo/Asia/Almaty.ics
+share/orage/zoneinfo/Asia/Amman.ics
+share/orage/zoneinfo/Asia/Anadyr.ics
+share/orage/zoneinfo/Asia/Aqtau.ics
+share/orage/zoneinfo/Asia/Aqtobe.ics
+share/orage/zoneinfo/Asia/Ashgabat.ics
+share/orage/zoneinfo/Asia/Baghdad.ics
+share/orage/zoneinfo/Asia/Bahrain.ics
+share/orage/zoneinfo/Asia/Baku.ics
+share/orage/zoneinfo/Asia/Bangkok.ics
+share/orage/zoneinfo/Asia/Beirut.ics
+share/orage/zoneinfo/Asia/Bishkek.ics
+share/orage/zoneinfo/Asia/Brunei.ics
+share/orage/zoneinfo/Asia/Calcutta.ics
+share/orage/zoneinfo/Asia/Chungking.ics
+share/orage/zoneinfo/Asia/Colombo.ics
+share/orage/zoneinfo/Asia/Damascus.ics
+share/orage/zoneinfo/Asia/Dhaka.ics
+share/orage/zoneinfo/Asia/Dili.ics
+share/orage/zoneinfo/Asia/Dubai.ics
+share/orage/zoneinfo/Asia/Dushanbe.ics
+share/orage/zoneinfo/Asia/Gaza.ics
+share/orage/zoneinfo/Asia/Harbin.ics
+share/orage/zoneinfo/Asia/Hong_Kong.ics
+share/orage/zoneinfo/Asia/Hovd.ics
+share/orage/zoneinfo/Asia/Irkutsk.ics
+share/orage/zoneinfo/Asia/Istanbul.ics
+share/orage/zoneinfo/Asia/Jakarta.ics
+share/orage/zoneinfo/Asia/Jayapura.ics
+share/orage/zoneinfo/Asia/Jerusalem.ics
+share/orage/zoneinfo/Asia/Kabul.ics
+share/orage/zoneinfo/Asia/Kamchatka.ics
+share/orage/zoneinfo/Asia/Karachi.ics
+share/orage/zoneinfo/Asia/Kashgar.ics
+share/orage/zoneinfo/Asia/Katmandu.ics
+share/orage/zoneinfo/Asia/Krasnoyarsk.ics
+share/orage/zoneinfo/Asia/Kuala_Lumpur.ics
+share/orage/zoneinfo/Asia/Kuching.ics
+share/orage/zoneinfo/Asia/Kuwait.ics
+share/orage/zoneinfo/Asia/Macao.ics
+share/orage/zoneinfo/Asia/Magadan.ics
+share/orage/zoneinfo/Asia/Manila.ics
+share/orage/zoneinfo/Asia/Muscat.ics
+share/orage/zoneinfo/Asia/Nicosia.ics
+share/orage/zoneinfo/Asia/Novosibirsk.ics
+share/orage/zoneinfo/Asia/Omsk.ics
+share/orage/zoneinfo/Asia/Phnom_Penh.ics
+share/orage/zoneinfo/Asia/Pontianak.ics
+share/orage/zoneinfo/Asia/Pyongyang.ics
+share/orage/zoneinfo/Asia/Qatar.ics
+share/orage/zoneinfo/Asia/Rangoon.ics
+share/orage/zoneinfo/Asia/Riyadh.ics
+share/orage/zoneinfo/Asia/Saigon.ics
+share/orage/zoneinfo/Asia/Samarkand.ics
+share/orage/zoneinfo/Asia/Seoul.ics
+share/orage/zoneinfo/Asia/Shanghai.ics
+share/orage/zoneinfo/Asia/Singapore.ics
+share/orage/zoneinfo/Asia/Taipei.ics
+share/orage/zoneinfo/Asia/Tashkent.ics
+share/orage/zoneinfo/Asia/Tbilisi.ics
+share/orage/zoneinfo/Asia/Tehran.ics
+share/orage/zoneinfo/Asia/Thimphu.ics
+share/orage/zoneinfo/Asia/Tokyo.ics
+share/orage/zoneinfo/Asia/Ujung_Pandang.ics
+share/orage/zoneinfo/Asia/Ulaanbaatar.ics
+share/orage/zoneinfo/Asia/Urumqi.ics
+share/orage/zoneinfo/Asia/Vientiane.ics
+share/orage/zoneinfo/Asia/Vladivostok.ics
+share/orage/zoneinfo/Asia/Yakutsk.ics
+share/orage/zoneinfo/Asia/Yekaterinburg.ics
+share/orage/zoneinfo/Asia/Yerevan.ics
+share/orage/zoneinfo/Atlantic/Azores.ics
+share/orage/zoneinfo/Atlantic/Bermuda.ics
+share/orage/zoneinfo/Atlantic/Canary.ics
+share/orage/zoneinfo/Atlantic/Cape_Verde.ics
+share/orage/zoneinfo/Atlantic/Faeroe.ics
+share/orage/zoneinfo/Atlantic/Jan_Mayen.ics
+share/orage/zoneinfo/Atlantic/Madeira.ics
+share/orage/zoneinfo/Atlantic/Reykjavik.ics
+share/orage/zoneinfo/Atlantic/South_Georgia.ics
+share/orage/zoneinfo/Atlantic/St_Helena.ics
+share/orage/zoneinfo/Atlantic/Stanley.ics
+share/orage/zoneinfo/Australia/Adelaide.ics
+share/orage/zoneinfo/Australia/Brisbane.ics
+share/orage/zoneinfo/Australia/Broken_Hill.ics
+share/orage/zoneinfo/Australia/Darwin.ics
+share/orage/zoneinfo/Australia/Hobart.ics
+share/orage/zoneinfo/Australia/Lindeman.ics
+share/orage/zoneinfo/Australia/Lord_Howe.ics
+share/orage/zoneinfo/Australia/Melbourne.ics
+share/orage/zoneinfo/Australia/Perth.ics
+share/orage/zoneinfo/Australia/Sydney.ics
+share/orage/zoneinfo/Europe/Amsterdam.ics
+share/orage/zoneinfo/Europe/Andorra.ics
+share/orage/zoneinfo/Europe/Athens.ics
+share/orage/zoneinfo/Europe/Belfast.ics
+share/orage/zoneinfo/Europe/Belgrade.ics
+share/orage/zoneinfo/Europe/Berlin.ics
+share/orage/zoneinfo/Europe/Bratislava.ics
+share/orage/zoneinfo/Europe/Brussels.ics
+share/orage/zoneinfo/Europe/Bucharest.ics
+share/orage/zoneinfo/Europe/Budapest.ics
+share/orage/zoneinfo/Europe/Chisinau.ics
+share/orage/zoneinfo/Europe/Copenhagen.ics
+share/orage/zoneinfo/Europe/Dublin.ics
+share/orage/zoneinfo/Europe/Gibraltar.ics
+share/orage/zoneinfo/Europe/Helsinki.ics
+share/orage/zoneinfo/Europe/Istanbul.ics
+share/orage/zoneinfo/Europe/Kaliningrad.ics
+share/orage/zoneinfo/Europe/Kiev.ics
+share/orage/zoneinfo/Europe/Lisbon.ics
+share/orage/zoneinfo/Europe/Ljubljana.ics
+share/orage/zoneinfo/Europe/London.ics
+share/orage/zoneinfo/Europe/Luxembourg.ics
+share/orage/zoneinfo/Europe/Madrid.ics
+share/orage/zoneinfo/Europe/Malta.ics
+share/orage/zoneinfo/Europe/Minsk.ics
+share/orage/zoneinfo/Europe/Monaco.ics
+share/orage/zoneinfo/Europe/Moscow.ics
+share/orage/zoneinfo/Europe/Nicosia.ics
+share/orage/zoneinfo/Europe/Oslo.ics
+share/orage/zoneinfo/Europe/Paris.ics
+share/orage/zoneinfo/Europe/Prague.ics
+share/orage/zoneinfo/Europe/Riga.ics
+share/orage/zoneinfo/Europe/Rome.ics
+share/orage/zoneinfo/Europe/Samara.ics
+share/orage/zoneinfo/Europe/San_Marino.ics
+share/orage/zoneinfo/Europe/Sarajevo.ics
+share/orage/zoneinfo/Europe/Simferopol.ics
+share/orage/zoneinfo/Europe/Skopje.ics
+share/orage/zoneinfo/Europe/Sofia.ics
+share/orage/zoneinfo/Europe/Stockholm.ics
+share/orage/zoneinfo/Europe/Tallinn.ics
+share/orage/zoneinfo/Europe/Tirane.ics
+share/orage/zoneinfo/Europe/Uzhgorod.ics
+share/orage/zoneinfo/Europe/Vaduz.ics
+share/orage/zoneinfo/Europe/Vatican.ics
+share/orage/zoneinfo/Europe/Vienna.ics
+share/orage/zoneinfo/Europe/Vilnius.ics
+share/orage/zoneinfo/Europe/Warsaw.ics
+share/orage/zoneinfo/Europe/Zagreb.ics
+share/orage/zoneinfo/Europe/Zaporozhye.ics
+share/orage/zoneinfo/Europe/Zurich.ics
+share/orage/zoneinfo/Indian/Antananarivo.ics
+share/orage/zoneinfo/Indian/Chagos.ics
+share/orage/zoneinfo/Indian/Christmas.ics
+share/orage/zoneinfo/Indian/Cocos.ics
+share/orage/zoneinfo/Indian/Comoro.ics
+share/orage/zoneinfo/Indian/Kerguelen.ics
+share/orage/zoneinfo/Indian/Mahe.ics
+share/orage/zoneinfo/Indian/Maldives.ics
+share/orage/zoneinfo/Indian/Mauritius.ics
+share/orage/zoneinfo/Indian/Mayotte.ics
+share/orage/zoneinfo/Indian/Reunion.ics
+share/orage/zoneinfo/Pacific/Apia.ics
+share/orage/zoneinfo/Pacific/Auckland.ics
+share/orage/zoneinfo/Pacific/Chatham.ics
+share/orage/zoneinfo/Pacific/Easter.ics
+share/orage/zoneinfo/Pacific/Efate.ics
+share/orage/zoneinfo/Pacific/Enderbury.ics
+share/orage/zoneinfo/Pacific/Fakaofo.ics
+share/orage/zoneinfo/Pacific/Fiji.ics
+share/orage/zoneinfo/Pacific/Funafuti.ics
+share/orage/zoneinfo/Pacific/Galapagos.ics
+share/orage/zoneinfo/Pacific/Gambier.ics
+share/orage/zoneinfo/Pacific/Guadalcanal.ics
+share/orage/zoneinfo/Pacific/Guam.ics
+share/orage/zoneinfo/Pacific/Honolulu.ics
+share/orage/zoneinfo/Pacific/Johnston.ics
+share/orage/zoneinfo/Pacific/Kiritimati.ics
+share/orage/zoneinfo/Pacific/Kosrae.ics
+share/orage/zoneinfo/Pacific/Kwajalein.ics
+share/orage/zoneinfo/Pacific/Majuro.ics
+share/orage/zoneinfo/Pacific/Marquesas.ics
+share/orage/zoneinfo/Pacific/Midway.ics
+share/orage/zoneinfo/Pacific/Nauru.ics
+share/orage/zoneinfo/Pacific/Niue.ics
+share/orage/zoneinfo/Pacific/Norfolk.ics
+share/orage/zoneinfo/Pacific/Noumea.ics
+share/orage/zoneinfo/Pacific/Pago_Pago.ics
+share/orage/zoneinfo/Pacific/Palau.ics
+share/orage/zoneinfo/Pacific/Pitcairn.ics
+share/orage/zoneinfo/Pacific/Ponape.ics
+share/orage/zoneinfo/Pacific/Port_Moresby.ics
+share/orage/zoneinfo/Pacific/Rarotonga.ics
+share/orage/zoneinfo/Pacific/Saipan.ics
+share/orage/zoneinfo/Pacific/Tahiti.ics
+share/orage/zoneinfo/Pacific/Tarawa.ics
+share/orage/zoneinfo/Pacific/Tongatapu.ics
+share/orage/zoneinfo/Pacific/Truk.ics
+share/orage/zoneinfo/Pacific/Wake.ics
+share/orage/zoneinfo/Pacific/Wallis.ics
+share/orage/zoneinfo/Pacific/Yap.ics
+share/orage/zoneinfo/zones.tab
+share/xfce4/panel-plugins/orageclock.desktop
+@dirrmtry libexec/xfce4/panel-plugins
+@dirrmtry libexec/xfce4
+@dirrmtry share/applications
+@dirrmtry share/locale/ku/LC_MESSAGES
+@dirrmtry share/locale/ku
+@dirrm share/orage/doc/C/images
+@dirrm share/orage/doc/C
+@dirrm share/orage/doc
+@dirrm share/orage/sounds
+@dirrm share/orage/zoneinfo/Africa
+@dirrm share/orage/zoneinfo/America/Argentina
+@dirrm share/orage/zoneinfo/America/Indiana
+@dirrm share/orage/zoneinfo/America/Kentucky
+@dirrm share/orage/zoneinfo/America
+@dirrm share/orage/zoneinfo/Antarctica
+@dirrm share/orage/zoneinfo/Arctic
+@dirrm share/orage/zoneinfo/Asia
+@dirrm share/orage/zoneinfo/Atlantic
+@dirrm share/orage/zoneinfo/Australia
+@dirrm share/orage/zoneinfo/Europe
+@dirrm share/orage/zoneinfo/Indian
+@dirrm share/orage/zoneinfo/Pacific
+@dirrm share/orage/zoneinfo
+@dirrm share/orage
+@dirrmtry share/xfce4/panel-plugins
+@dirrmtry share/xfce4
+@dirrmtry share/icons/hicolor/scalable/apps
+@dirrmtry share/icons/hicolor/scalable
diff --git a/misc/wmcalendar/Makefile b/misc/wmcalendar/Makefile
new file mode 100644
index 000000000..cff718154
--- /dev/null
+++ b/misc/wmcalendar/Makefile
@@ -0,0 +1,44 @@
+# New ports collection makefile for: wmcalendar
+# Date created: 24 Apr 2003
+# Whom: Alexey Dokuchaev <danfe@regency.nsu.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= wmcalendar
+PORTVERSION= 0.5.2
+PORTREVISION= 7
+CATEGORIES= misc windowmaker
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= xride@FreeBSD.org
+COMMENT= A dockable calendar with interface to iCalendar based calendars
+
+LIB_DEPENDS= ical.43:${PORTSDIR}/devel/libical
+
+WRKSRC= ${WRKDIR}/${DISTNAME}/Src
+
+USE_XORG= xpm
+USE_GNOME= gtk20
+MAKE_ARGS= CC="${CC}" \
+ LFLAGS="`pkg-config --libs gtk+-2.0` -L${LOCALBASE}/lib" \
+ CFLAGS="${CFLAGS}" \
+ INCDIR="`pkg-config --cflags gtk+-2.0` -I${LOCALBASE}/include" \
+ LIBDIR="" \
+ LIBS="-lical -lXpm"
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+MAN1= wmCalendar.1
+PLIST_FILES= bin/wmCalendar
+
+post-patch:
+ ${REINPLACE_CMD} -e 's#/usr/local#${LOCALBASE}#g' \
+ -e 's#/usr/X11R6#${LOCALBASE}#g' \
+ ${WRKSRC}/Makefile
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/wmCalendar ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/wmCalendar.1 ${MANPREFIX}/man/man1
+
+.include <bsd.port.mk>
diff --git a/misc/wmcalendar/distinfo b/misc/wmcalendar/distinfo
new file mode 100644
index 000000000..1f65645b1
--- /dev/null
+++ b/misc/wmcalendar/distinfo
@@ -0,0 +1,3 @@
+MD5 (wmcalendar-0.5.2.tar.gz) = 4151430410d608bd68368f3c15de567b
+SHA256 (wmcalendar-0.5.2.tar.gz) = 1915fe5b9af9de400650db4e9e4fa5934115902e8906144bf266b2f3503e0c00
+SIZE (wmcalendar-0.5.2.tar.gz) = 42720
diff --git a/misc/wmcalendar/files/patch-calendar.c b/misc/wmcalendar/files/patch-calendar.c
new file mode 100644
index 000000000..3d4824f41
--- /dev/null
+++ b/misc/wmcalendar/files/patch-calendar.c
@@ -0,0 +1,20 @@
+--- calendar.c.orig 2007-01-15 01:14:32.000000000 +0100
++++ calendar.c 2009-01-26 19:11:27.000000000 +0100
+@@ -48,7 +48,7 @@
+
+
+
+-void kill (GtkWidget * widget)
++void wmkill (GtkWidget * widget)
+ {
+ gtk_widget_destroy ((GtkWidget*)gtk_widget_get_toplevel(widget));
+ gtk_main_quit ();
+@@ -193,7 +193,7 @@
+ gtk_signal_connect(GTK_OBJECT (event_box), "button_press_event",
+ GTK_SIGNAL_FUNC (move), NULL);
+ gtk_signal_connect(GTK_OBJECT (event_box2), "button_press_event",
+- (GtkSignalFunc) kill, GTK_OBJECT(dayView));
++ (GtkSignalFunc) wmkill, GTK_OBJECT(dayView));
+
+ gtk_widget_realize(dayView);
+ // gtk_window_set_position(GTK_WINDOW (dayView),GTK_WIN_POS_CENTER_ON_PARENT);
diff --git a/misc/wmcalendar/files/patch-calendar.h b/misc/wmcalendar/files/patch-calendar.h
new file mode 100644
index 000000000..a07b43b50
--- /dev/null
+++ b/misc/wmcalendar/files/patch-calendar.h
@@ -0,0 +1,8 @@
+--- calendar.h.orig 2009-01-26 18:35:48.000000000 +0100
++++ calendar.h 2009-01-26 18:36:03.000000000 +0100
+@@ -1,4 +1,4 @@
+-#include <ical.h>
++#include <libical/ical.h>
+ #include <stdlib.h>
+ #include <gtk/gtk.h>
+ #include <string.h>
diff --git a/misc/wmcalendar/files/patch-calendarfunc.h b/misc/wmcalendar/files/patch-calendarfunc.h
new file mode 100644
index 000000000..46e560860
--- /dev/null
+++ b/misc/wmcalendar/files/patch-calendarfunc.h
@@ -0,0 +1,11 @@
+--- calendarfunc.h.orig 2009-01-26 19:19:55.000000000 +0100
++++ calendarfunc.h 2009-01-26 19:20:13.000000000 +0100
+@@ -22,7 +22,7 @@
+
+ #include <unistd.h>
+ #include <stdlib.h>
+-#include <ical.h>
++#include <libical/ical.h>
+ #define TIMZ 3.0
+ #define MINAGE 13.5
+ #define SUNSET 19.5 /*approximate */
diff --git a/misc/wmcalendar/pkg-descr b/misc/wmcalendar/pkg-descr
new file mode 100644
index 000000000..5d6523ae8
--- /dev/null
+++ b/misc/wmcalendar/pkg-descr
@@ -0,0 +1,4 @@
+A dockapp calendar with monthly view and interface to iCalendar based
+calendars like Ximian Evolution or Mozilla calendar.
+
+WWW: http://wmcalendar.sourceforge.net/