aboutsummaryrefslogtreecommitdiff
path: root/devel/ruby-krossruby/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/ruby-krossruby/Makefile')
-rw-r--r--devel/ruby-krossruby/Makefile36
1 files changed, 36 insertions, 0 deletions
diff --git a/devel/ruby-krossruby/Makefile b/devel/ruby-krossruby/Makefile
new file mode 100644
index 000000000000..d0c0d3cb8ff5
--- /dev/null
+++ b/devel/ruby-krossruby/Makefile
@@ -0,0 +1,36 @@
+# $FreeBSD$
+
+PORTNAME= krossruby
+PORTVERSION= ${KDE4_VERSION}
+CATEGORIES= devel kde ruby
+MASTER_SITES= ${MASTER_SITE_KDE}
+MASTER_SITE_SUBDIR= ${KDE4_BRANCH}/${PORTVERSION}/src
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DISTNAME= kross-interpreters-${PORTVERSION}
+DIST_SUBDIR= KDE
+
+MAINTAINER= kde@FreeBSD.org
+COMMENT= Ruby bindings for Qt/KDE
+
+CONFLICTS= ruby1[89]-kdebindings-4.[0-6].*
+
+USE_KDE4= kdehier kdelibs kdeprefix pimlibs automoc4
+USE_QT4= gui qmake_build moc_build uic_build rcc_build
+USE_RUBY= yes
+USE_XZ= yes
+USE_CMAKE= yes
+CMAKE_ARGS+= -DBUILD_python:BOOL=FALSE \
+ -DBUILD_falcon:BOOL=FALSE \
+ -DBUILD_java:BOOL=FALSE
+MAKE_JOBS_SAFE= yes
+
+PLIST_FILES= lib/kde4/krossruby.so
+
+.include <bsd.port.pre.mk>
+
+# Kross Ruby is broken with Ruby 1.9, see http://bugs.kde.org/243565
+.if ${RUBY_VER} == 1.9
+BROKEN= does not build with Ruby 1.9
+.endif
+
+.include <bsd.port.post.mk>