summaryrefslogtreecommitdiff
path: root/x11/xlockmore-lite
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2003-06-30 07:31:19 +0000
committerjlam <jlam@pkgsrc.org>2003-06-30 07:31:19 +0000
commitb2e1d54a438cc6f716a3140b9d0e1e6dd7f11bd7 (patch)
tree08bb3839c8d2100f9c8983302ab510133c85c2f9 /x11/xlockmore-lite
parent607fd0e0dd5a5e0bb21b198ba36c75719f8fee47 (diff)
downloadpkgsrc-b2e1d54a438cc6f716a3140b9d0e1e6dd7f11bd7.tar.gz
Initial import of x11/xlockmore-lite. This is the "lite" version of
xlockmore, which used to be built from the xlockmore package if XLOCK_LIGHT was defined in /etc/mk.conf.
Diffstat (limited to 'x11/xlockmore-lite')
-rw-r--r--x11/xlockmore-lite/DESCR15
-rw-r--r--x11/xlockmore-lite/Makefile22
2 files changed, 37 insertions, 0 deletions
diff --git a/x11/xlockmore-lite/DESCR b/x11/xlockmore-lite/DESCR
new file mode 100644
index 00000000000..05ea4b24802
--- /dev/null
+++ b/x11/xlockmore-lite/DESCR
@@ -0,0 +1,15 @@
+xlock locks the X server until the user enters their password at the
+keyboard. While xlock is running, all new server connections are
+refused. The screen saver is disabled. The mouse cursor is turned
+off. The screen is blanked and a changing pattern is put on the
+screen. If a key or a mouse button is pressed then the user is
+prompted for the password of the user who started xlock.
+
+If the correct password is typed, then the screen is unlocked and the
+X server is restored. When typing the password, Control-U and
+Control-H are active as kill and erase respectively. To return to the
+locked screen, click in the small icon version of the changing
+pattern.
+
+This is the "lite" version of xlockmore, without support for GL,
+TrueType and XPM pixmaps.
diff --git a/x11/xlockmore-lite/Makefile b/x11/xlockmore-lite/Makefile
new file mode 100644
index 00000000000..a907ce70708
--- /dev/null
+++ b/x11/xlockmore-lite/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/06/30 07:31:19 jlam Exp $
+
+.include "../xlockmore/Makefile.common"
+
+PKGNAME= ${DISTNAME:S/-/-lite-/}
+PKGREVISION= # empty
+COMMENT= "lite" version of xlockmore
+
+CONFIGURE_ARGS+= --without-xpm
+CONFIGURE_ARGS+= --without-gltt
+CONFIGURE_ARGS+= --without-ttf
+CONFIGURE_ARGS+= --without-opengl
+CONFIGURE_ARGS+= --without-mesa
+CONFIGURE_ARGS+= --without-esound
+CONFIGURE_ENV+= CXX="${CC}" # no dependency on libstdc++
+
+# xlock is installed setuid-root, so mark it as such in the binary package.
+#
+USE_PKGINSTALL= YES
+SPECIAL_PERMS= ${PREFIX}/bin/xlock ${SETUID_ROOT_PERMS}
+
+.include "../../mk/bsd.pkg.mk"