summaryrefslogtreecommitdiff
path: root/lang/mono/Makefile
blob: 7020a97997b46c4ba685ba0722b8288a35bea783 (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
27
28
29
30
31
32
33
34
35
# $NetBSD: Makefile,v 1.4 2003/05/09 13:03:21 jmmv Exp $
#

DISTNAME=	mono-0.24
CATEGORIES=	lang
MASTER_SITES=	http://www.go-mono.org/archive/

MAINTAINER=	marc@informatik.uni-bremen.de
HOMEPAGE=	http://www.go-mono.org/
COMMENT=	Open source implementation of the .NET Development Framework

# XXX: Is this really true?  As seen in the website, mono should work on
# other platforms; please test.
ONLY_FOR_PLATFORM=	Linux-*-i[3-6]86
ONLY_FOR_PLATFORM+=	NetBSD-1.6[M-Z]-i386 NetBSD-[2-9]*-i386

GNU_CONFIGURE=		YES
USE_BUILDLINK2=		YES
USE_LIBTOOL=		YES
USE_PKGINSTALL=		YES

LIBTOOL_OVERRIDE=	${WRKSRC}/libtool
PKGCONFIG_OVERRIDE=	${WRKSRC}/mono.pc.in

CONFIGURE_ARGS+=	--sysconfdir="${PKG_SYSCONFDIR}"

PKG_SYSCONFSUBDIR=	mono
EGDIR=		${PREFIX}/share/examples/mono
CONF_FILES=	${EGDIR}/config ${PKG_SYSCONFDIR}/config
CONF_FILES+=	${EGDIR}/machine.config ${PKG_SYSCONFDIR}/machine.config

.include "../../devel/boehm-gc/buildlink2.mk"
.include "../../devel/glib2/buildlink2.mk"
.include "../../mk/pthread.buildlink2.mk"
.include "../../mk/bsd.pkg.mk"