1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00
freebsd-ports/devel/google-gdata/Makefile
Muhammad Moinur Rahman 61af5fb985 devel/google-gdata: UNBREAK
- Update version 2.2.0.0=>2.2.0.0.20150610
- While importing from Google Code they didn't release any further version
  so switching to append SNAPSHOT versions

MFH:		2020Q2 (runtime fix)
2020-04-18 12:39:52 +00:00

36 lines
990 B
Makefile

# Created by: Romain Tartiere <romain@FreeBSD.org>
# $FreeBSD$
PORTNAME= google-gdata
PORTVERSION= 2.2.0.0.20150610
CATEGORIES= devel
MAINTAINER= bofh@FreeBSD.org
COMMENT= DOT NET library for the Google Data API
LICENSE= APACHE20
BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/Newtonsoft.Json.pc:devel/newtonsoft-json
NUGET_DEPENDS= nunit.framework=2.63.0
USE_GITHUB= yes
GH_ACCOUNT= google
GH_TAGNAME= b716bbc
USES= dos2unix gmake mono:nuget pathfix
NUGET_LAYOUT= flat
PATHFIX_MAKEFILEIN= Makefile
WRKSRC_SUBDIR= clients/cs
DOS2UNIX_FILES= ${WRKSRC}/Makefile ${WRKSRC}/misc/gdata-sharp-core.pc.in
MAKE_ARGS= CSC=${LOCALBASE}/bin/csc SN=${LOCALBASE}/bin/sn
NO_ARCH= yes
post-patch:
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' -Ee 's|(-keyfile:(.*))|\1 -delaysign+\'$$'\n'$$'\t''$$(SN) -R $$@ \2|g' ${WRKSRC}/Makefile
post-install:
cd ${STAGEDIR}${PREFIX}; ${FIND} lib/mono libdata/pkgconfig \
\( -type f -or -type l \) | ${SORT} >> ${TMPPLIST}
.include <bsd.port.mk>