mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-24 09:25:01 +00:00
b1a1d38bf9
From now on, ports that depend on Qt4 will have to set USES= qt:4 USE_QT= foo bar ports depending on Qt5 will use USES= qt:5 USE_QT= foo bar PR: 229225 Exp-run by: antoine Reviewed by: mat Approved by: portmgr (antoine) Differential Revision: →https://reviews.freebsd.org/D15540
48 lines
1.1 KiB
Makefile
48 lines
1.1 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:devel/dbus
|
|
|
|
USES= qmake:no_env qt-dist:5,base
|
|
USE_QT= core qmake_build buildtools_build
|
|
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 d in src/dbus src/tools/qdbuscpp2xml src/tools/qdbusxml2cpp
|
|
${MKDIR} ${WRKSRC}/${d}
|
|
cd ${WRKSRC}/${d} && ${SETENV} ${QMAKE_ENV} ${_QMAKE} ${QMAKE_ARGS} ${WRKSRC}/${d}
|
|
.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>
|