pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

ical2pcal: add new package



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Mon May 9 10:52:42 2016 +0200
Changeset:	ae51bf9de7ceca62caf30e0cc1133392a066bc30

Modified Files:
	Makefile
Added Files:
	ical2pcal/DESCR
	ical2pcal/Makefile
	ical2pcal/PLIST
	ical2pcal/distinfo

Log Message:
ical2pcal: add new package

Convert iCalendar (.ics) data files to pcal data files

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=ae51bf9de7ceca62caf30e0cc1133392a066bc30

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile           |  1 +
 ical2pcal/DESCR    | 16 ++++++++++++++++
 ical2pcal/Makefile | 30 ++++++++++++++++++++++++++++++
 ical2pcal/PLIST    |  3 +++
 ical2pcal/distinfo |  6 ++++++
 5 files changed, 56 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 80f16eb..09a7c8c 100644
--- a/Makefile
+++ b/Makefile
@@ -1306,6 +1306,7 @@ SUBDIR+=	i3lock
 SUBDIR+=	i3status
 SUBDIR+=	iText
 SUBDIR+=	iTextXML
+SUBDIR+=	ical2pcal
 SUBDIR+=	icecat
 SUBDIR+=	ices
 SUBDIR+=	ices-vorbis
diff --git a/ical2pcal/DESCR b/ical2pcal/DESCR
new file mode 100644
index 0000000..c3ae45f
--- /dev/null
+++ b/ical2pcal/DESCR
@@ -0,0 +1,16 @@
+Convert iCalendar (.ics) data files to pcal data files
+
+The iCalendar format (.ics file extension) is a standard (RFC 2445)
+for calendar data exchange. Programs that support the iCalendar
+format are: Google Calendar, Apple iCal, Evolution, Orange, etc.
+
+The iCalendar format have many objects like events, to-do lists,
+alarms, journal entries etc. ical2pcal only use the events in the
+file showing in the pcal file the summary and the time of the event,
+the rest information of the event like description or location are
+commented in the pcal file (because usually this information does
+not fit in the day box).
+
+Currently automatic detection and conversion to local time of time
+values in UTC is implemented. All other time values are assumed as
+local times.
diff --git a/ical2pcal/Makefile b/ical2pcal/Makefile
new file mode 100644
index 0000000..c6bf865
--- /dev/null
+++ b/ical2pcal/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD$
+
+GITHUB_PROJECT=	ical2pcal
+DISTNAME=	862912973dc5404e3f98e7f8b546eca43d56e14b
+# version number is inside the script
+PKGNAME=	${GITHUB_PROJECT}-0.0.7
+CATEGORIES=	time
+MASTER_SITES=	${MASTER_SITE_GITHUB:=pmarin/}
+EXTRACT_SUFX=	.zip
+DIST_SUBDIR=	${GITHUB_PROJECT}
+GITHUB_TAG=	862912973dc5404e3f98e7f8b546eca43d56e14b
+
+MAINTAINER=	cherry%zyx.in@localhost
+HOMEPAGE=	https://github.com/pmarin/ical2pcal/
+COMMENT=	Convert iCalendar (.ics) data files to pcal data files
+LICENSE=	mit
+
+NO_BUILD=	yes
+USE_TOOLS+=	bash:run
+AUTO_MKDIRS=	yes
+WRKSRC=		${WRKDIR}/${GITHUB_PROJECT}-862912973dc5404e3f98e7f8b546eca43d56e14b
+
+REPLACE_BASH=	${WRKSRC}/ical2pcal.sh
+USE_TOOLS=	bash
+
+do-install:
+	${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/ical2pcal/
+	${INSTALL_SCRIPT} ${WRKSRC}/ical2pcal.sh ${DESTDIR}${PREFIX}/bin/ical2pcal
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/ical2pcal/PLIST b/ical2pcal/PLIST
new file mode 100644
index 0000000..8fa9bc5
--- /dev/null
+++ b/ical2pcal/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD$
+bin/ical2pcal
+share/doc/ical2pcal/README
diff --git a/ical2pcal/distinfo b/ical2pcal/distinfo
new file mode 100644
index 0000000..be952f6
--- /dev/null
+++ b/ical2pcal/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (ical2pcal/862912973dc5404e3f98e7f8b546eca43d56e14b-862912973dc5404e3f98e7f8b546eca43d56e14b.zip) = e41b50ba608399b9c661a3ee83247ba5ec178f0d
+RMD160 (ical2pcal/862912973dc5404e3f98e7f8b546eca43d56e14b-862912973dc5404e3f98e7f8b546eca43d56e14b.zip) = a386b238ea398fa253c44b44afdf07d9b6f913de
+SHA512 (ical2pcal/862912973dc5404e3f98e7f8b546eca43d56e14b-862912973dc5404e3f98e7f8b546eca43d56e14b.zip) = 12389a9f7d44cf7a48f48dfa70b9922aba610e1fbff8fd7408ab08597753dcb2531bb0bdd8c4ac15a2c8357983297b00af6418119a2364dfaff818bdc27afc9b
+Size (ical2pcal/862912973dc5404e3f98e7f8b546eca43d56e14b-862912973dc5404e3f98e7f8b546eca43d56e14b.zip) = 6283 bytes


Home | Main Index | Thread Index | Old Index