blob: 77be18f76d825fddbe038710cc34f127dcdcfcb1 (
plain)
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
|
PORTNAME= signon
DISTVERSION= 8.60
CATEGORIES= sysutils kde
PKGNAMESUFFIX= -qt5
DIST_SUBDIR= KDE/${GL_ACCOUNT}
MAINTAINER= kde@FreeBSD.org
COMMENT= D-Bus service performing user authentication
LICENSE= LGPL20
LICENSE_FILE= ${WRKSRC}/COPYING
USES= compiler:c++11-lang gettext pathfix pkgconfig python qmake \
qt:5 tar:bz2
USE_QT= core dbus gui network sql testlib xml \
buildtools_build qmake_build
# gitlab variables
USE_GITLAB= yes
GL_ACCOUNT= accounts-sso
GL_PROJECT= signond
GL_COMMIT= 07d45498ad374d9e8e4ff6a886f4b4bb850c0cb5
OPTIONS_DEFINE= DOCS
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>
|