aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authorsat <sat@FreeBSD.org>2007-02-18 08:45:34 +0800
committersat <sat@FreeBSD.org>2007-02-18 08:45:34 +0800
commitb23381569a8f6697680387fb7eac751151c97af1 (patch)
tree5c8d4c628239a0c464c86f298c7094240fbd832d /x11
parentfd3ba97cdf44a07ce2c4e7551aac5ad488bc5575 (diff)
downloadfreebsd-ports-gnome-b23381569a8f6697680387fb7eac751151c97af1.tar.gz
freebsd-ports-gnome-b23381569a8f6697680387fb7eac751151c97af1.tar.zst
freebsd-ports-gnome-b23381569a8f6697680387fb7eac751151c97af1.zip
Add port x11/slock:
Simple X screen locker WWW: http://www.suckless.org/wiki/tools/xlib
Diffstat (limited to 'x11')
-rw-r--r--x11/Makefile1
-rw-r--r--x11/slock/Makefile25
-rw-r--r--x11/slock/distinfo3
-rw-r--r--x11/slock/pkg-descr3
4 files changed, 32 insertions, 0 deletions
diff --git a/x11/Makefile b/x11/Makefile
index 869e85279774..07e74234ab60 100644
--- a/x11/Makefile
+++ b/x11/Makefile
@@ -213,6 +213,7 @@
SUBDIR += silo
SUBDIR += sisctrl
SUBDIR += slim
+ SUBDIR += slock
SUBDIR += stalonetray
SUBDIR += startup-notification
SUBDIR += sxpc
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