5773d9cf65
While here, cleannup port.
37 lines
930 B
Makefile
37 lines
930 B
Makefile
# Created by: Tom McLaughlin <tmclaugh@sdf.lonestar.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= dbus-sharp
|
|
PORTVERSION= 0.7.0
|
|
PORTREVISION= 1
|
|
PORTEPOCH= 1
|
|
CATEGORIES= devel gnome
|
|
MASTER_SITES= http://cloud.github.com/downloads/mono/${PORTNAME}/
|
|
|
|
MAINTAINER= mono@FreeBSD.org
|
|
COMMENT= Mono interface to the D-BUS messaging system
|
|
|
|
LICENSE= MIT
|
|
|
|
BUILD_DEPENDS= mono:${PORTSDIR}/lang/mono
|
|
RUN_DEPENDS= mono:${PORTSDIR}/lang/mono
|
|
|
|
GNU_CONFIGURE= yes
|
|
USES= gmake pathfix pkgconfig
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
post-patch:
|
|
.if ${OSVERSION} < 1000044
|
|
# libc.so is a symlink to the right libc.so.X
|
|
${REINPLACE_CMD} -e 's|libc.so.6|libc.so|' \
|
|
${WRKSRC}/src/dbus-sharp.dll.config
|
|
.else
|
|
# 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
|
|
.endif
|
|
|
|
.include "${.CURDIR}/../../lang/mono/bsd.mono.mk"
|
|
.include <bsd.port.post.mk>
|