diff --git a/sysutils/signond/Makefile b/sysutils/signond/Makefile index bf4f907c748f..e85ad2bd6cee 100644 --- a/sysutils/signond/Makefile +++ b/sysutils/signond/Makefile @@ -1,46 +1,41 @@ PORTNAME= signon DISTVERSION= 8.61 +PORTREVISION= 1 CATEGORIES= sysutils kde -PKGNAMESUFFIX= -${FLAVOR} +PKGNAMESUFFIX= -qt6 DIST_SUBDIR= KDE/${GL_ACCOUNT} MAINTAINER= kde@FreeBSD.org COMMENT= D-Bus service performing user authentication WWW= https://gitlab.com/accounts-sso/signond LICENSE= LGPL20 LICENSE_FILE= ${WRKSRC}/COPYING -FLAVORS= qt5 qt6 -FLAVOR?= qt5 - USES= compiler:c++11-lang gettext gl pathfix pkgconfig python qmake \ - qt:${FLAVOR:S/qt//} tar:bz2 + qt:6 tar:bz2 USE_GL= gl -_USE_QT_qt5= core dbus gui network sql testlib xml \ - buildtools:build qmake:build -_USE_QT_qt6= base -USE_QT= ${_USE_QT_${FLAVOR}} +USE_QT= base # gitlab variables USE_GITLAB= yes GL_ACCOUNT= nicolasfella GL_PROJECT= signond GL_TAGNAME= c8ad98249af541514ff7a81634d3295e712f1a39 OPTIONS_DEFINE= DOCS -PLIST_SUB= QT_VER=${FLAVOR:S/qt//} +PLIST_SUB= QT_VER=6 pre-configure: #make it find qdbusxml2ccp (as ${QT_BINDIR} is not in PATH) ${REINPLACE_CMD} -e 's,qdbusxml2cpp,${QT_BINDIR}/qdbusxml2cpp,' \ ${WRKSRC}/src/signond/signond.pro #correctly install signond.conf ${REINPLACE_CMD} -e '/conf_file.path/ s,/etc/,${LOCALBASE}/etc/,' \ ${WRKSRC}/src/signond/signond.pro #find moved signond.conf ${REINPLACE_CMD} -e 's,/etc,${LOCALBASE}/etc,' \ ${WRKSRC}/src/signond/signondaemon.cpp .include