summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authormorr <morr>2012-08-27 21:45:54 +0000
committermorr <morr>2012-08-27 21:45:54 +0000
commita0795f530c852f160b9b52dd51265e0a61916411 (patch)
tree8ce74e42d5238a01815df1d252f2863b7e34176f /editors
parent3ac26dca02ec61c0bf8b7d3cd58e0c83326ea3ab (diff)
downloadpkgsrc-a0795f530c852f160b9b52dd51265e0a61916411.tar.gz
Add options.mk file
Diffstat (limited to 'editors')
-rw-r--r--editors/vim-share/options.mk16
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
+