Index: databases/sqlitebrowser-qt5/Makefile =================================================================== --- databases/sqlitebrowser-qt5/Makefile +++ databases/sqlitebrowser-qt5/Makefile @@ -0,0 +1,13 @@ +# Created by: Tobias C. Berner +# $FreeBSD$ + +PORTNAME= sqlitebrowser +PORTREVERSION?= 0 +PKGNAMESUFFIX= -${TOOLKIT_SLAVE} + +CONFLICTS_INSTALL= ${PORTNAME}-3.* + +TOOLKIT_SLAVE= qt5 + +MASTERDIR= ${.CURDIR:H}/sqlitebrowser +.include "${MASTERDIR}/Makefile" Index: databases/sqlitebrowser/Makefile =================================================================== --- databases/sqlitebrowser/Makefile +++ databases/sqlitebrowser/Makefile @@ -4,6 +4,7 @@ PORTNAME= sqlitebrowser PORTVERSION= 3.8.0 DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= databases MAINTAINER= coder@tuxfamily.org @@ -15,8 +16,21 @@ USE_GITHUB= yes USES= cmake desktop-file-utils sqlite + +TOOLKIT_SLAVE?= qt4 + +.if ${TOOLKIT_SLAVE:Mqt4} USE_QT4= corelib network gui qmake_build linguisttools_build \ moc_build uic_build rcc_build +CMAKE_ARGS+= -DUSE_QT5:BOOL=FALSE +CONFLICTS_INSTALL= ${PORTNAME}-qt5-3.* +.elif ${TOOLKIT_SLAVE:Mqt5} +USE_QT5= core gui network printsupport testlib widgets \ + buildtools_build linguisttools_build qmake_build +CMAKE_ARGS+= -DUSE_QT5:BOOL=TRUE +.else +IGNORE= unsupported TOOLKIT_SLAVE ${TOOLKIT_SLAVE} +.endif INSTALLS_ICONS= yes