aboutsummaryrefslogtreecommitdiff
path: root/devel/google-gdata
diff options
context:
space:
mode:
authorRomain Tartière <romain@FreeBSD.org>2010-06-02 01:55:45 +0000
committerRomain Tartière <romain@FreeBSD.org>2010-06-02 01:55:45 +0000
commitd4aaf9405ddc4316bed424cce68509cb410db47f (patch)
tree350ed38ea2cb9aee5ec0ee1a4a6b6c45f9703df3 /devel/google-gdata
parentf5ad9624495a4d1ead490755243274a1ca3adb4f (diff)
downloadports-d4aaf9405ddc4316bed424cce68509cb410db47f.tar.gz
ports-d4aaf9405ddc4316bed424cce68509cb410db47f.zip
Notes
Diffstat (limited to 'devel/google-gdata')
-rw-r--r--devel/google-gdata/Makefile40
-rw-r--r--devel/google-gdata/distinfo6
-rw-r--r--devel/google-gdata/files/patch-Makefile14
-rw-r--r--devel/google-gdata/files/patch-misc_gdata-sharp-core.pc.in11
-rw-r--r--devel/google-gdata/pkg-descr4
-rw-r--r--devel/google-gdata/pkg-plist74
6 files changed, 149 insertions, 0 deletions
diff --git a/devel/google-gdata/Makefile b/devel/google-gdata/Makefile
new file mode 100644
index 000000000000..1a137e01d65c
--- /dev/null
+++ b/devel/google-gdata/Makefile
@@ -0,0 +1,40 @@
+# 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>
diff --git a/devel/google-gdata/distinfo b/devel/google-gdata/distinfo
new file mode 100644
index 000000000000..20142752d644
--- /dev/null
+++ b/devel/google-gdata/distinfo
@@ -0,0 +1,6 @@
+MD5 (libgoogle-data-mono-1.4.0.2.tar.gz) = 3914538201b00c6d33aa6ada0e9d1ec6
+SHA256 (libgoogle-data-mono-1.4.0.2.tar.gz) = 761124feb67ad972e61a10a09bbde68536a2fa8cc67f9f17fcda907bbdb2fbe4
+SIZE (libgoogle-data-mono-1.4.0.2.tar.gz) = 2090937
+MD5 (zlib-1.2.3.tar.gz) = debc62758716a169df9f62e6ab2bc634
+SHA256 (zlib-1.2.3.tar.gz) = 1795c7d067a43174113fdf03447532f373e1c6c57c08d61d9e4e9be5e244b05e
+SIZE (zlib-1.2.3.tar.gz) = 496597
diff --git a/devel/google-gdata/files/patch-Makefile b/devel/google-gdata/files/patch-Makefile
new file mode 100644
index 000000000000..23b6ddd4cadd
--- /dev/null
+++ b/devel/google-gdata/files/patch-Makefile
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- Makefile.orig
++++ Makefile
+@@ -121,7 +121,7 @@
+ 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 -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
diff --git a/devel/google-gdata/files/patch-misc_gdata-sharp-core.pc.in b/devel/google-gdata/files/patch-misc_gdata-sharp-core.pc.in
new file mode 100644
index 000000000000..2b437b3d54bb
--- /dev/null
+++ b/devel/google-gdata/files/patch-misc_gdata-sharp-core.pc.in
@@ -0,0 +1,11 @@
+
+$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
diff --git a/devel/google-gdata/pkg-descr b/devel/google-gdata/pkg-descr
new file mode 100644
index 000000000000..6eb72b8368d1
--- /dev/null
+++ b/devel/google-gdata/pkg-descr
@@ -0,0 +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).
+
+WWW: http://code.google.com/p/google-gdata/
diff --git a/devel/google-gdata/pkg-plist b/devel/google-gdata/pkg-plist
new file mode 100644
index 000000000000..51b01d1701a0
--- /dev/null
+++ b/devel/google-gdata/pkg-plist
@@ -0,0 +1,74 @@
+@comment $FreeBSD$
+lib/mono/GData-Sharp/Google.GData.AccessControl.dll
+lib/mono/GData-Sharp/Google.GData.Apps.dll
+lib/mono/GData-Sharp/Google.GData.Blogger.dll
+lib/mono/GData-Sharp/Google.GData.Calendar.dll
+lib/mono/GData-Sharp/Google.GData.Client.dll
+lib/mono/GData-Sharp/Google.GData.CodeSearch.dll
+lib/mono/GData-Sharp/Google.GData.Contacts.dll
+lib/mono/GData-Sharp/Google.GData.Documents.dll
+lib/mono/GData-Sharp/Google.GData.Extensions.dll
+lib/mono/GData-Sharp/Google.GData.GoogleBase.dll
+lib/mono/GData-Sharp/Google.GData.Health.dll
+lib/mono/GData-Sharp/Google.GData.Photos.dll
+lib/mono/GData-Sharp/Google.GData.Spreadsheets.dll
+lib/mono/GData-Sharp/Google.GData.YouTube.dll
+lib/mono/gac/Google.GData.AccessControl/1.4.0.2__b4b8eb9a7afc8328/Google.GData.AccessControl.dll
+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
+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
+lib/mono/gac/Google.GData.Extensions/1.4.0.2__0b4c5df2ebf20876/Google.GData.Extensions.dll
+lib/mono/gac/Google.GData.GoogleBase/1.4.0.2__b361faa2ad5bd3db/Google.GData.GoogleBase.dll
+lib/mono/gac/Google.GData.Health/1.4.0.2__7dc2246c3cef9211/Google.GData.Health.dll
+lib/mono/gac/Google.GData.Photos/1.4.0.2__a25b50f2e8e3887a/Google.GData.Photos.dll
+lib/mono/gac/Google.GData.Spreadsheets/1.4.0.2__3f77feb76ff0d9a1/Google.GData.Spreadsheets.dll
+lib/mono/gac/Google.GData.YouTube/1.4.0.2__af04a32718ae8833/Google.GData.YouTube.dll
+libdata/pkgconfig/gdata-sharp-acl.pc
+libdata/pkgconfig/gdata-sharp-apps.pc
+libdata/pkgconfig/gdata-sharp-base.pc
+libdata/pkgconfig/gdata-sharp-blogger.pc
+libdata/pkgconfig/gdata-sharp-calendar.pc
+libdata/pkgconfig/gdata-sharp-codesearch.pc
+libdata/pkgconfig/gdata-sharp-contacts.pc
+libdata/pkgconfig/gdata-sharp-core.pc
+libdata/pkgconfig/gdata-sharp-documents.pc
+libdata/pkgconfig/gdata-sharp-health.pc
+libdata/pkgconfig/gdata-sharp-photos.pc
+libdata/pkgconfig/gdata-sharp-spreadsheets.pc
+libdata/pkgconfig/gdata-sharp-youtube.pc
+@dirrm lib/pkgconfig
+@dirrm lib/mono/gac/Google.GData.YouTube/1.4.0.2__af04a32718ae8833
+@dirrm lib/mono/gac/Google.GData.YouTube
+@dirrm lib/mono/gac/Google.GData.Spreadsheets/1.4.0.2__3f77feb76ff0d9a1
+@dirrm lib/mono/gac/Google.GData.Spreadsheets
+@dirrm lib/mono/gac/Google.GData.Photos/1.4.0.2__a25b50f2e8e3887a
+@dirrm lib/mono/gac/Google.GData.Photos
+@dirrm lib/mono/gac/Google.GData.Health/1.4.0.2__7dc2246c3cef9211
+@dirrm lib/mono/gac/Google.GData.Health
+@dirrm lib/mono/gac/Google.GData.GoogleBase/1.4.0.2__b361faa2ad5bd3db
+@dirrm lib/mono/gac/Google.GData.GoogleBase
+@dirrm lib/mono/gac/Google.GData.Extensions/1.4.0.2__0b4c5df2ebf20876
+@dirrm lib/mono/gac/Google.GData.Extensions
+@dirrm lib/mono/gac/Google.GData.Documents/1.4.0.2__099e9a853da5b089
+@dirrm lib/mono/gac/Google.GData.Documents
+@dirrm lib/mono/gac/Google.GData.Contacts/1.4.0.2__7e065189dd4b982f
+@dirrm lib/mono/gac/Google.GData.Contacts
+@dirrm lib/mono/gac/Google.GData.CodeSearch/1.4.0.2__cac30bb7c678972d
+@dirrm lib/mono/gac/Google.GData.CodeSearch
+@dirrm lib/mono/gac/Google.GData.Client/1.4.0.2__04a59ca9b0273830
+@dirrm lib/mono/gac/Google.GData.Client
+@dirrm lib/mono/gac/Google.GData.Calendar/1.4.0.2__aa6748391206b888
+@dirrm lib/mono/gac/Google.GData.Calendar
+@dirrm lib/mono/gac/Google.GData.Blogger/1.4.0.2__6f8943d33947d761
+@dirrm lib/mono/gac/Google.GData.Blogger
+@dirrm lib/mono/gac/Google.GData.Apps/1.4.0.2__e6feebfe441b89cb
+@dirrm lib/mono/gac/Google.GData.Apps
+@dirrm lib/mono/gac/Google.GData.AccessControl/1.4.0.2__b4b8eb9a7afc8328
+@dirrm lib/mono/gac/Google.GData.AccessControl
+@dirrm lib/mono/GData-Sharp