summaryrefslogtreecommitdiff
path: root/audio/gqmpeg/options.mk
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2005-05-31 12:20:11 +0000
committerwiz <wiz@pkgsrc.org>2005-05-31 12:20:11 +0000
commita9d9817e6c9668c4590ccd723775e36c2f8075af (patch)
treeafacfcab879f3334eb189db38f687b007da49b71 /audio/gqmpeg/options.mk
parent8cda01260185cf009f3b29ebe9b4abc1371e3489 (diff)
downloadpkgsrc-a9d9817e6c9668c4590ccd723775e36c2f8075af.tar.gz
Convert to options framework.
While here, clean up gnome1 directory creation.
Diffstat (limited to 'audio/gqmpeg/options.mk')
-rw-r--r--audio/gqmpeg/options.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/audio/gqmpeg/options.mk b/audio/gqmpeg/options.mk
new file mode 100644
index 00000000000..d4485e0b46f
--- /dev/null
+++ b/audio/gqmpeg/options.mk
@@ -0,0 +1,16 @@
+# $NetBSD: options.mk,v 1.1 2005/05/31 12:20:11 wiz Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.gqmpeg
+PKG_SUPPORTED_OPTIONS= gqmpeg-japanese gqmpeg-russian
+PKG_SUGGESTED_OPTIONS= gqmpeg-japanese gqmpeg-russian
+PKG_OPTIONS_LEGACY_VARS+= GQMPEG_NO_JAPANESE:-gqmpeg-japanese GQMPEG_NO_RUSSIAN:-gqmpeg-russian
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mgqmpeg-japanese)
+CONFIGURE_ARGS+= --enable-japanese
+.endif
+
+.if !empty(PKG_OPTIONS:Mgqmpeg-russian)
+CONFIGURE_ARGS+= --enable-russian
+.endif