Index: head/devel/dbus-tcl/Makefile =================================================================== --- head/devel/dbus-tcl/Makefile (revision 534160) +++ head/devel/dbus-tcl/Makefile (revision 534161) @@ -1,43 +1,45 @@ # Created by: gahr # $FreeBSD$ PORTNAME= dbus-tcl PORTVERSION= 2.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= https://chiselapp.com/user/schelte/repository/dbus/uv/ DISTNAME= dbus-${PORTVERSION} MAINTAINER= tcltk@FreeBSD.org COMMENT= Tcl interface to the D-Bus messaging system LICENSE= ISCL LIB_DEPENDS= libdbus-1.so:devel/dbus BUILD_DEPENDS= dtplite:devel/tcllib +USES= pkgconfig tcl:tea + OPTIONS_DEFINE= DOCS DOCSDIR= ${PREFIX}/share/doc/dbus PORTDOCS= * TEST_TARGET= do-test -USES= gmake pkgconfig tcl:tea - PLIST_FILES= lib/dbus/libdbus21.so.1 \ lib/dbus/pkgIndex.tcl \ man/mann/dbus.n.gz post-patch: - ${REINPLACE_CMD} -e '/^INSTALL_PROGRAM/s|$$| -s|' \ + ${REINPLACE_CMD} \ + -e '/^INSTALL_PROGRAM/s|$$| -s|' \ + -e 's|\$$\+|$$>|' \ ${WRKSRC}/Makefile.in do-test: DBUS=$$(${LOCALBASE}/bin/dbus-daemon --session --print-address --fork --print-pid); \ DBUS_ADDR=$$(echo $$DBUS | ${AWK} '{print $$1}'); \ DBUS_PID=$$(echo $$DBUS | ${AWK} '{print $$2}'); \ DBUS_ENV=DBUS_SESSION_BUS_ADDRESS=$$DBUS_ADDR; \ ${SETENV} ${MAKE_ENV} $$DBUS_ENV ${MAKE} -C ${WRKSRC} test; \ kill $$DBUS_PID .include