2019-07-12 20:50:46 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.10 2019/07/12 20:51:09 sthen Exp $
|
2012-08-08 11:46:35 +00:00
|
|
|
|
|
|
|
COMMENT = high level interface to dbus-tcl
|
|
|
|
|
2018-06-25 23:13:57 +00:00
|
|
|
V = 1.3
|
|
|
|
|
|
|
|
DISTNAME = dbif-${V}
|
|
|
|
PKGNAME = dbus-intf-${V}
|
2012-08-08 11:46:35 +00:00
|
|
|
CATEGORIES = x11
|
2018-06-25 23:13:57 +00:00
|
|
|
HOMEPAGE = https://chiselapp.com/user/schelte/repository/dbif/
|
2012-08-08 11:46:35 +00:00
|
|
|
MAINTAINER = Stuart Cassoff <stwo@users.sourceforge.net>
|
2018-09-04 12:46:09 +00:00
|
|
|
REVISION = 0
|
2012-08-08 11:46:35 +00:00
|
|
|
|
|
|
|
# ISC
|
2019-07-12 20:50:46 +00:00
|
|
|
PERMIT_PACKAGE = Yes
|
2012-08-08 11:46:35 +00:00
|
|
|
|
2018-06-25 23:13:57 +00:00
|
|
|
MASTER_SITES = ${HOMEPAGE:=uv/}
|
2012-08-08 11:46:35 +00:00
|
|
|
MODULES = lang/tcl
|
|
|
|
BUILD_DEPENDS = devel/tcllib
|
2015-07-13 00:57:06 +00:00
|
|
|
RUN_DEPENDS = x11/dbus-tcl>=2.1
|
2012-08-08 11:46:35 +00:00
|
|
|
SEPARATE_BUILD =Yes
|
|
|
|
CONFIGURE_STYLE=gnu
|
|
|
|
|
|
|
|
CONFIGURE_ARGS+=--with-tcl=${MODTCL_LIBDIR} \
|
2015-07-13 00:57:06 +00:00
|
|
|
--docdir='$${datarootdir}/doc/dbus-intf'
|
|
|
|
|
|
|
|
CONFIGURE_ENV+= moduledir=${MODTCL_MODDIR}/85
|
2012-08-08 11:46:35 +00:00
|
|
|
|
2013-03-11 11:35:43 +00:00
|
|
|
NO_TEST = Yes
|
2015-07-13 00:57:06 +00:00
|
|
|
WRKDIST = ${WRKDIR}/dbif-${V}
|
|
|
|
SUBST_VARS += V
|
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
@${MODTCL_WISH_ADJ} ${WRKSRC}/examples/hello.tcl
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/dbus-intf
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/examples/hello.tcl \
|
|
|
|
${PREFIX}/share/examples/dbus-intf
|
2012-08-08 11:46:35 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|