freebsd-ports/graphics/nplot/Makefile
David Naylor 1da3310ac1 lang/mono: update to version 5.2.0.215 (and enhance USES=mono)
Highlights:
 - New Roslyn compiler for C# available
 - Improved support for nuget packages in USES=mono

General:
 - fix pkg-plist: mono now produces '.pdb' debug files instead of '.mdb'
 - bump all dependant ports

USES=mono:
 - properly handle caching of nuget packages
 - add support for multiple feeds for nuget packages
 - add support for nuget dependencies in a separate file
 - add support for paket packages

lang/mono:
 - update to version 5.2.0.215
 - automate certificate initialisation [2]
 - increase test coverage
 - mark as conflicting with net/czmq (conflicting on makecert) [1]
 - patch mono to use $PREFIX/share/mono instead of /usr/share/.mono

devel/google-gdata:
 - use nunit.framework nuget package as the Mono shipped version is no longer suppport.
 - switch to using csc(1) for compiling (mcs(1) is depreciated).
 - use delayed signing (and then sign with sn(1)) as csc(1) does not support signing.
 - fix reference to system assemblies (the '.dll' suffix is required).
 - fix reference to HttpUtility: csc(1) is more strict about scoping

devel/monodevelop:
 - reroll distinfo (no changes to content)

lang/fsharp:
 - reroll distinfo (no changes to content)

security/gnome-keyring-sharp:
 - delay sign (then sign with sn(1)) as csc(1) does not support direct signing.

PR:	223188 [1]
PR:	209670 [2]
Differential Revision:	https://reviews.freebsd.org/D13752
2018-01-30 19:00:27 +00:00

42 lines
1.1 KiB
Makefile

# $FreeBSD$
PORTNAME= nplot
PORTVERSION= 0.9.11
PORTREVISION= 1
CATEGORIES= graphics
MAINTAINER= cs@innolan.dk
COMMENT= Charting library for .NET
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libgdiplus.so:x11-toolkits/libgdiplus \
libcairo.so:graphics/cairo
RUN_DEPENDS= webfonts>=0:x11-fonts/webfonts
USE_GITHUB= yes
GH_ACCOUNT= mhowlett
GH_TAGNAME= 9a92e78
SUB_FILES= NPlot.pc
USES= mono ssl
PLIST_FILES= lib/mono/NPlot/NPlot.dll \
lib/mono/gac/NPlot/0.9.11.0__1d82a50c5d01c44e/NPlot.dll \
libdata/pkgconfig/NPlot.pc
pre-build:
openssl enc -base64 -d <${PATCHDIR}/Dynamic.key >${WRKSRC}/src/Dynamic.snk
do-build:
(cd ${WRKSRC}/src && ${SETENV} ${MAKE_ENV} xbuild NPlot.csproj \
/p:Configuration=Release /p:SignAssembly=true \
/p:AssemblyOriginatorKeyFile=Dynamic.snk)
do-install:
(cd ${WRKSRC}/src && ${SETENV} MONO_SHARED_DIR=${WRKDIR} ${LOCALBASE}/bin/gacutil \
-root ${STAGEDIR}${PREFIX}/lib/ -package NPlot -i bin/NPlot.dll)
(cd ${WRKDIR} && ${INSTALL_DATA} NPlot.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig)
.include <bsd.port.mk>