aboutsummaryrefslogtreecommitdiffstats
path: root/devel/kdebindings4/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/kdebindings4/Makefile')
-rw-r--r--devel/kdebindings4/Makefile24
1 files changed, 11 insertions, 13 deletions
diff --git a/devel/kdebindings4/Makefile b/devel/kdebindings4/Makefile
index 648f2a554b2c..17e50bbeaede 100644
--- a/devel/kdebindings4/Makefile
+++ b/devel/kdebindings4/Makefile
@@ -1,9 +1,4 @@
-# New ports collection makefile for: kdebindings4
-# Date created: 2008-08-19
-# Whom: Max Brazhnikov <makc@issp.ac.ru>
-#
# $FreeBSD$
-#
PORTNAME= kdebindings
PORTVERSION= ${KDE4_VERSION}
@@ -17,23 +12,26 @@ COMMENT= KDE bindings meta port
USE_KDE4= kdeprefix
NO_BUILD= yes
-OPTIONS= PERL "Perl bindings" on \
- PYTHON "Python bindings" on \
- RUBY "Ruby bindings" on
+OPTIONS_DEFINE= PERL PYTHON RUBY
+OPTIONS_DEFAULT= ${OPTIONS_DEFINE}
+
+PERL_DESC= Perl bindings
+PYTHON_DESC= Python bindings
+RUBY_DESC= Ruby bindings
.include <bsd.port.options.mk>
-.if !defined(WITHOUT_PERL)
+.if ${PORT_OPTIONS:MPERL}
USE_KDE4+= perlkde_run
.endif
-.if !defined(WITHOUT_PYTHON)
-RUN_DEPENDS+= ${KDE4_PREFIX}/lib/kde4/krosspython.so:${PORTSDIR}/devel/kdebindings4-python-krosspython
+.if ${PORT_OPTIONS:MPYTHON}
+RUN_DEPENDS+= ${KDE4_PREFIX}/lib/kde4/krosspython.so:${PORTSDIR}/devel/py-krosspython
USE_KDE4+= pykde4_run pykdeuic4_run
.endif
-.if !defined(WITHOUT_RUBY)
-RUN_DEPENDS+= ${KDE4_PREFIX}/lib/kde4/krossruby.so:${PORTSDIR}/devel/kdebindings4-ruby-krossruby
+.if ${PORT_OPTIONS:MRUBY}
+RUN_DEPENDS+= ${KDE4_PREFIX}/lib/kde4/krossruby.so:${PORTSDIR}/devel/ruby-krossruby
USE_KDE4+= korundum_run
.endif