diff options
author | morr <morr@pkgsrc.org> | 2012-08-27 21:45:54 +0000 |
---|---|---|
committer | morr <morr@pkgsrc.org> | 2012-08-27 21:45:54 +0000 |
commit | a776e23a10d0f5426e3d8886a228a346fa066220 (patch) | |
tree | 8ce74e42d5238a01815df1d252f2863b7e34176f /editors/vim-share/options.mk | |
parent | dd079f40810066224a9b3006cfb1bf2471b36edb (diff) | |
download | pkgsrc-a776e23a10d0f5426e3d8886a228a346fa066220.tar.gz |
Add options.mk file
Diffstat (limited to 'editors/vim-share/options.mk')
-rw-r--r-- | editors/vim-share/options.mk | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/editors/vim-share/options.mk b/editors/vim-share/options.mk new file mode 100644 index 00000000000..47bf0d91e04 --- /dev/null +++ b/editors/vim-share/options.mk @@ -0,0 +1,16 @@ +PKG_SUPPORTED_OPTIONS+= ruby python +PKG_OPTIONS_VAR= PKG_OPTIONS.vim + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Mruby) +.include "../../lang/ruby/buildlink3.mk" +CONFIGURE_ARGS+= --enable-rubyinterp +.endif + +.if !empty(PKG_OPTIONS:Mpython) +.include "../../lang/python/pyversion.mk" +CONFIGURE_ARGS+= --enable-pythoninterp +CONFIGURE_ENV+= vi_cv_path_python=${PYTHONBIN} +.endif + |