20045207f4
i3lock improves slock by making it fork() and therefore combinable with commands to suspend your computer. Additionally, instead of turning off your screen via DPMS and/or displaying a black screen, i3lock displays a white screen so you can see if your computer failed to resume from suspend or if your screen is just locked. Also, when entering a wrong password, i3lock does not call XBell(). This is important because i3lock/slock think you've entered a password when resuming from suspend, at least sometimes. Originally packaged in pkgsrc-wip by: - myself, - Mateusz Poszwa, - Niclas Rosenvik, - Pierre Allegraud.
29 lines
977 B
Text
29 lines
977 B
Text
$NetBSD: patch-Makefile,v 1.1 2016/06/11 23:00:14 kamil Exp $
|
|
|
|
Install example configuration into EGDIR.
|
|
Install man-page.
|
|
|
|
--- Makefile.orig 2015-05-20 07:17:06.000000000 +0000
|
|
+++ Makefile
|
|
@@ -2,6 +2,7 @@ INSTALL=install
|
|
PREFIX=/usr
|
|
SYSCONFDIR=/etc
|
|
PKG_CONFIG=pkg-config
|
|
+MANDIR=share/man
|
|
|
|
# Check if pkg-config is installed, we need it for building CFLAGS/LIBS
|
|
ifeq ($(shell which $(PKG_CONFIG) 2>/dev/null 1>/dev/null || echo 1),1)
|
|
@@ -37,9 +38,11 @@ clean:
|
|
|
|
install: all
|
|
$(INSTALL) -d $(DESTDIR)$(PREFIX)/bin
|
|
- $(INSTALL) -d $(DESTDIR)$(SYSCONFDIR)/pam.d
|
|
+ $(INSTALL) -d $(DESTDIR)$(EGDIR)/pam.d
|
|
+ $(INSTALL) -d $(DESTDIR)$(PREFIX)/$(MANDIR)/man1
|
|
$(INSTALL) -m 755 i3lock $(DESTDIR)$(PREFIX)/bin/i3lock
|
|
- $(INSTALL) -m 644 i3lock.pam $(DESTDIR)$(SYSCONFDIR)/pam.d/i3lock
|
|
+ $(INSTALL) -m 644 i3lock.pam $(DESTDIR)$(EGDIR)/pam.d/i3lock
|
|
+ $(INSTALL) -m 644 i3lock.1 $(DESTDIR)$(PREFIX)/$(MANDIR)/man1/i3lock.1
|
|
|
|
uninstall:
|
|
rm -f $(DESTDIR)$(PREFIX)/bin/i3lock
|