aboutsummaryrefslogtreecommitdiffstats
path: root/devel/mono-addins/Makefile
blob: 0cc7bb88706324f1e273dcab9abe66bf10947c77 (plain) (blame)
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
36
37
38
39
40
41
42
# $FreeBSD$

PORTNAME=   mono-addins
PORTVERSION=    0.6.2
PORTREVISION=   1
CATEGORIES= devel
MASTER_SITES=   http://download.mono-project.com/sources/${PORTNAME}/

MAINTAINER= mono@FreeBSD.org
COMMENT=    Mono framework to create extensible applications

LIB_PC_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/mono.pc:${PORTSDIR}/lang/mono

BUILD_DEPENDS+= ${LIB_PC_DEPENDS}
RUN_DEPENDS+=   ${LIB_PC_DEPENDS}

USE_BZIP2=  yes
GNU_CONFIGURE=  yes
USE_GMAKE=  yes
USE_GNOME=  gnomehack pkgconfig
MAKE_JOBS_UNSAFE=   yes

OPTIONS_DEFINE= GTK2
OPTIONS_DEFAULT=    GTK2

MAN1=       mautil.1

PLIST_SUB+= VER=0.6.0

.include <bsd.port.pre.mk>
.include "${.CURDIR}/../../lang/mono/bsd.mono.mk"

.if ${PORT_OPTIONS:MGTK2}
USE_GNOME+= gtksharp20
CONFIGURE_ARGS+=    --enable-gui
PLIST_SUB+= OPT_GTK2=""
.else
CONFIGURE_ARGS+=    --disable-gui
PLIST_SUB+= OPT_GTK2="@comment "
.endif

.include <bsd.port.post.mk>