e9ec1693c7
X session finishes, slim goes to restart X, but if the machine is being halted, slim gets a SIGTERM, and the signal handler tries to kill the X server without checking if is has been restarted yet. Boom. While here, fix xauth path.
43 lines
984 B
Makefile
43 lines
984 B
Makefile
# $OpenBSD: Makefile,v 1.7 2009/11/05 19:05:12 landry Exp $
|
|
|
|
COMMENT= simple login manager
|
|
|
|
DISTNAME= slim-1.3.1
|
|
PKGNAME= ${DISTNAME}p1
|
|
|
|
CATEGORIES= x11
|
|
HOMEPAGE= http://slim.berlios.de/
|
|
|
|
MAINTAINER= Landry Breuil <gaston@gcu.info>
|
|
MASTER_SITES= ${MASTER_SITE_BERLIOS:=slim/}
|
|
|
|
# GPL
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
USE_X11= Yes
|
|
NO_REGRESS= Yes
|
|
LIB_DEPENDS= jpeg::graphics/jpeg \
|
|
png::graphics/png
|
|
|
|
WANTLIB= X11 Xft Xmu Xrender fontconfig c m stdc++ z freetype
|
|
|
|
MAKE_FILE= Makefile.openbsd
|
|
MAKE_FLAGS+= CFGDIR=${SYSCONFDIR}
|
|
FAKE_FLAGS+= PREFIX=${PREFIX} \
|
|
CFGDIR=${PREFIX}/share/examples/slim
|
|
|
|
pre-configure:
|
|
${SUBST_CMD} ${WRKSRC}/slim.1 ${WRKSRC}/slim.conf
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/slim
|
|
${SUBST_CMD} -c ${FILESDIR}/README.OpenBSD \
|
|
${PREFIX}/share/doc/slim/README.OpenBSD
|
|
chown ${SHAREOWN}:${SHAREGRP} \
|
|
${PREFIX}/share/doc/slim/README.OpenBSD
|
|
|
|
.include <bsd.port.mk>
|