2016-12-26 07:53:37 +01:00
|
|
|
# Created by: Ben Woods <woodsb02@FreeBSD.org>
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= lightdm
|
2019-06-07 01:05:21 +02:00
|
|
|
PORTVERSION= 1.30.0
|
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330
2019-07-26 22:46:53 +02:00
|
|
|
PORTREVISION= 1
|
2016-12-26 07:53:37 +01:00
|
|
|
CATEGORIES= x11
|
2019-02-04 11:28:46 +01:00
|
|
|
MASTER_SITES= https://github.com/CanonicalLtd/${PORTNAME}/releases/download/${DISTVERSIONPREFIX}${DISTVERSION}/
|
2016-12-26 07:53:37 +01:00
|
|
|
|
|
|
|
MAINTAINER= woodsb02@FreeBSD.org
|
|
|
|
COMMENT= Lightweight Display Manager
|
|
|
|
|
|
|
|
# library/bindings are LGPLv2 or LGPLv3, the rest GPLv3+
|
|
|
|
LICENSE= LGPL20 LGPL3 GPLv3
|
|
|
|
LICENSE_COMB= multi
|
|
|
|
LICENSE_FILE_LGPL20= ${WRKSRC}/COPYING.LGPL2
|
|
|
|
LICENSE_FILE_LGPL3= ${WRKSRC}/COPYING.LGPL3
|
|
|
|
LICENSE_FILE_GPLv3= ${WRKSRC}/COPYING.GPL3
|
|
|
|
|
|
|
|
BUILD_DEPENDS= itstool:textproc/itstool
|
|
|
|
LIB_DEPENDS= libaccountsservice.so:sysutils/accountsservice \
|
2017-08-05 12:58:48 +02:00
|
|
|
libck-connector.so:sysutils/consolekit2 \
|
2016-12-26 07:53:37 +01:00
|
|
|
libgcrypt.so:security/libgcrypt \
|
|
|
|
libxklavier.so:x11/libxklavier
|
|
|
|
|
2019-02-04 11:28:46 +01:00
|
|
|
USES= compiler:c++11-lang gettext gmake gnome libtool localbase \
|
2019-11-07 19:36:55 +01:00
|
|
|
pathfix pkgconfig tar:xz xorg
|
2017-04-03 08:37:05 +02:00
|
|
|
USE_CXXSTD= c++11
|
2019-02-04 11:28:46 +01:00
|
|
|
USE_GNOME= glib20 intltool
|
2016-12-26 07:53:37 +01:00
|
|
|
USE_XORG= x11 xcb xdmcp
|
2017-08-05 10:17:54 +02:00
|
|
|
USE_LDCONFIG= yes
|
2016-12-26 07:53:37 +01:00
|
|
|
USE_RC_SUBR= lightdm
|
|
|
|
|
2019-02-04 11:28:46 +01:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --disable-tests # PAM errors
|
|
|
|
INSTALL_TARGET= install-strip
|
2016-12-26 07:53:37 +01:00
|
|
|
USERS= lightdm
|
|
|
|
GROUPS= lightdm
|
2019-02-04 11:28:46 +01:00
|
|
|
PORTSCOUT= limitw:1,even
|
|
|
|
SUB_FILES= Xsession
|
2016-12-26 07:53:37 +01:00
|
|
|
|
2019-06-07 01:05:21 +02:00
|
|
|
OPTIONS_DEFINE= DOCS VAPI
|
|
|
|
OPTIONS_DEFAULT=VAPI
|
2016-12-26 07:53:37 +01:00
|
|
|
OPTIONS_SUB= yes
|
|
|
|
|
|
|
|
DOCS_BUILD_DEPENDS= gtkdoc-check:textproc/gtk-doc
|
|
|
|
DOCS_CONFIGURE_ENABLE= gtk-doc
|
|
|
|
|
2019-06-07 01:05:21 +02:00
|
|
|
VAPI_BUILD_DEPENDS= vapigen:lang/vala
|
|
|
|
VAPI_CONFIGURE_ENABLE= vala
|
|
|
|
VAPI_USE= gnome=introspection:build
|
2016-12-26 07:53:37 +01:00
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},' \
|
|
|
|
${WRKSRC}/data/lightdm.conf
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${RM} -r ${STAGEDIR}${PREFIX}/etc/init
|
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/Xsession ${STAGEDIR}${PREFIX}/etc/lightdm/
|
|
|
|
${MV} ${STAGEDIR}${PREFIX}/etc/lightdm/keys.conf ${STAGEDIR}${PREFIX}/etc/lightdm/keys.conf.sample
|
|
|
|
${MV} ${STAGEDIR}${PREFIX}/etc/lightdm/lightdm.conf ${STAGEDIR}${PREFIX}/etc/lightdm/lightdm.conf.sample
|
|
|
|
${MV} ${STAGEDIR}${PREFIX}/etc/lightdm/users.conf ${STAGEDIR}${PREFIX}/etc/lightdm/users.conf.sample
|
|
|
|
${MKDIR} ${STAGEDIR}/var/cache/lightdm \
|
|
|
|
${STAGEDIR}/var/log/lightdm \
|
|
|
|
${STAGEDIR}/var/run/lightdm
|
|
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/share/xgreeters
|
|
|
|
@(cd ${STAGEDIR}${PREFIX}/share/xgreeters && \
|
|
|
|
${LN} -sf lightdm-gtk-greeter.desktop default.desktop)
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|