svn commit: r367689 - in head/devel/google-gdata: . files
John Marino
marino at FreeBSD.org
Mon Sep 8 20:01:23 UTC 2014
Author: marino
Date: Mon Sep 8 20:01:21 2014
New Revision: 367689
URL: http://svnweb.freebsd.org/changeset/ports/367689
QAT: https://qat.redports.org/buildarchive/r367689/
Log:
Stage devel/google-gdata
Modified:
head/devel/google-gdata/Makefile
head/devel/google-gdata/files/patch-Makefile (contents, props changed)
head/devel/google-gdata/files/patch-misc_gdata-sharp-core.pc.in (contents, props changed)
head/devel/google-gdata/pkg-descr
head/devel/google-gdata/pkg-plist
Modified: head/devel/google-gdata/Makefile
==============================================================================
--- head/devel/google-gdata/Makefile Mon Sep 8 19:52:22 2014 (r367688)
+++ head/devel/google-gdata/Makefile Mon Sep 8 20:01:21 2014 (r367689)
@@ -4,25 +4,29 @@
PORTNAME= google-gdata
PORTVERSION= 1.4.0.2
CATEGORIES= devel
-MASTER_SITES= http://google-gdata.googlecode.com/files/:1 \
- http://www.zlib.net/:2
+MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}: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
+DISTFILES= libgoogle-data-mono-${PORTVERSION}${EXTRACT_SUFX}:1 zlib-${ZLIBVER}${EXTRACT_SUFX}:2
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= ports at FreeBSD.org
COMMENT= .NET library for the Google Data API
BUILD_DEPENDS= gmcs:${PORTSDIR}/lang/mono
+USES= dos2unix gmake
+DOS2UNIX_FILES= Makefile misc/gdata-sharp-core.pc.in
+
# google-gdata depends on _THIS_ version of zlib so make them happy.
-ZLIB_VERSION= 1.2.3
+ZLIBVER= 1.2.3
-USES= gmake
+# Google GData Client library directory
+GGCDIR= lib/mono/gac/Google.GData.Client/1.4.0.2__04a59ca9b0273830
+PLIST_SUB= GGCDIR=${GGCDIR}
-NO_STAGE= yes
pre-configure:
- @${ECHO_CMD} "---> Configuring for zlib-${ZLIB_VERSION}"
- @(cd ${WRKDIR}/zlib-${ZLIB_VERSION} && \
+ @${ECHO_CMD} "---> Configuring for zlib-${ZLIBVER}"
+ (cd ${WRKDIR}/zlib-${ZLIBVER} && \
${SET_LATE_CONFIGURE_ARGS} \
if ! ${SETENV} CC="${CC}" CPP="${CPP}" CXX="${CXX}" \
CFLAGS="${CFLAGS}" CPPFLAGS="${CPPFLAGS}" CXXFLAGS="${CXXFLAGS}" \
@@ -38,13 +42,14 @@ pre-configure:
fi)
pre-build:
- @${ECHO_CMD} "---> Building for zlib-${ZLIB_VERSION}"
- @cd ${WRKDIR}/zlib-${ZLIB_VERSION} && ${MAKE}
+ @${ECHO_CMD} "---> Building for zlib-${ZLIBVER}"
+ (cd ${WRKDIR}/zlib-${ZLIBVER} && ${MAKE_CMD})
@${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/
+ ${INSTALL_LIB} ${WRKDIR}/zlib-${ZLIBVER}/libz.so.${ZLIBVER} \
+ ${STAGEDIR}${PREFIX}/${GGCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/misc/Google.GData.Client.dll.config \
+ ${STAGEDIR}${PREFIX}/${GGCDIR}
.include <bsd.port.mk>
Modified: head/devel/google-gdata/files/patch-Makefile
==============================================================================
--- head/devel/google-gdata/files/patch-Makefile Mon Sep 8 19:52:22 2014 (r367688)
+++ head/devel/google-gdata/files/patch-Makefile Mon Sep 8 20:01:21 2014 (r367689)
@@ -1,16 +1,13 @@
-
-$FreeBSD$
-
--- Makefile.orig
+++ Makefile
@@ -120,8 +120,8 @@
-
- install: all
- for i in $(ALLLIBS); do gacutil -i $$i -package GData-Sharp -root "$(DESTDIR)$(PREFIX)/lib"; done
-- install -d "$(DESTDIR)$(PREFIX)/lib/pkgconfig"
-- install -m 644 -t "$(DESTDIR)$(PREFIX)/lib/pkgconfig" $(PKGCONFIG_FILES)
-+ install -d "$(DESTDIR)$(PREFIX)/libdata/pkgconfig"
-+ install -m 644 $(PKGCONFIG_FILES) "$(DESTDIR)$(PREFIX)/libdata/pkgconfig"
-
- uninstall:
- for i in $(ALLLIBS); do gacutil -u $$i -package GData-Sharp -root "$(DESTDIR)$(PREFIX)/lib"; done
+
+ install: all
+ for i in $(ALLLIBS); do gacutil -i $$i -package GData-Sharp -root "$(DESTDIR)$(PREFIX)/lib"; done
+- install -d "$(DESTDIR)$(PREFIX)/lib/pkgconfig"
+- install -m 644 -t "$(DESTDIR)$(PREFIX)/lib/pkgconfig" $(PKGCONFIG_FILES)
++ install -d "$(DESTDIR)$(PREFIX)/libdata/pkgconfig"
++ install -m 644 $(PKGCONFIG_FILES) "$(DESTDIR)$(PREFIX)/libdata/pkgconfig"
+
+ uninstall:
+ for i in $(ALLLIBS); do gacutil -u $$i -package GData-Sharp -root "$(DESTDIR)$(PREFIX)/lib"; done
Modified: head/devel/google-gdata/files/patch-misc_gdata-sharp-core.pc.in
==============================================================================
--- head/devel/google-gdata/files/patch-misc_gdata-sharp-core.pc.in Mon Sep 8 19:52:22 2014 (r367688)
+++ head/devel/google-gdata/files/patch-misc_gdata-sharp-core.pc.in Mon Sep 8 20:01:21 2014 (r367689)
@@ -1,11 +1,8 @@
-
-$FreeBSD$
-
--- misc/gdata-sharp-core.pc.in.orig
+++ misc/gdata-sharp-core.pc.in
@@ -5,4 +5,4 @@
- Description: CLI bindings to Google's online services (Core libraries)
- Version: @VERSION@
-
--Libs: -r:${libdir}/mono/GData-Sharp/Google.GData.Client.dll -r${libdir}/mono/GData-Sharp/Google.GData.Extensions.dll
-+Libs: -r:${libdir}/mono/GData-Sharp/Google.GData.Client.dll -r:${libdir}/mono/GData-Sharp/Google.GData.Extensions.dll
+ Description: CLI bindings to Google's online services (Core libraries)
+ Version: @VERSION@
+
+-Libs: -r:${libdir}/mono/GData-Sharp/Google.GData.Client.dll -r${libdir}/mono/GData-Sharp/Google.GData.Extensions.dll
++Libs: -r:${libdir}/mono/GData-Sharp/Google.GData.Client.dll -r:${libdir}/mono/GData-Sharp/Google.GData.Extensions.dll
Modified: head/devel/google-gdata/pkg-descr
==============================================================================
--- head/devel/google-gdata/pkg-descr Mon Sep 8 19:52:22 2014 (r367688)
+++ head/devel/google-gdata/pkg-descr Mon Sep 8 20:01:21 2014 (r367689)
@@ -1,4 +1,4 @@
-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).
+The GData .NET Client Library includes source code to make it easy to
+access data through Google Data APIs (e.g. Contacts, Calendar).
-WWW: http://code.google.com/p/google-gdata/
+WWW: http://code.google.com/p/google-gdata/
Modified: head/devel/google-gdata/pkg-plist
==============================================================================
--- head/devel/google-gdata/pkg-plist Mon Sep 8 19:52:22 2014 (r367688)
+++ head/devel/google-gdata/pkg-plist Mon Sep 8 20:01:21 2014 (r367689)
@@ -16,9 +16,9 @@ lib/mono/gac/Google.GData.AccessControl/
lib/mono/gac/Google.GData.Apps/1.4.0.2__e6feebfe441b89cb/Google.GData.Apps.dll
lib/mono/gac/Google.GData.Blogger/1.4.0.2__6f8943d33947d761/Google.GData.Blogger.dll
lib/mono/gac/Google.GData.Calendar/1.4.0.2__aa6748391206b888/Google.GData.Calendar.dll
-lib/mono/gac/Google.GData.Client/1.4.0.2__04a59ca9b0273830/Google.GData.Client.dll
-lib/mono/gac/Google.GData.Client/1.4.0.2__04a59ca9b0273830/Google.GData.Client.dll.config
-lib/mono/gac/Google.GData.Client/1.4.0.2__04a59ca9b0273830/libz.so.1.2.3
+%%GGCDIR%%/Google.GData.Client.dll
+%%GGCDIR%%/Google.GData.Client.dll.config
+%%GGCDIR%%/libz.so.1.2.3
lib/mono/gac/Google.GData.CodeSearch/1.4.0.2__cac30bb7c678972d/Google.GData.CodeSearch.dll
lib/mono/gac/Google.GData.Contacts/1.4.0.2__7e065189dd4b982f/Google.GData.Contacts.dll
lib/mono/gac/Google.GData.Documents/1.4.0.2__099e9a853da5b089/Google.GData.Documents.dll
More information about the svn-ports-head
mailing list