diff options
author | romain <romain@FreeBSD.org> | 2010-10-01 02:20:48 +0800 |
---|---|---|
committer | romain <romain@FreeBSD.org> | 2010-10-01 02:20:48 +0800 |
commit | d22c647ef2fcb63957ab40edac4268b18e0246e0 (patch) | |
tree | cf6b19ef6e84c801db97aace23bbdb42f2610a12 /devel/flickrnet | |
parent | d96ab8b2633d175ea074ec616e0b97343d7b473d (diff) | |
download | freebsd-ports-gnome-d22c647ef2fcb63957ab40edac4268b18e0246e0.tar.gz freebsd-ports-gnome-d22c647ef2fcb63957ab40edac4268b18e0246e0.tar.zst freebsd-ports-gnome-d22c647ef2fcb63957ab40edac4268b18e0246e0.zip |
The Flickr.Net API is a .Net Library for accessing the Flickr API, written
entirely in C#.
WWW: http://www.codeplex.com/FlickrNet
Diffstat (limited to 'devel/flickrnet')
-rw-r--r-- | devel/flickrnet/Makefile | 33 | ||||
-rw-r--r-- | devel/flickrnet/distinfo | 3 | ||||
-rw-r--r-- | devel/flickrnet/files/patch-AssemblyInfo.cs | 19 | ||||
-rw-r--r-- | devel/flickrnet/files/patch-flickrnet.pc.in | 14 | ||||
-rw-r--r-- | devel/flickrnet/pkg-descr | 4 | ||||
-rw-r--r-- | devel/flickrnet/pkg-plist | 4 |
6 files changed, 77 insertions, 0 deletions
diff --git a/devel/flickrnet/Makefile b/devel/flickrnet/Makefile new file mode 100644 index 000000000000..c9366fa063f9 --- /dev/null +++ b/devel/flickrnet/Makefile @@ -0,0 +1,33 @@ +# New ports collection makefile for: flickrnet +# Date created: 2008-10-09 +# Whom: Romain Tartiere <romain@blogreen.org> +# +# $FreeBSD$ +# + +PORTNAME= flickrnet +PORTVERSION= 2.2.0 +CATEGORIES= devel +MASTER_SITES= http://romain.blogreen.org/distfiles/ +DISTNAME= FlickrNet${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}-Src-48055 + +MAINTAINER= mono@FreeBSD.org +COMMENT= Flickr .Net API Library + +BUILD_DEPENDS= mono:${PORTSDIR}/lang/mono +RUN_DEPENDS= mono:${PORTSDIR}/lang/mono + +USE_ZIP= yes +USE_GMAKE= yes +WRKSRC= ${WRKDIR}/FlickrNet + +do-configure: + cd ${WRKSRC} && prj2make FlickrNet.csproj + +do-install: + ${MKDIR} ${PREFIX}/lib/mono/flickrnet + cd ${WRKSRC}/bin/Debug && ${INSTALL_DATA} FlickrNet.dll ${PREFIX}/lib/mono/flickrnet + cd ${WRKSRC} && ${SED} -e 's|@prefix@|${PREFIX}|' < flickrnet.pc.in > flickrnet.pc + cd ${WRKSRC} && ${INSTALL_DATA} flickrnet.pc ${PREFIX}/libdata/pkgconfig + +.include <bsd.port.mk> diff --git a/devel/flickrnet/distinfo b/devel/flickrnet/distinfo new file mode 100644 index 000000000000..d0588cb09a57 --- /dev/null +++ b/devel/flickrnet/distinfo @@ -0,0 +1,3 @@ +MD5 (FlickrNet2.2-Src-48055.zip) = 534b3436762ce1bfb2568c9774340f0c +SHA256 (FlickrNet2.2-Src-48055.zip) = 9f2a6c7ebb23f75b2a32c7d071d1879116891e76ed3301e124ef9258a96b663e +SIZE (FlickrNet2.2-Src-48055.zip) = 125574 diff --git a/devel/flickrnet/files/patch-AssemblyInfo.cs b/devel/flickrnet/files/patch-AssemblyInfo.cs new file mode 100644 index 000000000000..1f243446dc8a --- /dev/null +++ b/devel/flickrnet/files/patch-AssemblyInfo.cs @@ -0,0 +1,19 @@ + +$FreeBSD$ + +--- AssemblyInfo.cs.orig ++++ AssemblyInfo.cs +@@ -61,10 +61,10 @@ + [assembly: AssemblyKeyName("")]
+
+ #if !WindowsCE
+-[assembly: AssemblyKeyFile("..\\..\\FlickrNet.snk")]
++[assembly: AssemblyKeyFile("FlickrNet.snk")]
+ [assembly: AllowPartiallyTrustedCallers()]
+ [assembly: SecurityPermission(SecurityAction.RequestMinimum, Execution = true)]
+ #endif
+
+ [assembly: CLSCompliantAttribute(true)]
+-[assembly: ComVisible(false)] +\ No newline at end of file ++[assembly: ComVisible(false)]
diff --git a/devel/flickrnet/files/patch-flickrnet.pc.in b/devel/flickrnet/files/patch-flickrnet.pc.in new file mode 100644 index 000000000000..992095a2a878 --- /dev/null +++ b/devel/flickrnet/files/patch-flickrnet.pc.in @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- /dev/null ++++ flickrnet.pc.in +@@ -0,0 +1,8 @@ ++prefix=@prefix@ ++exec_prefix=${prefix} ++libdir=${exec_prefix}/lib ++ ++Name: Flickr .Net API Library ++Description: FlickrNet ++Version: 2.1.5 ++Libs: -r:${libdir}/mono/flickrnet/FlickrNet.dll diff --git a/devel/flickrnet/pkg-descr b/devel/flickrnet/pkg-descr new file mode 100644 index 000000000000..e57492d04ae3 --- /dev/null +++ b/devel/flickrnet/pkg-descr @@ -0,0 +1,4 @@ +The Flickr.Net API is a .Net Library for accessing the Flickr API, written +entirely in C#. + +WWW: http://www.codeplex.com/FlickrNet diff --git a/devel/flickrnet/pkg-plist b/devel/flickrnet/pkg-plist new file mode 100644 index 000000000000..755d55eb07d9 --- /dev/null +++ b/devel/flickrnet/pkg-plist @@ -0,0 +1,4 @@ +@comment $FreeBSD$ +lib/mono/flickrnet/FlickrNet.dll +libdata/pkgconfig/flickrnet.pc +@dirrm lib/mono/flickrnet |