1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

Branch devel/dbus-sharp on mono's DBus bindings.

This commit is contained in:
Romain Tartière 2012-09-25 08:51:38 +00:00
parent 9f67b5e7f1
commit 691703f738
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=304823
7 changed files with 31 additions and 153 deletions

View File

@ -3,41 +3,23 @@
# Whom: Tom McLaughlin <tmclaugh@sdf.lonestar.org>
#
# $FreeBSD$
# $Id: Makefile,v 1.26 2006/11/15 16:22:08 tmclau02 Exp $
#
PORTNAME= dbus-sharp
PORTVERSION= 0.62
PORTREVISION= 25
PORTVERSION= 0.7.0
PORTEPOCH= 1
CATEGORIES= devel gnome
MASTER_SITES= http://dbus.freedesktop.org/releases/dbus/
DISTNAME= dbus-${PORTVERSION}
MASTER_SITES= http://cloud.github.com/downloads/mono/${PORTNAME}/
MAINTAINER= mono@FreeBSD.org
COMMENT= Mono interface to the D-BUS messaging system
LIB_DEPENDS= dbus-1.3:${PORTSDIR}/devel/dbus
BUILD_DEPENDS= mono:${PORTSDIR}/lang/mono
RUN_DEPENDS= mono:${PORTSDIR}/lang/mono
BUILD_WRKSRC= ${WRKSRC}/mono
INSTALL_WRKSRC= ${BUILD_WRKSRC}
USE_GNOME= gnomehack gtksharp10
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_AUTOTOOLS= libtool
CONFIGURE_ARGS= --enable-mono \
--disable-python \
--disable-gcj \
--disable-gtk \
--disable-qt \
--with-test-socket-dir=${WRKDIR} \
--with-system-pid-file=/var/run/dbus/dbus.pid \
--with-system-socket=/var/run/dbus/system_bus_socket \
--with-session-socket-dir=/var/tmp \
--disable-doxygen-docs \
--disable-xml-docs
CONFIGURE_ENV= PTHREAD_LIBS="${PTHREAD_LIBS}"
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
USE_GNOME= gnomehack
.include "${.CURDIR}/../../lang/mono/bsd.mono.mk"
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (dbus-0.62.tar.gz) = 884cc2083add655df57acc7bb144c61e9beeabf08ef76fa86929a58d7bc96707
SIZE (dbus-0.62.tar.gz) = 1737361
SHA256 (dbus-sharp-0.7.0.tar.gz) = 92529aef9063f477d1975947c6388c63d03234018f45d007c07716dd3e21dd41
SIZE (dbus-sharp-0.7.0.tar.gz) = 127651

View File

@ -1,108 +0,0 @@
--- mono/Makefile.in.orig Thu Jun 30 23:27:19 2005
+++ mono/Makefile.in Thu Jun 30 23:27:43 2005
@@ -299,7 +299,7 @@
target_cpu = @target_cpu@
target_os = @target_os@
target_vendor = @target_vendor@
-SUBDIRS = . doc example
+SUBDIRS = . example
TARGET = $(ASSEMBLY)
NOINST_EXES = test-dbus-sharp.exe
ASSEMBLY_NAME = dbus-sharp
@@ -345,6 +345,10 @@
$(ASSEMBLY).config.in \
dbus-sharp.snk
+pkgconfigdir = $(prefix)/libdata/pkgconfig
+pkgconfigDATA_INSTALL = $(INSTALL_DATA)
+pkgconfig_DATA = ../dbus-sharp.pc
+
all: all-recursive
.SUFFIXES:
@@ -391,6 +395,23 @@
distclean-libtool:
-rm -f libtool
uninstall-info-am:
+install-pkgconfigDATA: $(pkgconfig_DATA)
+ @$(NORMAL_INSTALL)
+ test -z "$(pkgconfigdir)" || $(mkdir_p) "$(DESTDIR)$(pkgconfigdir)"
+ @list='$(pkgconfig_DATA)'; for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ f="`echo $$p | sed -e 's|^.*/||'`"; \
+ echo " $(pkgconfigDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgconfigdir)/$$f'"; \
+ $(pkgconfigDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgconfigdir)/$$f"; \
+ done
+
+uninstall-pkgconfigDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(pkgconfig_DATA)'; for p in $$list; do \
+ f="`echo $$p | sed -e 's|^.*/||'`"; \
+ echo " rm -f '$(DESTDIR)$(pkgconfigdir)/$$f'"; \
+ rm -f "$(DESTDIR)$(pkgconfigdir)/$$f"; \
+ done
# This directory's subdirectories are mostly independent; you can cd
# into them and run `make' without going through this Makefile.
@@ -569,7 +590,7 @@
done
check-am: all-am
check: check-recursive
-all-am: Makefile
+all-am: Makefile $(pkgconfig_DATA)
installdirs: installdirs-recursive
installdirs-am:
install: install-recursive
@@ -614,7 +635,7 @@
info-am:
-install-data-am: install-data-local
+install-data-am: install-data-local install-pkgconfigDATA
install-exec-am:
@@ -640,7 +661,7 @@
ps-am:
-uninstall-am: uninstall-info-am uninstall-local
+uninstall-am: uninstall-info-am uninstall-local uninstall-pkgconfigDATA
uninstall-info: uninstall-info-recursive
@@ -651,12 +672,13 @@
html-am info info-am install install-am install-data \
install-data-am install-data-local install-exec \
install-exec-am install-info install-info-am install-man \
- install-strip installcheck installcheck-am installdirs \
+ install-pkgconfigDATA install-strip installcheck \
+ installcheck-am installdirs \
installdirs-am maintainer-clean maintainer-clean-generic \
maintainer-clean-recursive mostlyclean mostlyclean-generic \
mostlyclean-libtool mostlyclean-recursive pdf pdf-am ps ps-am \
tags tags-recursive uninstall uninstall-am uninstall-info-am \
- uninstall-local
+ uninstall-pkgconfigDATA uninstall-local
all-am: $(TARGET)
@@ -672,14 +694,14 @@
install-data-local:
@if test -n '$(TARGET)'; then \
- echo "$(GACUTIL) /i $(ASSEMBLY) /f /package dbus-sharp /gacdir $(DESTDIR)$(libdir)"; \
- $(GACUTIL) /i $(ASSEMBLY) /f /package dbus-sharp /gacdir $(libdir) /root $(DESTDIR)$(libdir) || exit 1; \
+ echo "$(GACUTIL) /i $(ASSEMBLY) /f /package dbus-sharp /gacdir $(DESTDIR)$(libdir) /root $(DESTDIR)$(libdir)"; \
+ $(GACUTIL) /i $(ASSEMBLY) /f /package dbus-sharp /gacdir $(DESTDIR)$(libdir) /root $(DESTDIR)$(libdir) || exit 1; \
fi
uninstall-local:
@if test -n '$(TARGET)'; then \
- echo "$(GACUTIL) /u $(ASSEMBLY_NAME) /package dbus-sharp /gacdir $(DESTDIR)$(libdir)"; \
- $(GACUTIL) /u $(ASSEMBLY_NAME) /package dbus-sharp /gacdir $(libdir) /root $(DESTDIR)$(libdir) || exit 1; \
+ echo "$(GACUTIL) /u $(ASSEMBLY_NAME) /package dbus-sharp /gacdir $(DESTDIR)$(libdir) /root $(DESTDIR)$(libdir)"; \
+ $(GACUTIL) /u $(ASSEMBLY_NAME) /package dbus-sharp /gacdir $(DESTDIR)$(libdir) /root $(DESTDIR)$(libdir)|| exit 1; \
fi
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.

