blob: bf4f907c748f30546580b7bd70d8814478ad33c1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
PORTNAME= signon
DISTVERSION= 8.61
CATEGORIES= sysutils kde
PKGNAMESUFFIX= -${FLAVOR}
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
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}}
# gitlab variables
USE_GITLAB= yes
GL_ACCOUNT= nicolasfella
GL_PROJECT= signond
GL_TAGNAME= c8ad98249af541514ff7a81634d3295e712f1a39
OPTIONS_DEFINE= DOCS
PLIST_SUB= QT_VER=${FLAVOR:S/qt//}
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 <bsd.port.mk>
|