pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/chat/weechat add the option.mk file i forgot in last c...
details: https://anonhg.NetBSD.org/pkgsrc/rev/f9ed0e23ffa7
branches: trunk
changeset: 519418:f9ed0e23ffa7
user: tonio <tonio%pkgsrc.org@localhost>
date: Mon Oct 02 21:02:03 2006 +0000
description:
add the option.mk file i forgot in last commits
Thanks rillig@ for catching this !
diffstat:
chat/weechat/options.mk | 30 ++++++++++++++++++++++++++++++
1 files changed, 30 insertions(+), 0 deletions(-)
diffs (34 lines):
diff -r 3ff8ef8e6549 -r f9ed0e23ffa7 chat/weechat/options.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/weechat/options.mk Mon Oct 02 21:02:03 2006 +0000
@@ -0,0 +1,30 @@
+# $NetBSD: options.mk,v 1.1 2006/10/02 21:02:03 tonio Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.weechat
+PKG_SUPPORTED_OPTIONS= python lua
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mpython)
+.include "../../lang/python/extension.mk"
+CONFIGURE_ARGS+= --enable-python
+PLIST_SUBST+= WITHPYTHON=""
+.else
+CONFIGURE_ARGS+= --disable-python
+PLIST_SUBST+= WITHPYTHON="@comment "
+.endif
+
+.if !empty(PKG_OPTIONS:Mlua)
+.include "../../lang/lua/buildlink3.mk"
+CONFIGURE_ARGS+= --enable-lua
+PLIST_SUBST+= WITHLUA=""
+.else
+CONFIGURE_ARGS+= --disable-lua
+PLIST_SUBST+= WITHLUA="@comment "
+.endif
+
+.if !empty(PKG_OPTIONS:Mpython) || !empty(PKG_OPTIONS:Mlua)
+PLIST_SUBST+= WITHPLUGIN=""
+.else
+PLIST_SUBST+= WITHPLUGIN="@comment "
+.endif
Home |
Main Index |
Thread Index |
Old Index