PORTNAME=	wine-mono
DISTVERSION=	11.1.0
DISTVERSIONSUFFIX=-x86
CATEGORIES=	emulators
MASTER_SITES=	http://dl.winehq.org/wine/wine-mono/${DISTVERSION}/
PKGNAMESUFFIX=	-devel
EXTRACT_SUFX=	.msi
EXTRACT_ONLY=

MAINTAINER=	gerald@FreeBSD.org
COMMENT=	Mono .NET implementation for Wine development branch
WWW=		https://wiki.winehq.org/Mono

LICENSE=	MIT GPLv2 LGPL20
LICENSE_COMB=	multi

ONLY_FOR_ARCHS=	amd64 i386

CONFLICTS_INSTALL=	wine-mono

NO_BUILD=	yes
PLIST_SUB+=	MONO_VERSION="${DISTVERSION}"
DATADIR=	${PREFIX}/share/wine
PLIST_FILES=	${DATADIR}/mono/${DISTNAME}.msi

do-install:
	@${MKDIR} ${STAGEDIR}${DATADIR}/mono
	${INSTALL_DATA} ${DISTDIR}/${DISTNAME}.msi \
		${STAGEDIR}${DATADIR}/mono

.include <bsd.port.mk>
