aboutsummaryrefslogtreecommitdiff
path: root/x11/slock
diff options
context:
space:
mode:
authorAndrew Pantyukhin <sat@FreeBSD.org>2007-02-18 00:45:34 +0000
committerAndrew Pantyukhin <sat@FreeBSD.org>2007-02-18 00:45:34 +0000
commitc9bd4ce7f058ff970ab3c9447721c6ff2a112952 (patch)
tree3877bc255d944b22785f94eacbe7878f7ee23a0e /x11/slock
parent3182442b562980dcee6d3adc75ea0f276e0e2f9a (diff)
downloadports-c9bd4ce7f058ff970ab3c9447721c6ff2a112952.tar.gz
ports-c9bd4ce7f058ff970ab3c9447721c6ff2a112952.zip
Add port x11/slock:
Simple X screen locker WWW: http://www.suckless.org/wiki/tools/xlib
Notes
Notes: svn path=/head/; revision=185411
Diffstat (limited to 'x11/slock')
-rw-r--r--x11/slock/Makefile25
-rw-r--r--x11/slock/distinfo3
-rw-r--r--x11/slock/pkg-descr3
3 files changed, 31 insertions, 0 deletions
diff --git a/x11/slock/Makefile b/x11/slock/Makefile
new file mode 100644
index 000000000000..6f43879c687d
--- /dev/null
+++ b/x11/slock/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: slock
+# Date created: 18 February 2007
+# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= slock
+PORTVERSION= 0.4
+CATEGORIES= x11
+MASTER_SITES= http://www.suckless.org/download/ CSME
+
+MAINTAINER= infofarmer@FreeBSD.org
+COMMENT= Simple X screen locker
+
+MAKE_ARGS= PREFIX="${PREFIX}" X11LIB="${X11BASE}/lib" \
+ X11INC="${X11BASE}/include" CC="${CC}" \
+ MANPREFIX="${MANPREFIX}/man"
+PLIST_FILES= bin/slock
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|-I/usr/include||;s|-L/usr/lib||;s|= -Os|+=|'\
+ -e 's|-DHAVE_SHADOW_H||' ${WRKSRC}/config.mk
+
+.include <bsd.port.mk>
diff --git a/x11/slock/distinfo b/x11/slock/distinfo
new file mode 100644
index 000000000000..42247e732e2e
--- /dev/null
+++ b/x11/slock/distinfo
@@ -0,0 +1,3 @@
+MD5 (slock-0.4.tar.gz) = 979c1e089e9989ac8a6054987e085393
+SHA256 (slock-0.4.tar.gz) = 6394f3ed895d157c7c47849156cf2a3a6ce0745cfbc9001d903f37101e11c622
+SIZE (slock-0.4.tar.gz) = 3415
diff --git a/x11/slock/pkg-descr b/x11/slock/pkg-descr
new file mode 100644
index 000000000000..21a9db7a9644
--- /dev/null
+++ b/x11/slock/pkg-descr
@@ -0,0 +1,3 @@
+Simple screen locker utility for X
+
+WWW: http://www.suckless.org/wiki/tools/xlib