From 595d2593963dfc33e52fb3bf82fc2595dc2c0e37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Thu, 2 Jul 2015 17:25:15 +0200 Subject: FreeBSD: Initial import MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- freebsd/dependencies/libcaldav/Makefile | 37 +++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 freebsd/dependencies/libcaldav/Makefile (limited to 'freebsd/dependencies/libcaldav/Makefile') 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 -- cgit v1.2.1