summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorjlam <jlam>2003-06-30 07:31:19 +0000
committerjlam <jlam>2003-06-30 07:31:19 +0000
commitdb1f6879a56becbe7784ee3b6befe62411cffab0 (patch)
tree08bb3839c8d2100f9c8983302ab510133c85c2f9 /x11
parentc89b783b2eb0fba8a6365ea1a994bf8e45705b82 (diff)
downloadpkgsrc-db1f6879a56becbe7784ee3b6befe62411cffab0.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')
-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"