summaryrefslogtreecommitdiff
path: root/x11/lxsession/Makefile
blob: 432197d5a52af4df4f0afd6d6418b650b46cd82b (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
# $NetBSD: Makefile,v 1.11 2016/05/23 08:56:21 youri Exp $

DISTNAME=	lxsession-0.5.2
CATEGORIES=	x11
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=lxde/}
EXTRACT_SUFX=	.tar.xz

MAINTAINER=	youri@NetBSD.org
HOMEPAGE=	http://lxde.org/
COMMENT=	Session manager for LXDE
LICENSE=	gnu-gpl-v2

LXDE_CONF=		share/examples/lxsession
GNU_CONFIGURE=		yes
INSTALLATION_DIRS=	share/doc/lxsession
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

post-install:
	${INSTALL_DATA} ${WRKSRC}/README \
		${DESTDIR}${PREFIX}/share/doc/lxsession/

.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../sysutils/dbus/buildlink3.mk"
.include "../../sysutils/dbus-glib/buildlink3.mk"
.include "../../security/polkit/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../x11/libunique/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"