aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libical
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2002-11-05 03:33:19 +0800
committermarcus <marcus@FreeBSD.org>2002-11-05 03:33:19 +0800
commiteaf149896b801b604df4790b2f2a5a5ccc8153d6 (patch)
tree4a125b1a0bb47b8dd6165cca135c9038103b9dba /devel/libical
parent6e113ae0b4aa8dd78d92c05791488ee8828e5f5e (diff)
downloadfreebsd-ports-gnome-eaf149896b801b604df4790b2f2a5a5ccc8153d6.tar.gz
freebsd-ports-gnome-eaf149896b801b604df4790b2f2a5a5ccc8153d6.tar.zst
freebsd-ports-gnome-eaf149896b801b604df4790b2f2a5a5ccc8153d6.zip
Add libical, an implementation of the IETF's Calendaring and Scheduling
protocols. PR: 44880 Submitted by: Joe Kelsey <joek@zircon.staff.flyingcroc.net>
Diffstat (limited to 'devel/libical')
-rw-r--r--devel/libical/Makefile35
-rw-r--r--devel/libical/distinfo1
-rw-r--r--devel/libical/files/patch-configure10
-rw-r--r--devel/libical/pkg-comment1
-rw-r--r--devel/libical/pkg-descr9
-rw-r--r--devel/libical/pkg-plist20
6 files changed, 76 insertions, 0 deletions
diff --git a/devel/libical/Makefile b/devel/libical/Makefile
new file mode 100644
index 000000000000..76222f77b265
--- /dev/null
+++ b/devel/libical/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: libical
+# Date created: 4 November 2002
+# Whom: Joe Kelsey
+#
+# $FreeBSD$
+#
+
+PORTNAME= libical
+PORTVERSION= 0.23
+CATEGORIES= devel
+MASTER_SITES= http://softwarestudio.org/download/
+
+MAINTAINER= joe@zircon.seattle.wa.us
+
+BUILD_DEPENDS= perl:${PORTSDIR}/lang/perl5
+
+USE_REINPLACE= yes
+USE_LIBTOOL= yes
+USE_GMAKE= yes
+INSTALLS_SHLIB= yes
+
+.if !defined(WITHOUT_PYTHON)
+CONFIGURE_ARGS= --enable-python-bindings=yes
+USE_PYTHON= yes
+PLIST_SUB+= PYTHON:=""
+.else
+CONFIGURE_ARGS= --enable-python-bindings=no
+PLIST_SUB+= PYTHON:="@comment "
+.endif
+
+post-patch:
+ @${FIND} ${WRKSRC} -name "*.[ch]" | ${XARGS} ${REINPLACE_CMD} -e \
+ 's|<malloc\.h>|<stdlib.h>|g'
+
+.include <bsd.port.mk>
diff --git a/devel/libical/distinfo b/devel/libical/distinfo
new file mode 100644
index 000000000000..76165d62f249
--- /dev/null
+++ b/devel/libical/distinfo
@@ -0,0 +1 @@
+MD5 (libical-0.23.tar.gz) = ac4a2738be4e00131208e01a0c4891ea
diff --git a/devel/libical/files/patch-configure b/devel/libical/files/patch-configure
new file mode 100644
index 000000000000..347dcec64580
--- /dev/null
+++ b/devel/libical/files/patch-configure
@@ -0,0 +1,10 @@
+--- configure.orig Mon Nov 4 14:09:52 2002
++++ configure Mon Nov 4 14:10:18 2002
+@@ -1845,6 +1845,7 @@
+
+ # This can be used to rebuild libtool when needed
+ LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh"
++$ac_aux_dir/ltconfig $LIBTOOL_DEPS
+
+ # Always use our own libtool.
+ LIBTOOL='$(SHELL) $(top_builddir)/libtool'
diff --git a/devel/libical/pkg-comment b/devel/libical/pkg-comment
new file mode 100644
index 000000000000..6f2cc0ef4405
--- /dev/null
+++ b/devel/libical/pkg-comment
@@ -0,0 +1 @@
+An implementation of the IETF's Calendaring and Scheduling protocols
diff --git a/devel/libical/pkg-descr b/devel/libical/pkg-descr
new file mode 100644
index 000000000000..d5180bed5fe9
--- /dev/null
+++ b/devel/libical/pkg-descr
@@ -0,0 +1,9 @@
+Libical is an Open Source implementation of the IETF's iCalendar
+Calendaring and Scheduling protocols. (RFC 2445, 2446, and 2447). It
+parses iCal components and provides a C API for manipulating the
+component properties, parameters, and subcomponents.
+
+WWW: http://softwarestudio.org/libical/
+
+/Joe Kelsey
+joe@zircon.seattle.wa.us
diff --git a/devel/libical/pkg-plist b/devel/libical/pkg-plist
new file mode 100644
index 000000000000..093ba55fd880
--- /dev/null
+++ b/devel/libical/pkg-plist
@@ -0,0 +1,20 @@
+include/ical.h
+include/icalss.h
+include/libicalvcal/icalvcal.h
+include/libicalvcal/port.h
+include/libicalvcal/vcc.h
+include/libicalvcal/vobject.h
+include/libicalvcal/vcaltmp.h
+lib/libical.so.0
+lib/libical.so
+lib/libical.a
+lib/libicalss.so.0
+lib/libicalss.so
+lib/libicalss.a
+lib/libicalvcal.so.0
+lib/libicalvcal.so
+lib/libicalvcal.a
+%%PYTHON:%%lib/libLibicalWrap.so.0
+%%PYTHON:%%lib/libLibicalWrap.so
+%%PYTHON:%%lib/libLibicalWrap.a
+@dirrm include/libicalvcal