1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/devel/google-gdata/Makefile
Antoine Brodin 308f782ac0 Fix build with mono 4
Reported by:	pkg-fallout
2015-05-23 23:37:40 +00:00

29 lines
752 B
Makefile

# Created by: Romain Tartiere <romain@FreeBSD.org>
# $FreeBSD$
PORTNAME= google-gdata
PORTVERSION= 2.2.0.0
CATEGORIES= devel
MASTER_SITES= GOOGLE_CODE
DISTNAME= libgoogle-data-mono-${PORTVERSION}
MAINTAINER= bofh@FreeBSD.org
COMMENT= DOT NET library for the Google Data API
LICENSE= APACHE20
BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/Newtonsoft.Json.pc:${PORTSDIR}/devel/newtonsoft-json
USES= dos2unix gmake mono
DOS2UNIX_FILES= Makefile misc/gdata-sharp-core.pc.in
MAKE_ARGS= CSC=${LOCALBASE}/bin/mcs
post-patch:
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/Makefile
post-stage:
cd ${STAGEDIR}${PREFIX}; ${FIND} lib/mono libdata/pkgconfig \
\( -type f -or -type l \) | ${SORT} >> ${TMPPLIST}
.include <bsd.port.mk>