aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2005-05-17 11:09:29 +0800
committerkevlo <kevlo@FreeBSD.org>2005-05-17 11:09:29 +0800
commitf44709a3eeb4fc2e3c1d2f5e4dab8120f941c6e3 (patch)
tree4635f1ca47015027bc383eb5fe871eff3ce61a7a /devel
parentda60e27a5227559b29cf074e3b674184d7e779f5 (diff)
downloadfreebsd-ports-graphics-f44709a3eeb4fc2e3c1d2f5e4dab8120f941c6e3.tar.gz
freebsd-ports-graphics-f44709a3eeb4fc2e3c1d2f5e4dab8120f941c6e3.tar.zst
freebsd-ports-graphics-f44709a3eeb4fc2e3c1d2f5e4dab8120f941c6e3.zip
Initial import of icalendar 0.9.3.
The iCalender package is a parser/generator of iCalender files for use with Python
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 e869e942acd..531cf37ef2d 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 00000000000..7431d66ba36
--- /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 00000000000..f51dc10bb79
--- /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 00000000000..605dacdde8b
--- /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 00000000000..f638669657d
--- /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