summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2005-05-17 03:09:29 +0000
committerKevin Lo <kevlo@FreeBSD.org>2005-05-17 03:09:29 +0000
commitc5652e19715e9f33d0e8a60d4c3db06beac76ad7 (patch)
treea65fb9e2892f1a782fa0a620c2b4f31f0311bfd1 /devel
parentAdd p5-CSP. (diff)
Initial import of icalendar 0.9.3.
The iCalender package is a parser/generator of iCalender files for use with Python
Notes
Notes: svn path=/head/; revision=135429
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-icalendar/Makefile30
-rw-r--r--devel/py-icalendar/distinfo2
-rw-r--r--devel/py-icalendar/pkg-descr4
-rw-r--r--devel/py-icalendar/pkg-plist14
5 files changed, 51 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index e869e942acdf..531cf37ef2d3 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1292,6 +1292,7 @@
SUBDIR += py-gamin
SUBDIR += py-getargs
SUBDIR += py-grouch
+ SUBDIR += py-icalendar
SUBDIR += py-istring
SUBDIR += py-kjbuckets
SUBDIR += py-kqueue
diff --git a/devel/py-icalendar/Makefile b/devel/py-icalendar/Makefile
new file mode 100644
index 000000000000..7431d66ba36c
--- /dev/null
+++ b/devel/py-icalendar/Makefile
@@ -0,0 +1,30 @@
+# Ports collection makefile for: py-icalendar
+# Date created: May 17, 2005
+# Whom: Kevin Lo <kevlo@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= icalendar
+PORTVERSION= 0.9.3
+CATEGORIES= devel python
+MASTER_SITES= http://www.mxm.dk/products/public/ical/downloads/
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= iCalendar.${PORTVERSION}
+
+MAINTAINER= kevlo@FreeBSD.org
+COMMENT= Parser and generator of iCalender files for Python
+
+USE_PYTHON= yes
+NO_BUILD= yes
+WRKSRC= ${WRKDIR}/iCalendar
+
+do-install:
+ ${MKDIR} ${PYTHON_SITELIBDIR}/iCalendar
+ ${INSTALL_SCRIPT} ${WRKSRC}/*.py ${PYTHON_SITELIBDIR}/iCalendar/
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ ${CP} -R ${WRKSRC}/doc/* ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/devel/py-icalendar/distinfo b/devel/py-icalendar/distinfo
new file mode 100644
index 000000000000..f51dc10bb79a
--- /dev/null
+++ b/devel/py-icalendar/distinfo
@@ -0,0 +1,2 @@
+MD5 (iCalendar.0.9.3.tar.gz) = 1213b5ea1ffceaf29d1599abf4d0292a
+SIZE (iCalendar.0.9.3.tar.gz) = 24491
diff --git a/devel/py-icalendar/pkg-descr b/devel/py-icalendar/pkg-descr
new file mode 100644
index 000000000000..605dacdde8be
--- /dev/null
+++ b/devel/py-icalendar/pkg-descr
@@ -0,0 +1,4 @@
+The iCalender package is a parser/generator of iCalender files for use
+with Python. It follows the RFC 2445 spec.
+
+WWW: http://www.mxm.dk/products/public/ical/
diff --git a/devel/py-icalendar/pkg-plist b/devel/py-icalendar/pkg-plist
new file mode 100644
index 000000000000..f638669657d0
--- /dev/null
+++ b/devel/py-icalendar/pkg-plist
@@ -0,0 +1,14 @@
+%%PORTDOCS%%share/doc/icalendar/example.ics
+%%PORTDOCS%%share/doc/icalendar/example.py
+%%PORTDOCS%%share/doc/icalendar/groupscheduled.ics
+%%PORTDOCS%%share/doc/icalendar/groupscheduled.py
+%%PORTDOCS%%share/doc/icalendar/test.ics
+%%PORTDOCS%%share/doc/icalendar/test.py
+%%PYTHON_SITELIBDIR%%/iCalendar/CaselessDict.py
+%%PYTHON_SITELIBDIR%%/iCalendar/ContentlinesParser.py
+%%PYTHON_SITELIBDIR%%/iCalendar/PropertyValues.py
+%%PYTHON_SITELIBDIR%%/iCalendar/__init__.py
+%%PYTHON_SITELIBDIR%%/iCalendar/iCalendar.py
+%%PYTHON_SITELIBDIR%%/iCalendar/tools.py
+@dirrm %%PYTHON_SITELIBDIR%%/iCalendar
+%%PORTDOCS%%@dirrm share/doc/icalendar