misc/qtchooser provides a wrapper binary bin/qtchooser, that when called with name foo, will lauch the corresponding binary from lib/qt${current_qt_version}/bin/foo. Previously qtchooser would install a list of 30-ish symlinks to itself automatically. Now we switch this around. qt-dist ports that define QT_BINARIES will now have a @postexec and @postunexec entry added to their plist to run the shell-script update-qtchooser-wrapper (installed by qtchooser). update-qtchooser-wrapper removes all symlinks to bin/qtcreator that have no corresponding binary in lib/qt*/bin, and readds links that are missing. Exp-run by: antoine PR: 242905 PR: 243443 Reported by: grarpamp@gmail.com Reviewed by: adridg Differential Revision: https://reviews.freebsd.org/D22991
17 lines
384 B
Makefile
17 lines
384 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= serialbus
|
|
DISTVERSION= ${QT5_VERSION}
|
|
PORTREVISION= 1
|
|
CATEGORIES= comms
|
|
PKGNAMEPREFIX= qt5-
|
|
|
|
MAINTAINER= kde@FreeBSD.org
|
|
COMMENT= Qt functions to access industrial bus systems
|
|
|
|
USES= compiler:c++11-lib qmake qt-dist:5,serialbus
|
|
USE_QT= core network serialport buildtools_build
|
|
USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL}
|
|
QT_BINARIES= yes
|
|
|
|
.include <bsd.port.mk>
|