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
38 lines
896 B
Makefile
38 lines
896 B
Makefile
# Created by: Michael Nottebrock <lofi@kiste>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= piklab
|
|
PORTVERSION= 0.16.2
|
|
PORTREVISION= 6
|
|
CATEGORIES= devel kde
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= KDE/Qt IDE for microcontroller development
|
|
|
|
LICENSE= GPLv2+
|
|
|
|
DOS2UNIX_FILES= cmake/Piklab.cmake
|
|
USE_QT= corelib gui qt3support qtestlib xml \
|
|
moc_build qmake_build rcc_build uic_build
|
|
USES= cmake gettext qt:4 readline dos2unix tar:bzip2
|
|
USE_CXXSTD= gnu++98
|
|
|
|
OPTIONS_DEFINE= KDE4
|
|
OPTIONS_DEFAULT= KDE4
|
|
OPTIONS_SUB= yes
|
|
|
|
KDE4_USES= kde:4 shared-mime-info
|
|
KDE4_USE= KDE=automoc4,kdelibs
|
|
KDE4_CMAKE_OFF= -DQT_ONLY:BOOL=ON \
|
|
-DLOCALE_INSTALL_DIR:STRING="${PREFIX}/share/locale"
|
|
|
|
BROKEN_sparc64= does not compile on sparc64
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
'/install/s|^|#|' ${WRKSRC}/CMakeLists.txt
|
|
@${REINPLACE_CMD} -e \
|
|
's,share/man,man,' ${WRKSRC}/man/CMakeLists.txt
|
|
|
|
.include <bsd.port.mk>
|