summaryrefslogtreecommitdiff
path: root/devel/libstatgrab
diff options
context:
space:
mode:
authorobache <obache>2009-05-16 04:18:13 +0000
committerobache <obache>2009-05-16 04:18:13 +0000
commit846dca5b3755a58f9b3bf14cc76feba7d60c2d6b (patch)
tree2d4938e9c3ca9a7e2aef85a730e0900198e210c8 /devel/libstatgrab
parent06156980d07c419506a89bfde38d44330273c427 (diff)
downloadpkgsrc-846dca5b3755a58f9b3bf14cc76feba7d60c2d6b.tar.gz
Convert options.mk to standard format/usage.
Diffstat (limited to 'devel/libstatgrab')
-rw-r--r--devel/libstatgrab/options.mk15
1 files changed, 5 insertions, 10 deletions
diff --git a/devel/libstatgrab/options.mk b/devel/libstatgrab/options.mk
index 0f38a4f5b09..473c1ded5a8 100644
--- a/devel/libstatgrab/options.mk
+++ b/devel/libstatgrab/options.mk
@@ -1,20 +1,15 @@
-# $NetBSD: options.mk,v 1.2 2008/04/09 16:21:48 jlam Exp $
+# $NetBSD: options.mk,v 1.3 2009/05/16 04:18:13 obache Exp $
-PKG_OPTIONS_VAR= libstatgrab
+PKG_OPTIONS_VAR= PKG_OPTIONS.libstatgrab
PKG_SUPPORTED_OPTIONS= saidar statgrab
-PKG_DEFAULT_OPTIONS= saidar statgrab
+PKG_SUGGESTED_OPTIONS= saidar statgrab
+PKG_OPTIONS_LEGACY_VARS+= WITHOUT_SAIDAR:-saidar
+PKG_OPTIONS_LEGACY_VARS+= WITHOUT_STATGRAB:-statgrab
.include "../../mk/bsd.options.mk"
PLIST_VARS+= saidar statgrab
-.if defined(WITHOUT_SAIDAR)
-PKG_OPTIONS_DEPRECATED_WARNINGS+="Deprecated variable WITHOUT_SAIDAR used; use \`\`-saidar'' instead."
-.endif
-.if defined(WITHOUT_STATGRAB)
-PKG_OPTIONS_DEPRECATED_WARNINGS+="Deprecated variable WITHOUT_STATGRAB used; use \`\`-statgrab'' instead."
-.endif
-
.if !empty(PKG_OPTIONS:Mstatgrab)
PLIST.statgrab= yes
.else