aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1996-08-16 15:54:28 +0800
committerasami <asami@FreeBSD.org>1996-08-16 15:54:28 +0800
commit017fcd8e329b1425ff39b29cb20328697c5ade0d (patch)
tree1996a8e813aaaf85a677aebfad4a7556ffc62f21 /x11
parent864edf9e6d400ed28af9a5d99932fd0f82d91a4f (diff)
downloadfreebsd-ports-gnome-017fcd8e329b1425ff39b29cb20328697c5ade0d.tar.gz
freebsd-ports-gnome-017fcd8e329b1425ff39b29cb20328697c5ade0d.tar.zst
freebsd-ports-gnome-017fcd8e329b1425ff39b29cb20328697c5ade0d.zip
Activate xlock after a user-defined time of inactivity.
Diffstat (limited to 'x11')
-rw-r--r--x11/xautolock/Makefile20
-rw-r--r--x11/xautolock/distinfo1
-rw-r--r--x11/xautolock/files/patch-aa47
-rw-r--r--x11/xautolock/pkg-comment1
-rw-r--r--x11/xautolock/pkg-descr8
-rw-r--r--x11/xautolock/pkg-plist2
6 files changed, 79 insertions, 0 deletions
diff --git a/x11/xautolock/Makefile b/x11/xautolock/Makefile
new file mode 100644
index 000000000000..3dbd43b659aa
--- /dev/null
+++ b/x11/xautolock/Makefile
@@ -0,0 +1,20 @@
+# Port makefile for: oneko
+# Version required: 1pl10
+# Date created: 20 Jul 1996
+# Whom: Eric Blood <eblood@cs.unr.edu>
+#
+# $Id$
+#
+
+DISTNAME= xautolock-1pl10
+PKGNAME= xautolock-1.10
+CATEGORIES+= x11
+MASTER_SITES= ftp://ftp.x.org/contrib/applications/
+DISTFILES= xautolock.pl10.tz
+
+MAINTAINER= eblood@cs.unr.edu
+
+USE_IMAKE= yes
+WRKSRC= ${WRKDIR}/xautolock.pl10
+
+.include <bsd.port.mk>
diff --git a/x11/xautolock/distinfo b/x11/xautolock/distinfo
new file mode 100644
index 000000000000..52822baa0fd4
--- /dev/null
+++ b/x11/xautolock/distinfo
@@ -0,0 +1 @@
+MD5 (xautolock.pl10.tz) = eac946325729f6b773e21618704ab5db
diff --git a/x11/xautolock/files/patch-aa b/x11/xautolock/files/patch-aa
new file mode 100644
index 000000000000..c10821e552d3
--- /dev/null
+++ b/x11/xautolock/files/patch-aa
@@ -0,0 +1,47 @@
+*** xautolock.c.orig Sat Jul 20 17:32:41 1996
+--- xautolock.c Sat Jul 20 17:56:41 1996
+***************
+*** 196,201 ****
+--- 196,203 ----
+ * with vroot.h, because it needs to know the real root window.
+ */
+
++ #include <sys/param.h>
++
+ #if defined(hpux) || defined (__hpux)
+ #ifndef _HPUX_SOURCE
+ #define _HPUX_SOURCE
+***************
+*** 235,241 ****
+--- 237,247 ----
+ #endif /* !NOSTDHDRS */
+
+ #if !defined (apollo) && !defined (VMS)
++
++ #if !defined (BSD)
+ #include <malloc.h>
++ #endif /* !BSD */
++
+ #include <unistd.h>
+ #endif /* !apollo && !VMS */
+
+***************
+*** 1587,1593 ****
+ #else /* VMS */
+ if (locker_pid)
+ {
+! #if !defined (UTEKV) && !defined (SYSV) && !defined(SVR4)
+ union wait status; /* childs process status */
+ #else /* !UTEKV && !SYSV && !SVR4 */
+ int status; /* childs process status */
+--- 1593,1602 ----
+ #else /* VMS */
+ if (locker_pid)
+ {
+!
+! #if defined (BSD)
+! int status;
+! #elif !defined (UTEKV) && !defined (SYSV) && !defined(SVR4)
+ union wait status; /* childs process status */
+ #else /* !UTEKV && !SYSV && !SVR4 */
+ int status; /* childs process status */
diff --git a/x11/xautolock/pkg-comment b/x11/xautolock/pkg-comment
new file mode 100644
index 000000000000..ddf7bf3bdbb8
--- /dev/null
+++ b/x11/xautolock/pkg-comment
@@ -0,0 +1 @@
+Used to activate xlock after a user defined time of inactivity.
diff --git a/x11/xautolock/pkg-descr b/x11/xautolock/pkg-descr
new file mode 100644
index 000000000000..214ec586b089
--- /dev/null
+++ b/x11/xautolock/pkg-descr
@@ -0,0 +1,8 @@
+Xautolock monitors console activity under the X window system, and
+fires up a program of your choice if nothing happens during a
+user configurable period of time. You can use this to automatically
+start up a screen locker in case you tend to forget to do so manually
+before having a coffee break.
+
+Eric Blood
+eblood@cs.unr.edu
diff --git a/x11/xautolock/pkg-plist b/x11/xautolock/pkg-plist
new file mode 100644
index 000000000000..e7ac2a7a0b41
--- /dev/null
+++ b/x11/xautolock/pkg-plist
@@ -0,0 +1,2 @@
+bin/xautolock
+man/man1/xautolock.1.gz