[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / x11 / xfce4-session

File: [cvs.NetBSD.org] / pkgsrc / x11 / xfce4-session / Makefile (download)

Revision 1.66, Wed May 16 18:06:04 2018 UTC (11 months ago) by youri
Branch: MAIN
Changes since 1.65: +2 -2 lines

Runtime fix for xfce4-session: don't segfault when trying to add a new
startup service in xfce4-session-settings.

# $NetBSD: Makefile,v 1.66 2018/05/16 18:06:04 youri Exp $

PKGREVISION= 4
.include "../../meta-pkgs/xfce4/Makefile.common"

DISTNAME=		xfce4-session-4.13.0
CATEGORIES=		x11
MASTER_SITES+=		http://archive.xfce.org/src/xfce/xfce4-session/4.13/

HOMEPAGE=		http://docs.xfce.org/xfce/xfce4-session/start
COMMENT=		Xfce session manager

PKGCONFIG_OVERRIDE+=	libxfsm/xfce4-session-2.0.pc.in

BUILD_DEFS+=		PKG_SYSCONFBASE

CONFIGURE_ARGS+=	--sysconfdir=${PKG_SYSCONFBASE}
CONFIGURE_ARGS+=	ICEAUTH=${TOOLS_PATH.iceauth}

USE_TOOLS+=		iceauth:run

SUBST_CLASSES+=		xflock4
SUBST_STAGE.xflock4=	pre-build
SUBST_MESSAGE.xflock4=	Updating path in xflock4
SUBST_FILES.xflock4=	scripts/xflock4
SUBST_SED.xflock4=	-e 's,/bin:/usr/bin,${PREFIX}/bin,g'

EGDIR=			${XFCE4_EGBASE}
PKG_SYSCONFSUBDIR=	xdg

MAKE_DIRS+=	${PKG_SYSCONFDIR} ${PKG_SYSCONFDIR}/autostart
MAKE_DIRS+=	${EGDIR} ${EGDIR}/autostart ${EGDIR}/xfconf
MAKE_DIRS+=	${EGDIR}/xfconf/xfce-perchannel-xml

CONF_FILES=	${EGDIR}/autostart/xscreensaver.desktop \
		${PKG_SYSCONFDIR}/autostart/xscreensaver.desktop
CONF_FILES=	${EGDIR}/xfconf/xfce-perchannel-xml/xfce4-session.xml \
		${PKG_SYSCONFDIR}/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml
CONF_FILES+=	${EGDIR}/Xft.xrdb \
		${PKG_SYSCONFDIR}/xfce4/Xft.xrdb
CONF_FILES+=	${EGDIR}/xinitrc \
		${PKG_SYSCONFDIR}/xfce4/xinitrc

.if !empty(Darwin-*-*)
.include "../../sysutils/consolekit/buildlink3.mk"
.endif

.include "options.mk"

.include "../../devel/libglade/buildlink3.mk"
.include "../../devel/libwnck3/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../x11/libxfce4ui/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"