aboutsummaryrefslogtreecommitdiff
path: root/devel/dbus-sharp/Makefile
blob: f684bec7300919469720b6d27bbad809d0e20f51 (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
# Created by: Tom McLaughlin <tmclaugh@sdf.lonestar.org>

PORTNAME=	dbus-sharp
PORTVERSION=	0.8.1
PORTREVISION=	1
DISTVERSIONPREFIX=v
PORTEPOCH=	1
CATEGORIES=	devel gnome

MAINTAINER=	mono@FreeBSD.org
COMMENT=	Mono interface to the D-BUS messaging system

LICENSE=	MIT

GNU_CONFIGURE=	yes
CONFIGURE_ENV=	ac_cv_path_GMCS=${LOCALBASE}/bin/mcs
USES=		autoreconf gmake mono pathfix pkgconfig
USE_GITHUB=	yes
GH_ACCOUNT=	mono

.include <bsd.port.pre.mk>

.if defined(MONO_DEFAULT) && ${MONO_DEFAULT} > 6
BROKEN=		fails to build with Mono version ${MONO_DEFAULT}: Failure adding assembly dbus-sharp.dll to the cache: Strong name cannot be verified for delay-signed assembly
.endif

post-patch:
# libc.so is an LD script not usable by dllmap, so we have to set a proper
# version number.
	@${REINPLACE_CMD} -e 's|libc.so.6|libc.so.7|' \
		${WRKSRC}/src/dbus-sharp.dll.config

.include <bsd.port.post.mk>