diff options
author | wiz <wiz> | 2011-01-23 14:28:58 +0000 |
---|---|---|
committer | wiz <wiz> | 2011-01-23 14:28:58 +0000 |
commit | 260d8a7f729294aaa9a746e41ba5f75a6180dfff (patch) | |
tree | b15c98f05e3e8777c324d9b0db1c0cadb5afb7fb | |
parent | c6986323605ce45b579aa0a6959cfa25da2f4a00 (diff) | |
download | pkgsrc-260d8a7f729294aaa9a746e41ba5f75a6180dfff.tar.gz |
Prefix mc-specific options with "mc-".
Add PKG_OPTIONS_LEGACY_OPTS lines for old variables.
Put slang and ncurses options into a required-group, since one of the two
is necessary.
-rw-r--r-- | sysutils/mc/options.mk | 25 |
1 files changed, 17 insertions, 8 deletions
diff --git a/sysutils/mc/options.mk b/sysutils/mc/options.mk index 266a68ac37e..3b308fd1bf6 100644 --- a/sysutils/mc/options.mk +++ b/sysutils/mc/options.mk @@ -1,15 +1,24 @@ -# $NetBSD: options.mk,v 1.10 2010/02/24 17:56:20 drochner Exp $ +# $NetBSD: options.mk,v 1.11 2011/01/23 14:28:58 wiz Exp $ # PKG_OPTIONS_VAR= PKG_OPTIONS.mc -PKG_SUPPORTED_OPTIONS= charset edit glib12 ncurses samba slang subshell vfs x11 -PKG_SUGGESTED_OPTIONS= charset edit slang subshell vfs +PKG_OPTIONS_REQUIRED_GROUPS= screen +PKG_OPTIONS_GROUP.screen= ncurses slang +PKG_SUPPORTED_OPTIONS= glib12 mc-charset mc-edit mc-samba mc-subshell mc-vfs x11 +PKG_SUGGESTED_OPTIONS= mc-charset mc-edit mc-subshell mc-vfs slang + +# remove after pkgsrc-2010Q1 +PKG_OPTIONS_LEGACY_OPTS= charset:mc-charset +PKG_OPTIONS_LEGACY_OPTS+= edit:mc-edit +PKG_OPTIONS_LEGACY_OPTS+= samba:mc-samba +PKG_OPTIONS_LEGACY_OPTS+= subshell:mc-subshell +PKG_OPTIONS_LEGACY_OPTS+= vfs:mc-vfs .include "../../mk/bsd.options.mk" ### The charset option enables input/display support for various 8-bit ### codepages, chooseable at runtime. -.if !empty(PKG_OPTIONS:Mcharset) +.if !empty(PKG_OPTIONS:Mmc-charset) CONFIGURE_ARGS+= --enable-charset PLIST_SRC+= ${PKGDIR}/PLIST.charset .include "../../converters/libiconv/buildlink3.mk" @@ -18,7 +27,7 @@ CONFIGURE_ARGS+= --disable-charset .endif ### The internal editor can be disabled to save disk space. -.if !empty(PKG_OPTIONS:Medit) +.if !empty(PKG_OPTIONS:Mmc-edit) CONFIGURE_ARGS+= --with-edit PLIST_SRC+= ${PKGDIR}/PLIST.mcedit .else @@ -36,14 +45,14 @@ CONFIGURE_ARGS+= --with-glib12 ### Enable the Samba virtual file system. You can connect to Windows ### file servers or Samba servers in your network. -.if !empty(PKG_OPTIONS:Msamba) +.if !empty(PKG_OPTIONS:Mmc-samba) CONFIGURE_ARGS+= --with-samba .else CONFIGURE_ARGS+= --without-samba .endif ### The subshell is a shell command line inside the Midnight Commander. -.if !empty(PKG_OPTIONS:Msubshell) +.if !empty(PKG_OPTIONS:Mmc-subshell) CONFIGURE_ARGS+= --with-subshell .else CONFIGURE_ARGS+= --without-subshell @@ -52,7 +61,7 @@ CONFIGURE_ARGS+= --without-subshell ### Enable the virtual file system of the Midnight Commander. With the ### VFS you can access files via FTP, SSH, in various archive formats ### like if they were on your local disk. -.if !empty(PKG_OPTIONS:Mvfs) +.if !empty(PKG_OPTIONS:Mmc-vfs) CONFIGURE_ARGS+= --with-vfs PLIST_SRC+= ${PKGDIR}/PLIST.vfs USE_TOOLS+= perl:run |