View File

@ -1,9 +0,0 @@
--- mono/dbus-sharp.dll.config.in.orig Sat Mar 12 20:56:29 2005
+++ mono/dbus-sharp.dll.config.in Wed Apr 13 21:19:06 2005
@@ -1,4 +1,4 @@
<configuration>
- <dllmap dll="dbus-1" target="libdbus-1@LIB_PREFIX@.@LT_CURRENT@@LIB_SUFFIX@"/>
- <dllmap dll="dbus-glib-1" target="libdbus-glib-1@LIB_PREFIX@.@LT_CURRENT@@LIB_SUFFIX@"/>
+ <dllmap dll="dbus-1" target="libdbus-1@LIB_PREFIX@@LIB_SUFFIX@"/>
+ <dllmap dll="dbus-glib-1" target="libdbus-glib-1@LIB_PREFIX@@LIB_SUFFIX@"/>
</configuration>

View File

@ -0,0 +1,10 @@
$FreeBSD$
--- src/dbus-sharp.dll.config.orig
+++ src/dbus-sharp.dll.config
@@ -1,3 +1,3 @@
<configuration>
- <dllmap dll="libsocket" os="!solaris" target="libc.so.6"/>
+ <dllmap dll="libsocket" os="!solaris" target="libc.so"/>
</configuration>

View File

@ -1,3 +1,5 @@
C# interface to the D-BUS messaging system.
This is a fork of ndesk-dbus, which is a C# implementation of D-Bus. It's often
referred to as "managed D-Bus" to avoid confusion with existing bindings (which
wrap libdbus).
WWW: http://www.freedesktop.org/Software/dbus
WWW: http://mono.github.com/dbus-sharp/

View File

@ -1,8 +1,9 @@
lib/mono/dbus-sharp/dbus-sharp.dll
lib/mono/gac/dbus-sharp/0.62.0.0__9eef2692033670f5/dbus-sharp.dll
lib/mono/gac/dbus-sharp/0.62.0.0__9eef2692033670f5/dbus-sharp.dll.config
lib/mono/gac/dbus-sharp/0.62.0.0__9eef2692033670f5/dbus-sharp.dll.mdb
libdata/pkgconfig/dbus-sharp.pc
@dirrm lib/mono/gac/dbus-sharp/0.62.0.0__9eef2692033670f5
@comment $FreeBSD$
lib/mono/dbus-sharp-1.0/dbus-sharp.dll
lib/mono/gac/dbus-sharp/1.0.0.0__5675b0c3093115b5/dbus-sharp.dll
lib/mono/gac/dbus-sharp/1.0.0.0__5675b0c3093115b5/dbus-sharp.dll.config
lib/mono/gac/dbus-sharp/1.0.0.0__5675b0c3093115b5/dbus-sharp.dll.mdb
libdata/pkgconfig/dbus-sharp-1.0.pc
@dirrm lib/mono/gac/dbus-sharp/1.0.0.0__5675b0c3093115b5
@dirrm lib/mono/gac/dbus-sharp
@dirrm lib/mono/dbus-sharp
@dirrm lib/mono/dbus-sharp-1.0