freebsd-ports/devel/google-gdata/Makefile
Romain Tartière d4aaf9405d The GData .NET Client Library provides a library and source code that make it
easy to access data through Google Data APIs (e.g. Contacts, Calendar).

WWW:	http://code.google.com/p/google-gdata/
2010-06-02 01:55:45 +00:00

40 lines
1.2 KiB
Makefile

# New ports collection makefile for: google-gdata
# Date created: 2010-03-11
# Whom: Romain Tartiere <romain@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= google-gdata
PORTVERSION= 1.4.0.2
CATEGORIES= devel
MASTER_SITES= http://google-gdata.googlecode.com/files/:1 \
http://www.zlib.net/:2
DISTNAME= libgoogle-data-mono-${PORTVERSION}
DISTFILES= libgoogle-data-mono-${PORTVERSION}${EXTRACT_SUFX}:1 zlib-${ZLIB_VERSION}${EXTRACT_SUFX}:2
MAINTAINER= romain@FreeBSD.org
COMMENT= .NET library for the Google Data API
BUILD_DEPENDS= gmcs:${PORTSDIR}/lang/mono
# google-gdata depends on _THIS_ version of zlib so make them happy.
ZLIB_VERSION= 1.2.3
USE_GMAKE= yes
pre-configure:
@${ECHO_CMD} "---> Configuring for zlib-${ZLIB_VERSION}"
@cd ${WRKDIR}/zlib-${ZLIB_VERSION} && ./configure -s
pre-build:
@${ECHO_CMD} "---> Building for zlib-${ZLIB_VERSION}"
@cd ${WRKDIR}/zlib-${ZLIB_VERSION} && ${MAKE}
@${ECHO_CMD} "---> Returning to build for ${PKGNAME}"
post-install:
@${CP} ${WRKDIR}/zlib-${ZLIB_VERSION}/libz.so.${ZLIB_VERSION} \
${WRKSRC}/misc/Google.GData.Client.dll.config \
${PREFIX}/lib/mono/gac/Google.GData.Client/${PORTVERSION}__04a59ca9b0273830/
.include <bsd.port.mk>