summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorleot <leot@pkgsrc.org>2016-02-16 17:47:19 +0000
committerleot <leot@pkgsrc.org>2016-02-16 17:47:19 +0000
commit07f7ea16f1dac15025a0a8c90edb4f905351e32b (patch)
tree190c80e21c990528cf62668f0379a07be27b0a72
parent096b949fff3957b461178bb5dd7bd9465320d787 (diff)
downloadpkgsrc-07f7ea16f1dac15025a0a8c90edb4f905351e32b.tar.gz
Update x11/slock to 1.3.
pkgsrc changes: - Delete NO_CONFIGURE (it is not needed and sometimes can be harmful) Changes: The changes since version 1.2 are: - bugfix: The cover window now resizes correctly when new screens are added or the resolution is changed while the lock is active. - new: slock now has a third color. The three colors are used for startup, typing and failed login attempt. - new: slock now allows to run any command after the screen has been locked, for example suspending to ram. - slock now has a man page. - a few small fixes and code style updates to make it more consistent with the rest of the suckless projects. ok reed@
-rw-r--r--x11/slock/Makefile11
-rw-r--r--x11/slock/PLIST3
-rw-r--r--x11/slock/distinfo10
3 files changed, 12 insertions, 12 deletions
diff --git a/x11/slock/Makefile b/x11/slock/Makefile
index 70c39d6385c..ccf14b5f614 100644
--- a/x11/slock/Makefile
+++ b/x11/slock/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2015/01/09 14:34:54 joerg Exp $
+# $NetBSD: Makefile,v 1.8 2016/02/16 17:47:19 leot Exp $
-DISTNAME= slock-1.2
+DISTNAME= slock-1.3
CATEGORIES= x11
MASTER_SITES= http://dl.suckless.org/tools/
@@ -11,21 +11,20 @@ LICENSE= mit
MAKE_JOBS_SAFE= no
-NO_CONFIGURE= yes
-
# Adjust config.mk
SUBST_CLASSES+= makefile
-SUBST_STAGE.makefile= pre-build
+SUBST_STAGE.makefile= pre-configure
SUBST_MESSAGE.makefile= Fixing config.mk
SUBST_FILES.makefile= config.mk
SUBST_SED.makefile+= -e 's,/usr/local,${PREFIX},g'
+SUBST_SED.makefile+= -e 's,share/man,${PKGMANDIR},g'
SUBST_SED.makefile+= -e 's,/usr/X11R6,${X11BASE},'
SUBST_SED.makefile+= -e '/^CPPFLAGS/ s,-DHAVE_SHADOW_H,,'
SUBST_SED.makefile+= -e 's,^CFLAGS *= ,CFLAGS += ,'
SUBST_SED.makefile+= -e 's,^LDFLAGS *= ,LDFLAGS += ,'
SUBST_SED.makefile+= -e 's/cc/${CC:Q}/'
-INSTALLATION_DIRS= bin share/doc/slock
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
.include "../../mk/bsd.prefs.mk"
diff --git a/x11/slock/PLIST b/x11/slock/PLIST
index d434770de0c..078f2a6143e 100644
--- a/x11/slock/PLIST
+++ b/x11/slock/PLIST
@@ -1,2 +1,3 @@
-@comment $NetBSD: PLIST,v 1.3 2015/01/06 13:32:25 mef Exp $
+@comment $NetBSD: PLIST,v 1.4 2016/02/16 17:47:19 leot Exp $
bin/slock
+man/man1/slock.1
diff --git a/x11/slock/distinfo b/x11/slock/distinfo
index dad4ff03bc0..d5b51fa92fd 100644
--- a/x11/slock/distinfo
+++ b/x11/slock/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.4 2015/11/04 03:28:54 agc Exp $
+$NetBSD: distinfo,v 1.5 2016/02/16 17:47:19 leot Exp $
-SHA1 (slock-1.2.tar.gz) = 15c5be7c10d7d278882723197255179ffef9c5b1
-RMD160 (slock-1.2.tar.gz) = f08441f59ea6eb58bab7031575548813793d1014
-SHA512 (slock-1.2.tar.gz) = 0e66c5451c72a5df391a61eefa6b1a1493705fc9c0b04d9db934a56c11852c284ecca8706f47ceb1d1c8cfc5241c818c6026afb30fc9cf3938e44ea282338bee
-Size (slock-1.2.tar.gz) = 4853 bytes
+SHA1 (slock-1.3.tar.gz) = 5e370b09b1644cd0f2490ed55209dd8f9e83e25b
+RMD160 (slock-1.3.tar.gz) = 9b352dff97ecebe4ccd971e54e8bdf4348964b12
+SHA512 (slock-1.3.tar.gz) = 5024588f6d25f9d72a9d2b8ef9d8a2a94e5d5e53f30f4a15df83b693a3706b1ad6550422f36af29f54429a9c516d14a349e46aeb9896c6e32009ff0da5c02a8f
+Size (slock-1.3.tar.gz) = 5943 bytes