summaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2009-04-06 03:53:27 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2009-04-06 03:53:27 +0800
commit06dd884e8550e00c219576d3e2f01008310d1674 (patch)
treec0a4539719af1a6c12909ad2c639cf492b69448c /misc
parent8c1aff8302a44e0c5518c53c33e18d7f07cda2f2 (diff)
downloadmarcuscom-ports-06dd884e8550e00c219576d3e2f01008310d1674.tar.gz
marcuscom-ports-06dd884e8550e00c219576d3e2f01008310d1674.tar.zst
marcuscom-ports-06dd884e8550e00c219576d3e2f01008310d1674.zip
Chase the libical shared lib version.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@12213 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'misc')
-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
6 files changed, 90 insertions, 0 deletions
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/