2023-01-03 18:36:14 +01:00
|
|
|
# $NetBSD: Makefile,v 1.30 2023/01/03 17:38:30 wiz Exp $
|
2013-02-01 02:31:37 +01:00
|
|
|
|
2021-03-09 02:51:32 +01:00
|
|
|
DISTNAME= lxsession-0.5.5
|
2023-01-03 18:36:14 +01:00
|
|
|
PKGREVISION= 2
|
2013-02-01 02:31:37 +01:00
|
|
|
CATEGORIES= x11
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=lxde/}
|
2016-05-23 10:56:21 +02:00
|
|
|
EXTRACT_SUFX= .tar.xz
|
2013-02-01 02:31:37 +01:00
|
|
|
|
2016-05-23 10:56:21 +02:00
|
|
|
MAINTAINER= youri@NetBSD.org
|
2017-12-24 10:59:46 +01:00
|
|
|
HOMEPAGE= https://lxde.org/
|
2013-02-01 02:31:37 +01:00
|
|
|
COMMENT= Session manager for LXDE
|
|
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
|
2016-05-23 10:56:21 +02:00
|
|
|
LXDE_CONF= share/examples/lxsession
|
|
|
|
GNU_CONFIGURE= yes
|
2013-02-01 02:31:37 +01:00
|
|
|
INSTALLATION_DIRS= share/doc/lxsession
|
2016-05-23 10:56:21 +02:00
|
|
|
USE_TOOLS+= intltool msgfmt pkg-config
|
|
|
|
|
|
|
|
PKG_SYSCONFSUBDIR= xdg
|
|
|
|
MAKE_DIRS+= ${PKG_SYSCONFDIR}/autostart
|
|
|
|
|
|
|
|
CONF_FILES+= ${LXDE_CONF}/lxpolkit.desktop \
|
|
|
|
${PKG_SYSCONFDIR}/autostart/lxpolkit.desktop
|
2013-02-01 02:31:37 +01:00
|
|
|
|
2018-05-22 18:07:01 +02:00
|
|
|
SUBST_CLASSES+= prefix
|
|
|
|
SUBST_MESSAGE.prefix= Fixing paths.
|
2018-07-04 15:40:07 +02:00
|
|
|
SUBST_STAGE.prefix= pre-configure
|
2018-05-22 18:07:01 +02:00
|
|
|
SUBST_FILES.prefix= lxsession/environement.c
|
|
|
|
SUBST_FILES.prefix+= lxsession/app.c
|
|
|
|
SUBST_FILES.prefix+= lxsession/settings.c
|
|
|
|
SUBST_FILES.prefix+= lxsession-db/desktop-files-backend.c
|
|
|
|
SUBST_FILES.prefix+= data/desktop.conf.example
|
|
|
|
SUBST_SED.prefix= -e 's,/etc/xdg,${PKG_SYSCONFDIR},g'
|
|
|
|
SUBST_SED.prefix+= -e 's,/usr/share,${PREFIX}/share,g'
|
|
|
|
SUBST_SED.prefix+= -e 's,/usr/lib,${PREFIX}/lib,g'
|
|
|
|
SUBST_SED.prefix+= -e 's,/usr/bin/pkexec,${PREFIX}/bin/pkexec,g'
|
|
|
|
|
2013-02-01 02:31:37 +01:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README \
|
|
|
|
${DESTDIR}${PREFIX}/share/doc/lxsession/
|
|
|
|
|
2021-03-09 02:51:32 +01:00
|
|
|
.include "../../devel/glib2/buildlink3.mk"
|
2016-05-23 10:56:21 +02:00
|
|
|
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
|
2013-02-01 02:31:37 +01:00
|
|
|
.include "../../sysutils/dbus/buildlink3.mk"
|
2016-05-23 10:56:21 +02:00
|
|
|
.include "../../sysutils/dbus-glib/buildlink3.mk"
|
|
|
|
.include "../../security/polkit/buildlink3.mk"
|
2013-02-01 02:31:37 +01:00
|
|
|
.include "../../x11/gtk2/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|