mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
32 lines
918 B
Makefile
32 lines
918 B
Makefile
# Created by: Romain Tartiere <romain@blogreen.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= flickrnet
|
|
PORTVERSION= 2.2.0
|
|
PORTEPOCH= 1
|
|
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
|
|
|
|
NO_STAGE= yes
|
|
do-build:
|
|
@cd ${WRKSRC} && ${LOCALBASE}/bin/gmcs -t:library -out:FlickrNet.dll -r:System.Data -r:System.Web -r:System.Drawing *.cs
|
|
|
|
do-install:
|
|
${MKDIR} ${PREFIX}/lib/mono/flickrnet
|
|
cd ${WRKSRC} && ${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>
|