1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/devel/dbus-qt5/Makefile
Max Brazhnikov 4cd1e8830e KDE/FreeBSD team is happy to present Qt 5 in ports!
Alberto Villa (avilla@) has done all the hard work to create Qt 5 ports.
Trivial update from 5.2.0-beta1 to 5.2.1 by me.

Special thanks for Adriaan de Groot <groot@kde.org> for his assistance for
Qt-5.2.0 update.

Approved by:	portmgr (bapt) (for Mk/bsd.port.mk)
2014-03-03 16:50:32 +00:00

48 lines
1.0 KiB
Makefile

# $FreeBSD$
PORTNAME= dbus
DISTVERSION= ${QT5_VERSION}
CATEGORIES= devel
PKGNAMEPREFIX= qt5-
MAINTAINER= kde@FreeBSD.org
COMMENT= Qt D-Bus inter-process communication module
LIB_DEPENDS= libdbus-1.so:${PORTSDIR}/devel/dbus
USE_QT5= core qmake_build buildtools_build
QT_DIST= base
HAS_CONFIGURE= yes
CONFIGURE_ARGS= -no-gui -no-xcb
USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL}
BUILD_WRKSRC= ${WRKSRC}/src/${PORTNAME}
INSTALL_WRKSRC= ${BUILD_WRKSRC}
TOOLS= qdbuscpp2xml qdbusxml2cpp
QT_DEFINES= DBUS
QT_CONFIG= dbus
post-configure:
.for t in ${TOOLS}
@cd ${WRKSRC}/src/tools/${t} && \
${SETENV} ${QMAKE_ENV} ${WRKSRC}/bin/qmake ${QMAKE_ARGS}
.endfor
post-build:
.for t in ${TOOLS}
@cd ${WRKSRC}/src/tools/${t} && \
${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} \
${_MAKE_JOBS} ${MAKE_ARGS} ${ALL_TARGET}
.endfor
post-install:
.for t in ${TOOLS}
@cd ${WRKSRC}/src/tools/${t} && \
${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} \
${MAKE_ARGS} ${INSTALL_TARGET}
.endfor
.include <bsd.port.mk>