diff options
Diffstat (limited to 'devel')
-rw-r--r-- | devel/dbus-sharp/Makefile | 49 | ||||
-rw-r--r-- | devel/dbus-sharp/distinfo | 3 | ||||
-rw-r--r-- | devel/dbus-sharp/files/patch-mono_Makefile.in | 108 | ||||
-rw-r--r-- | devel/dbus-sharp/files/patch-mono_dbus-sharp.dll.config.in | 9 | ||||
-rw-r--r-- | devel/dbus-sharp/pkg-descr | 3 | ||||
-rw-r--r-- | devel/dbus-sharp/pkg-plist | 8 |
6 files changed, 180 insertions, 0 deletions
diff --git a/devel/dbus-sharp/Makefile b/devel/dbus-sharp/Makefile new file mode 100644 index 000000000..cf5b2608f --- /dev/null +++ b/devel/dbus-sharp/Makefile @@ -0,0 +1,49 @@ +# New ports collection makefile for: dbus-sharp +# Date Created: 20041011 +# Whom: Tom McLaughlin <tmclaugh@sdf.lonestar.org> +# +# $FreeBSD$ +# $Id: Makefile,v 1.1 2006-10-03 20:24:46 ahze Exp $ +# + +PORTVERSION= 0.62 +PORTREVISION= 14 +CATEGORIES= devel gnome +PKGNAMESUFFIX= -sharp + +MAINTAINER= bsd-sharp-list@forge.novell.com +COMMENT= Mono interface to the D-BUS messaging system + +LIB_DEPENDS= dbus-1.3:${PORTSDIR}/devel/dbus +BUILD_DEPENDS= monodoc:${PORTSDIR}/devel/mono-tools +RUN_DEPENDS= monodoc:${PORTSDIR}/devel/mono-tools + +MASTERDIR= ${.CURDIR}/../dbus +BUILD_WRKSRC= ${WRKSRC}/mono +INSTALL_WRKSRC= ${BUILD_WRKSRC} +PATCHDIR= ${.CURDIR}/files +MD5_FILE= ${.CURDIR}/distinfo +DESCR= ${.CURDIR}/pkg-descr +PLIST= ${.CURDIR}/pkg-plist + +DBUS_SLAVE= yes + +USE_GNOME= gnomehack gnometarget +CONFIGURE_ARGS= --enable-mono \ + --disable-python \ + --disable-gcj \ + --disable-gtk \ + --disable-qt \ + --with-system-pid-file=/var/run/dbus.pid \ + --with-system-socket=/var/run/dbus \ + --with-session-socket-dir=/var/tmp \ + --disable-doxygen-docs \ + --disable-xml-docs + +# Disable those, since it doesn't install docs yet. +#post-patch: +# @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ +# ${WRKSRC}/mono/doc/Makefile.in + +.include "${.CURDIR}/../../lang/mono/bsd.mono.mk" +.include "${MASTERDIR}/Makefile" diff --git a/devel/dbus-sharp/distinfo b/devel/dbus-sharp/distinfo new file mode 100644 index 000000000..363c5a579 --- /dev/null +++ b/devel/dbus-sharp/distinfo @@ -0,0 +1,3 @@ +MD5 (dbus-0.62.tar.gz) = ba7692f63d0e9f1ef06703dff56cb650 +SHA256 (dbus-0.62.tar.gz) = 884cc2083add655df57acc7bb144c61e9beeabf08ef76fa86929a58d7bc96707 +SIZE (dbus-0.62.tar.gz) = 1737361 diff --git a/devel/dbus-sharp/files/patch-mono_Makefile.in b/devel/dbus-sharp/files/patch-mono_Makefile.in new file mode 100644 index 000000000..7f1d7026c --- /dev/null +++ b/devel/dbus-sharp/files/patch-mono_Makefile.in @@ -0,0 +1,108 @@ +--- 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. diff --git a/devel/dbus-sharp/files/patch-mono_dbus-sharp.dll.config.in b/devel/dbus-sharp/files/patch-mono_dbus-sharp.dll.config.in new file mode 100644 index 000000000..b7c0032aa --- /dev/null +++ b/devel/dbus-sharp/files/patch-mono_dbus-sharp.dll.config.in @@ -0,0 +1,9 @@ +--- 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> diff --git a/devel/dbus-sharp/pkg-descr b/devel/dbus-sharp/pkg-descr new file mode 100644 index 000000000..76b311a71 --- /dev/null +++ b/devel/dbus-sharp/pkg-descr @@ -0,0 +1,3 @@ +C# interface to the D-BUS messaging system. + +WWW: http://www.freedesktop.org/Software/dbus diff --git a/devel/dbus-sharp/pkg-plist b/devel/dbus-sharp/pkg-plist new file mode 100644 index 000000000..de7464319 --- /dev/null +++ b/devel/dbus-sharp/pkg-plist @@ -0,0 +1,8 @@ +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 +@dirrm lib/mono/gac/dbus-sharp +@dirrm lib/mono/dbus-sharp |