2009-08-22 05:55:25 +02:00
|
|
|
# New ports collection makefile for: libgcal
|
|
|
|
# Date created: 2009-08-16
|
|
|
|
# Whom: Troels Kofoed Jacobsen <tkjacobsen@gmail.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= libgcal
|
2010-07-10 13:16:49 +02:00
|
|
|
PORTVERSION= 0.9.5
|
2009-08-22 05:55:25 +02:00
|
|
|
CATEGORIES= deskutils
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
|
|
|
|
|
|
|
|
MAINTAINER= tkjacobsen@gmail.com
|
|
|
|
COMMENT= Library allowing communication with google calendar and contacts
|
|
|
|
|
|
|
|
LIB_DEPENDS= curl:${PORTSDIR}/ftp/curl \
|
|
|
|
iconv:${PORTSDIR}/converters/libiconv \
|
|
|
|
xml2:${PORTSDIR}/textproc/libxml2
|
|
|
|
|
2009-09-03 21:02:22 +02:00
|
|
|
USE_BZIP2= yes
|
2010-07-10 13:16:49 +02:00
|
|
|
USE_CMAKE= yes
|
|
|
|
CMAKE_ARGS= -DCMAKE_INSTALL_PREFIX="${PREFIX}" \
|
|
|
|
-DLIB_INSTALL_DIR="${LOCALBASE}/lib" \
|
|
|
|
-DENABLE_TESTS=OFF
|
2009-08-22 05:55:25 +02:00
|
|
|
USE_LDCONFIG= yes
|
2009-08-24 15:30:21 +02:00
|
|
|
USE_GCC= 4.2+
|
2009-08-22 05:55:25 +02:00
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's,(libdir)/pkgconfig,(prefix)/libdata/pkgconfig,' \
|
2010-07-10 13:16:49 +02:00
|
|
|
${WRKSRC}/Makefile.am
|
2009-08-22 05:55:25 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|