summaryrefslogtreecommitdiffstats
path: root/freebsd/dependencies/libcaldav
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2015-07-02 17:25:15 +0200
committerSlávek Banko <slavek.banko@axis.cz>2015-07-02 17:25:15 +0200
commit595d2593963dfc33e52fb3bf82fc2595dc2c0e37 (patch)
treea284a943099fabc9782c2959c6da43e2b09078ae /freebsd/dependencies/libcaldav
parentbb6e8f18c1d80974cd4f7a810267bd9753121f45 (diff)
downloadtde-packaging-595d2593963dfc33e52fb3bf82fc2595dc2c0e37.tar.gz
tde-packaging-595d2593963dfc33e52fb3bf82fc2595dc2c0e37.zip
FreeBSD: Initial import
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'freebsd/dependencies/libcaldav')
-rw-r--r--freebsd/dependencies/libcaldav/Makefile37
-rw-r--r--freebsd/dependencies/libcaldav/distinfo2
-rw-r--r--freebsd/dependencies/libcaldav/pkg-descr1
-rw-r--r--freebsd/dependencies/libcaldav/pkg-plist10
4 files changed, 50 insertions, 0 deletions
diff --git a/freebsd/dependencies/libcaldav/Makefile b/freebsd/dependencies/libcaldav/Makefile
new file mode 100644
index 000000000..def2a2652
--- /dev/null
+++ b/freebsd/dependencies/libcaldav/Makefile
@@ -0,0 +1,37 @@
+# -*-mode: makefile-*-
+# Created by: slavek.banko@axis.cz
+# $FreeBSD$
+#
+
+.include <../../trinity.port.mk>
+
+PORTNAME= libcaldav
+COMMENT= libcaldav provides a C interface for caldav PIM clients
+TDE_PREVERSION= ~pre0+074fd775
+MASTER_SITE_SUBDIR= libc/${PORTNAME}
+DISTSRC= ${PORTNAME}-trinity-${TDE_VERSION}${TDE_PREVERSION}
+PORTREVISION= 0
+CATEGORIES= devel
+DIST_SUBDIR= TDE/dependencies
+PREFIX= ${LOCALBASE}
+
+
+do-configure:
+ cd "${WRKSRC}" && \
+ autoreconf -vi && \
+ rm -fr .build && mkdir .build && cd .build && \
+ ${WRKSRC}/configure \
+ --prefix=${PREFIX} \
+ --mandir=${PREFIX}/share/man
+
+post-configure:
+ @${FIND} ${WRKSRC} -name "Makefile" -type f | ${XARGS} ${REINPLACE_CMD} -e \
+ 's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g'
+
+do-build:
+ ${MAKE_CMD} -C "${WRKSRC}/.build"
+
+do-install:
+ ${MAKE_CMD} -C "${WRKSRC}/.build" DESTDIR=${STAGEDIR} install
+
+.include <bsd.port.mk>
diff --git a/freebsd/dependencies/libcaldav/distinfo b/freebsd/dependencies/libcaldav/distinfo
new file mode 100644
index 000000000..10215a570
--- /dev/null
+++ b/freebsd/dependencies/libcaldav/distinfo
@@ -0,0 +1,2 @@
+SHA256 (TDE/dependencies/libcaldav_14.0.1~pre0.orig.tar.xz) = cd3fc9397f76b68f228d6d4b960ca731be3b83f9e7f2f8caffd808e85a75e92f
+SIZE (TDE/dependencies/libcaldav_14.0.1~pre0.orig.tar.xz) = 203284
diff --git a/freebsd/dependencies/libcaldav/pkg-descr b/freebsd/dependencies/libcaldav/pkg-descr
new file mode 100644
index 000000000..d6e7c072e
--- /dev/null
+++ b/freebsd/dependencies/libcaldav/pkg-descr
@@ -0,0 +1 @@
+libcaldav provides a C interface for caldav PIM clients
diff --git a/freebsd/dependencies/libcaldav/pkg-plist b/freebsd/dependencies/libcaldav/pkg-plist
new file mode 100644
index 000000000..98742518b
--- /dev/null
+++ b/freebsd/dependencies/libcaldav/pkg-plist
@@ -0,0 +1,10 @@
+include/libcaldav/caldav.h
+lib/libcaldav.a
+lib/libcaldav.la
+lib/libcaldav.so
+lib/libcaldav.so.0
+lib/libcaldav.so.0.0.6
+libdata/pkgconfig/libcaldav.pc
+share/doc/libcaldav/ics/add.ics
+share/doc/libcaldav/ics/delete.ics
+share/doc/libcaldav/ics/modify.ics