42 lines
1.0 KiB
Makefile
42 lines
1.0 KiB
Makefile
PORTNAME= signon
|
|
DISTVERSION= 8.61
|
|
PORTREVISION= 1
|
|
CATEGORIES= sysutils kde
|
|
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
|
|
|
|
USES= compiler:c++11-lang gettext gl pathfix pkgconfig python qmake \
|
|
qt:6 tar:bz2
|
|
USE_GL= gl
|
|
USE_QT= base
|
|
|
|
# gitlab variables
|
|
USE_GITLAB= yes
|
|
GL_ACCOUNT= nicolasfella
|
|
GL_PROJECT= signond
|
|
GL_TAGNAME= c8ad98249af541514ff7a81634d3295e712f1a39
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
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 <bsd.port.mk>
|