summaryrefslogtreecommitdiff
path: root/x11/xlockmore-lite/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/xlockmore-lite/Makefile')
-rw-r--r--x11/xlockmore-lite/Makefile22
1 files changed, 22 insertions, 0 deletions
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"