import slock-0.4

A small screen locking utility for X.

from willmaier at ml1 dot net
This commit is contained in:
steven 2007-01-19 05:24:08 +00:00
parent a0c5474257
commit 9c02b38326
5 changed files with 65 additions and 0 deletions

28
x11/slock/Makefile Normal file
View File

@ -0,0 +1,28 @@
# $OpenBSD: Makefile,v 1.1.1.1 2007/01/19 05:24:08 steven Exp $
COMMENT= "simple X screen locker"
DISTNAME= slock-0.4
CATEGORIES= x11
HOMEPAGE= http://tools.suckless.org/
MAINTAINER= Will Maier <willmaier@ml1.net>
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= X11 c
MASTER_SITES= ${HOMEPAGE}download/
FAKE_FLAGS= DESTDIR=""
USE_X11= Yes
NO_REGRESS= Yes
.include <bsd.port.mk>

4
x11/slock/distinfo Normal file
View File

@ -0,0 +1,4 @@
MD5 (slock-0.4.tar.gz) = 979c1e089e9989ac8a6054987e085393
RMD160 (slock-0.4.tar.gz) = 63431c9d4b46de059ea458cad69a95fd5474ca86
SHA1 (slock-0.4.tar.gz) = cacf3a05c786e915b3d85e95cc56ae0c638d2e62
SIZE (slock-0.4.tar.gz) = 3415

View File

@ -0,0 +1,29 @@
$OpenBSD: patch-config_mk,v 1.1.1.1 2007/01/19 05:24:08 steven Exp $
--- config.mk.orig Sat Jan 13 08:12:11 2007
+++ config.mk Sat Jan 13 08:16:20 2007
@@ -4,18 +4,18 @@ VERSION = 0.4
# Customize below to fit your system
# paths
-PREFIX = /usr/local
-MANPREFIX = ${PREFIX}/share/man
+#PREFIX = /usr/local
+MANPREFIX = ${PREFIX}/man
-X11INC = /usr/X11R6/include
-X11LIB = /usr/X11R6/lib
+X11INC = ${X11BASE}/include
+X11LIB = ${X11BASE}/lib
# includes and libs
-INCS = -I. -I/usr/include -I${X11INC}
-LIBS = -L/usr/lib -lc -lcrypt -L${X11LIB} -lX11
+INCS = -I${X11INC}
+LIBS = -L${X11LIB} -lX11
# flags
-CFLAGS = -Os ${INCS} -DVERSION=\"${VERSION}\" -DHAVE_SHADOW_H
+CFLAGS += ${INCS} -DVERSION=\"${VERSION}\"
LDFLAGS = ${LIBS}
#CFLAGS = -g -Wall -O2 ${INCS} -DVERSION=\"${VERSION}\" -DHAVE_SHADOW_H
#LDFLAGS = -g ${LIBS}

1
x11/slock/pkg/DESCR Normal file
View File

@ -0,0 +1 @@
A small screen locking utility for X.

3
x11/slock/pkg/PLIST Normal file
View File

@ -0,0 +1,3 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2007/01/19 05:24:08 steven Exp $
@mode u+s
bin/slock