aboutsummaryrefslogtreecommitdiffstats
path: root/devel/dbus-tcl/Makefile
blob: 9f40b64c90adf1557a8d89039255b43c1373a88b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Created by: gahr
# $FreeBSD$

PORTNAME=   dbus-tcl
PORTVERSION=    2.0
CATEGORIES= devel
MASTER_SITES=   SF/${PORTNAME}/dbus/${PORTVERSION}/
DISTNAME=   dbus-${PORTVERSION}

MAINTAINER= tcltk@FreeBSD.org
COMMENT=    Tcl interface to the D-Bus messaging system

LICENSE=    ISCL

LIB_DEPENDS=    libdbus-1.so:${PORTSDIR}/devel/dbus

OPTIONS_DEFINE= DOCS
DOCSDIR=    ${PREFIX}/share/doc/dbus
PORTDOCS=   *

USES=       pkgconfig tcl:85+
GNU_CONFIGURE=  yes
CONFIGURE_ARGS+=--with-tcl=${TCL_LIBDIR} \
        --exec-prefix=${PREFIX}

PLIST_FILES=    lib/dbus/libdbus20.so.1 \
        lib/dbus/pkgIndex.tcl \
        man/mann/dbus.n.gz
PLIST_DIRS= lib/dbus

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MDOCS}
BUILD_DEPENDS=  dtplite:${PORTSDIR}/devel/tcllib
.endif

regression-test:
    cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} test

.include <bsd.port.mk>