pkgsrc/x11/xsm/Makefile

31 lines
852 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.14 2022/04/04 09:47:57 wiz Exp $
DISTNAME= xsm-1.0.5
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_XORG:=app/}
EXTRACT_SUFX= .tar.xz
MAINTAINER= joerg@NetBSD.org
HOMEPAGE= https://xorg.freedesktop.org/
COMMENT= X Session Manager
GNU_CONFIGURE= yes
USE_TOOLS+= pkg-config
CONFIGURE_ENV+= APP_MAN_SUFFIX=1
# Most modern Linuxen don't come with rcmds by default,
# so just pretend to have them to keep configure happy.
.if !exists(/usr/bin/rsh)
CONFIGURE_ENV+= ac_cv_path_RSH=/usr/bin/rsh
.endif
MAKE_FLAGS+= appdefaultdir=${PREFIX}/lib/X11/app-defaults
INSTALL_MAKE_FLAGS+= SYSTEM_INIT_DIR=${PREFIX}/share/examples/xsm
MAKE_DIRS+= ${PKG_SYSCONFDIR}/X11/xsm
CONF_FILES+= share/examples/xsm/system.xsm ${PKG_SYSCONFDIR}/X11/xsm/system.xsm
.include "../../x11/libXaw/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"