freebsd-ports/devel/dbus-tcl/Makefile
2015-09-01 15:53:47 +00:00

39 lines
819 B
Makefile

# Created by: gahr
# $FreeBSD$
PORTNAME= dbus-tcl
PORTVERSION= 2.1
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
BUILD_DEPENDS= dtplite:${PORTSDIR}/devel/tcllib
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/libdbus21.so.1 \
lib/dbus/pkgIndex.tcl \
man/mann/dbus.n.gz
post-patch:
${REINPLACE_CMD} -e '/^INSTALL_PROGRAM/s|$$| -s|' \
${WRKSRC}/Makefile.in
regression-test:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} test
.include <bsd.port.mk>