Changeset View
Changeset View
Standalone View
Standalone View
head/x11-toolkits/qt5-widgets/Makefile
Show All 11 Lines | |||||
QT_DIST= base | QT_DIST= base | ||||
USE_XORG= x11 | USE_XORG= x11 | ||||
HAS_CONFIGURE= yes | HAS_CONFIGURE= yes | ||||
USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} | USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} | ||||
BUILD_WRKSRC= ${WRKSRC}/src/${PORTNAME} | BUILD_WRKSRC= ${WRKSRC}/src/${PORTNAME} | ||||
INSTALL_WRKSRC= ${BUILD_WRKSRC} | INSTALL_WRKSRC= ${BUILD_WRKSRC} | ||||
MORE_WRKSRCS= src/tools/uic \ | MORE_WRKSRCS= src/tools/uic | ||||
src/plugins/platformthemes | |||||
QT_DEFINES= ACCESSIBILITY WIDGETS XSYNC | QT_DEFINES= ACCESSIBILITY WIDGETS XSYNC | ||||
QT_CONFIG= accessibility accessibility-atspi-bridge xlib | QT_CONFIG= accessibility accessibility-atspi-bridge xlib | ||||
OPTIONS_DEFINE= GTK2 | OPTIONS_DEFINE= GTK3 | ||||
OPTIONS_SUB= yes | OPTIONS_SUB= YES | ||||
GTK2_DESC= GTK+-based Qt theme | GTK3_DESC= GTK+-based Qt theme | ||||
GTK2_USE= GNOME=gtk20 | GTK3_USE= GNOME=gtk30 QT5=dbus | ||||
GTK2_CONFIGURE_ON= -gtkstyle | GTK3_CONFIGURE_ON= -gtk | ||||
GTK2_CONFIGURE_OFF= -no-gtkstyle | GTK3_CONFIGURE_OFF= -no-gtk | ||||
.include <bsd.port.options.mk> | .include <bsd.port.options.mk> | ||||
.if ${PORT_OPTIONS:MGTK2} | .if ${PORT_OPTIONS:MGTK3} | ||||
QT_DEFINES+= STYLE_GTK | QT_DEFINES+= STYLE_GTK | ||||
QT_CONFIG+= gtkstyle | QT_CONFIG+= gtk | ||||
MORE_WRKSRCS+= src/plugins/platformthemes | |||||
.else | .else | ||||
QT_DEFINES+= -STYLE_GTK | QT_DEFINES+= -STYLE_GTK | ||||
QT_CONFIG+= -gtkstyle | QT_CONFIG+= -gtk | ||||
.endif | .endif | ||||
# libQt5PlatformSupport.a is installed by qt5-core but needed for the gtk style plugin | # libQt5PlatformSupport.a is installed by qt5-core but needed for the gtk style plugin | ||||
post-configure: | post-configure: | ||||
${LN} -s ${QT_LIBDIR}/libQt5PlatformSupport.a \ | ${LN} -s ${QT_LIBDIR}/libQt5PlatformSupport.a \ | ||||
${WRKSRC}/lib/libQt5PlatformSupport.a | ${WRKSRC}/lib/libQt5PlatformSupport.a | ||||
pre-build: | pre-build: | ||||
Show All 14 Lines |