Import of mono-flickrnet:

The Flickr.Net API is a .Net Library for accessing the Flickr API, written
entirely in C#.
This commit is contained in:
robert 2010-06-30 19:02:28 +00:00
parent 70c0886033
commit a4f804b78d
6 changed files with 75 additions and 0 deletions

View File

@ -0,0 +1,35 @@
# $OpenBSD: Makefile,v 1.1.1.1 2010/06/30 19:02:28 robert Exp $
COMMENT= Flickr .Net API Library
V= 2.2.0
DISTNAME= FlickrNet${V:C/^([0-9]+\.[0-9]+).*/\1/}-Src-48055
PKGNAME= mono-flickrnet-${V}
CATEGORIES= devel graphics
HOMEPAGE= http://www.codeplex.com/FlickrNet
MASTER_SITES= http://blade2k.humppa.hu/
# Common Public License 1.0
PERMIT_PACKAGE_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
MODULES= lang/mono
USE_GMAKE= Yes
WRKSRC= ${WRKDIST}/FlickrNet
do-configure:
cd ${WRKSRC} && prj2make FlickrNet.csproj
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/lib/mono/flickrnet
${INSTALL_DATA_DIR} ${PREFIX}/lib/pkgconfig
cd ${WRKSRC}/bin/Debug && ${INSTALL_DATA} FlickrNet.dll ${PREFIX}/lib/mono/flickrnet
cd ${WRKSRC} && sed -e 's|@prefix@|${LOCALBASE}|' < flickrnet.pc.in > flickrnet.pc
${INSTALL_DATA} ${WRKSRC}/flickrnet.pc ${PREFIX}/lib/pkgconfig
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (FlickrNet2.2-Src-48055.tar.gz) = ITfbCcMD6/qL9TpkRUWODw==
RMD160 (FlickrNet2.2-Src-48055.tar.gz) = fVwgUizw/x55KW3B4YlPvgKGgQk=
SHA1 (FlickrNet2.2-Src-48055.tar.gz) = xsXTztxL9lG16BHMcsRE1gYSbjI=
SHA256 (FlickrNet2.2-Src-48055.tar.gz) = VCjOfeNl+aIbAy9PLoVfqPryrlhDg7BCL0doENia0MM=
SIZE (FlickrNet2.2-Src-48055.tar.gz) = 85075

View File

@ -0,0 +1,17 @@
$OpenBSD: patch-FlickrNet_AssemblyInfo_cs,v 1.1.1.1 2010/06/30 19:02:28 robert Exp $
--- FlickrNet/AssemblyInfo.cs.orig Wed Jun 30 07:08:21 2010
+++ FlickrNet/AssemblyInfo.cs Wed Jun 30 07:08:38 2010
@@ -61,10 +61,10 @@ using System.Runtime.InteropServices;
[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)]

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-FlickrNet_flickrnet_pc_in,v 1.1.1.1 2010/06/30 19:02:28 robert Exp $
--- FlickrNet/flickrnet.pc.in.orig Wed Jun 30 07:09:01 2010
+++ FlickrNet/flickrnet.pc.in Wed Jun 30 07:09:07 2010
@@ -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

View File

@ -0,0 +1,2 @@
The Flickr.Net API is a .Net Library for accessing the Flickr API, written
entirely in C#.

View File

@ -0,0 +1,4 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2010/06/30 19:02:28 robert Exp $
lib/mono/flickrnet/
lib/mono/flickrnet/FlickrNet.dll
lib/pkgconfig/flickrnet.pc