From a387c901668cd422dc991cab5bd88b4be7606b4f Mon Sep 17 00:00:00 2001 From: stu Date: Wed, 8 Aug 2012 11:45:03 +0000 Subject: [PATCH] Import dbus-tcl 1.0. Dbus bindings for Tcl. Ok landry@ --- x11/dbus-tcl/Makefile | 39 +++++++++++++++++++++++++++++++++++ x11/dbus-tcl/distinfo | 5 +++++ x11/dbus-tcl/pkg/DESCR | 1 + x11/dbus-tcl/pkg/PFRAG.shared | 2 ++ x11/dbus-tcl/pkg/PLIST | 9 ++++++++ x11/dbus-tcl/pkg/README | 9 ++++++++ 6 files changed, 65 insertions(+) create mode 100644 x11/dbus-tcl/Makefile create mode 100644 x11/dbus-tcl/distinfo create mode 100644 x11/dbus-tcl/pkg/DESCR create mode 100644 x11/dbus-tcl/pkg/PFRAG.shared create mode 100644 x11/dbus-tcl/pkg/PLIST create mode 100644 x11/dbus-tcl/pkg/README diff --git a/x11/dbus-tcl/Makefile b/x11/dbus-tcl/Makefile new file mode 100644 index 00000000000..3148a741575 --- /dev/null +++ b/x11/dbus-tcl/Makefile @@ -0,0 +1,39 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2012/08/08 11:45:03 stu Exp $ + +COMMENT = dbus bindings for Tcl + +DISTNAME = dbus-tcl1.0 +PKGNAME = dbus-tcl-1.0 +SHARED_LIBS = dbus-tcl10 0.0 +CATEGORIES = x11 +HOMEPAGE = http://dbus-tcl.sourceforge.net/ +MAINTAINER = Stuart Cassoff + +# ISC +PERMIT_PACKAGE_CDROM = Yes +PERMIT_PACKAGE_FTP = Yes +PERMIT_DISTFILES_CDROM =Yes +PERMIT_DISTFILES_FTP = Yes + +MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=dbus-tcl/} +MODULES = lang/tcl +BUILD_DEPENDS = ${MODTCL_BUILD_DEPENDS} devel/tcllib +LIB_DEPENDS = x11/dbus +RUN_DEPENDS = ${MODTCL_RUN_DEPENDS} +FAKE_FLAGS = INSTALL_PROGRAM="${INSTALL_DATA}" +REGRESS_FLAGS = LD_PRELOAD=/usr/lib/libpthread.so +SEPARATE_BUILD =Yes +USE_GROFF = Yes +CONFIGURE_STYLE=gnu + +CONFIGURE_ARGS+=${CONFIGURE_SHARED} \ + --with-tcl=${MODTCL_LIBDIR} \ + --libdir=${MODTCL_TCLDIR} \ + --mandir=${PREFIX}/man \ + --enable-threads \ + SHLIB_VERSION=${LIBdbus-tcl10_VERSION} + +REGRESS_IS_INTERACTIVE = X11 +REGRESS_TARGET = test + +.include diff --git a/x11/dbus-tcl/distinfo b/x11/dbus-tcl/distinfo new file mode 100644 index 00000000000..5f950488965 --- /dev/null +++ b/x11/dbus-tcl/distinfo @@ -0,0 +1,5 @@ +MD5 (dbus-tcl1.0.tar.gz) = IsNbAQBC2TOfF1QQGy+9Gg== +RMD160 (dbus-tcl1.0.tar.gz) = aiGD8LVMZhh1u/tMRnCxI8EelI0= +SHA1 (dbus-tcl1.0.tar.gz) = mybfw4qH/9WH5bhmKU6iuc4Ah7k= +SHA256 (dbus-tcl1.0.tar.gz) = JkwlBP8uzUEEpKoxKQHPSOisRCLC/6ing7azHnAOWhw= +SIZE (dbus-tcl1.0.tar.gz) = 153665 diff --git a/x11/dbus-tcl/pkg/DESCR b/x11/dbus-tcl/pkg/DESCR new file mode 100644 index 00000000000..89f6ee4fd61 --- /dev/null +++ b/x11/dbus-tcl/pkg/DESCR @@ -0,0 +1 @@ +Tcl bindings for the DBus interprocess messaging system. diff --git a/x11/dbus-tcl/pkg/PFRAG.shared b/x11/dbus-tcl/pkg/PFRAG.shared new file mode 100644 index 00000000000..38788c51a9d --- /dev/null +++ b/x11/dbus-tcl/pkg/PFRAG.shared @@ -0,0 +1,2 @@ +@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2012/08/08 11:45:03 stu Exp $ +@lib lib/tcl/dbus-tcl/libdbus-tcl10.so.${LIBdbus-tcl10_VERSION} diff --git a/x11/dbus-tcl/pkg/PLIST b/x11/dbus-tcl/pkg/PLIST new file mode 100644 index 00000000000..dc95156e1ed --- /dev/null +++ b/x11/dbus-tcl/pkg/PLIST @@ -0,0 +1,9 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2012/08/08 11:45:03 stu Exp $ +%%SHARED%% +lib/tcl/dbus-tcl/ +lib/tcl/dbus-tcl/pkgIndex.tcl +@man man/mann/dbus-tcl.n +share/doc/dbus-tcl/ +share/doc/dbus-tcl/dbus-tcl.html +share/doc/dbus-tcl/license.terms +share/doc/pkg-readmes/${FULLPKGNAME} diff --git a/x11/dbus-tcl/pkg/README b/x11/dbus-tcl/pkg/README new file mode 100644 index 00000000000..b2c59b43ffb --- /dev/null +++ b/x11/dbus-tcl/pkg/README @@ -0,0 +1,9 @@ +$OpenBSD: README,v 1.1.1.1 2012/08/08 11:45:03 stu Exp $ + ++----------------------------------------------------------------------- +| Running ${FULLPKGNAME} on OpenBSD ++----------------------------------------------------------------------- + +If used with non-threaded Tcl or an executable that is +not linked with libpthread then it will be necessary to +set "LD_PRELOAD=/usr/lib/libpthread.so" in the environment.