summaryrefslogtreecommitdiff
path: root/databases/csharp-mysql/Makefile
blob: 027fec86517023b14b54a400d5e624d16ef97bca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# $NetBSD: Makefile,v 1.3 2013/06/17 12:44:53 wiz Exp $

DISTNAME=	mysql-connector-net-6.3.5-noinstall
PKGNAME=	csharp-mysql-6.3.5
CATEGORIES=	databases devel
MASTER_SITES=	${MASTER_SITE_MYSQL:=Connector-Net/}
EXTRACT_SUFX=	.zip

MAINTAINER=	kefren@NetBSD.org
HOMEPAGE=	http://dev.mysql.com/downloads/connector/net/
COMMENT=	Fully managed ADO.NET driver for MySQL
LICENSE=	gnu-gpl-v2

DEPENDS+=	mono>=2.0<3:../../lang/mono2

EXTRACT_DIR=	${WRKDIR}/${PKGNAME}
WRKSRC=		${EXTRACT_DIR}

do-build:

do-install:
	${MV} ${WRKSRC}/v2/mysql.data.dll ${WRKSRC}/v2/MySql.Data.dll
	${PREFIX}/bin/gacutil -i ${WRKSRC}/v2/MySql.Data.dll \
		-root ${DESTDIR}${PREFIX}/lib

.include "../../mk/bsd.pkg.mk"