# New ports collection makefile for: google-gdata # Date created: 2010-03-11 # Whom: Romain Tartiere # # $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