blob: c8d1dc4c53a7b6defc478790e17973c8f67640e4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
# 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= mono@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} && \
${SET_LATE_CONFIGURE_ARGS} \
if ! ${SETENV} CC="${CC}" CPP="${CPP}" CXX="${CXX}" \
CFLAGS="${CFLAGS}" CPPFLAGS="${CPPFLAGS}" CXXFLAGS="${CXXFLAGS}" \
INSTALL="/usr/bin/install -c ${_BINOWNGRP}" \
INSTALL_DATA="${INSTALL_DATA}" \
INSTALL_LIB="${INSTALL_LIB}" \
INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
${CONFIGURE_ENV} ./${CONFIGURE_SCRIPT} --shared; then \
${ECHO_MSG} "===> Script \"${CONFIGURE_SCRIPT}\" failed unexpectedly."; \
(${ECHO_CMD} ${CONFIGURE_FAIL_MESSAGE}) | ${FMT} 75 79 ; \
${FALSE}; \
fi)
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>
|