pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/wm/blackbox blackbox: add options.mk missed in migrati...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c1e766e6516a
branches:  trunk
changeset: 454412:c1e766e6516a
user:      gutteridge <gutteridge%pkgsrc.org@localhost>
date:      Thu Jun 10 19:05:47 2021 +0000

description:
blackbox: add options.mk missed in migration from blackbox70

diffstat:

 wm/blackbox/options.mk |  27 +++++++++++++++++++++++++++
 1 files changed, 27 insertions(+), 0 deletions(-)

diffs (31 lines):

diff -r ff53672e5658 -r c1e766e6516a wm/blackbox/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/blackbox/options.mk    Thu Jun 10 19:05:47 2021 +0000
@@ -0,0 +1,27 @@
+# $NetBSD: options.mk,v 1.1 2021/06/10 19:05:47 gutteridge Exp $
+
+PKG_OPTIONS_VAR=       PKG_OPTIONS.blackbox70
+PKG_SUPPORTED_OPTIONS= nls xft2
+PKG_SUGGESTED_OPTIONS= nls xft2
+
+.include "../../mk/bsd.options.mk"
+
+PLIST_VARS+=   nls
+
+# The nls option also controls whether the fr/ja/nl/sl man pages are
+# installed.
+.if !empty(PKG_OPTIONS:Mnls)
+BROKEN_GETTEXT_DETECTION=      yes
+CONFIGURE_ARGS+=       --enable-nls
+.include "../../devel/gettext-lib/buildlink3.mk"
+PLIST.nls=     yes
+.else
+CONFIGURE_ARGS+=       --disable-nls
+.endif
+
+.if !empty(PKG_OPTIONS:Mxft2)
+CONFIGURE_ARGS+=       --enable-xft
+.include "../../x11/libXft/buildlink3.mk"
+.else
+CONFIGURE_ARGS+=       --disable-xft
+.endif



Home | Main Index | Thread Index | Old Index