Kross-interpreters is a collection of KDE 4 bindings helper, for

running different language interpreters.

Currently it contains helpers for Python, Ruby and Java.
This commit is contained in:
zhuk 2013-04-24 12:20:42 +00:00
parent f8a5891a55
commit 27da46334a
6 changed files with 71 additions and 0 deletions

View File

@ -0,0 +1,53 @@
# $OpenBSD: Makefile,v 1.1.1.1 2013/04/24 12:20:42 zhuk Exp $
COMMENT-main = KDE bindings for running interpreters
COMMENT-java = KDE Java bindings
DISTNAME = kross-interpreters-${MODKDE4_VERSION}
PKGNAME-main = ${PKGNAME}
PKGNAME-java = ${PKGNAME:C/interpreters/java/}
MULTI_PACKAGES = -main -java
# XXX Can't use <bsd.port.arch.mk> due to mishandling of MODULES
# causing MODKDE4_VERSION to be undefined.
PSEUDO_FLAVORS = no_java
FLAVOR ?=
WANTLIB = m pthread stdc++
WANTLIB += lib/qt4/QtDBus lib/qt4/QtScript lib/qt4/QtXml
WANTLIB += ${KDE4LIB}/krosscore
WANTLIB-main = ${WANTLIB} ${MODPY_WANTLIB}
WANTLIB-main += lib/qt4/QtGui
WANTLIB-main += ${KDE4LIB}/kpty
MODULES = lang/python
MODKDE4_USE = libs
# Unported
CONFIGURE_ARGS = -DCMAKE_DISABLE_FIND_PACKAGE_FALCON:Bool=Yes
# XXX Ruby 1.9 support is broken, and FindRuby doesn't find 1.8
MODULES = lang/python lang/ruby
MODRUBY_REV = 1.8
#CONFIGURE_ARGS += -DCMAKE_DISABLE_FIND_PACKAGE_Ruby:Bool=Yes
CONFIGURE_ARGS += -DRUBY_EXECUTABLE=${RUBY}
.if ${FLAVOR:Mno_java}
CONFIGURE_ARGS += -DBUILD_java:Bool=No
.else
MODULES += java
MODJAVA_VER = 1.7
MODJAVA_JRERUN = Yes
.endif
LIB_DEPENDS-main = ${LIB_DEPENDS}
RUN_DEPENDS-main = ${RUN_DEPENDS-common} \
${MODPY_RUN_DEPENDS} \
${MODRUBY_RUN_DEPENDS}
RUN_DEPENDS-java = ${RUN_DEPENDS-common} \
${MODJAVA_RUN_DEPENDS}
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (kde/kross-interpreters-4.10.2.tar.xz) = YdZczouGCDA2X8ICPcQmDD53H2OXGiDg4DfFVsC6fBA=
SIZE (kde/kross-interpreters-4.10.2.tar.xz) = 133608

View File

@ -0,0 +1,4 @@
Kross-interpreters is a collection of KDE 4 bindings helper, for
running different language interpreters.
This package contains Java bindings.

View File

@ -0,0 +1,4 @@
Kross-interpreters is a collection of KDE 4 bindings helper, for
running different language interpreters.
This package contains Python and Ruby bindings.

View File

@ -0,0 +1,5 @@
@comment $OpenBSD: PLIST-java,v 1.1.1.1 2013/04/24 12:20:42 zhuk Exp $
@conflict kross-interpreters-<4.8.0p0
lib/kde4/kross/
lib/kde4/kross/kross.jar
lib/kde4/krossjava.so

View File

@ -0,0 +1,3 @@
@comment $OpenBSD: PLIST-main,v 1.1.1.1 2013/04/24 12:20:42 zhuk Exp $
lib/kde4/krosspython.so
lib/kde4/krossruby.so