diff options
author | fluffy <fluffy@FreeBSD.org> | 2010-05-11 23:31:01 +0800 |
---|---|---|
committer | fluffy <fluffy@FreeBSD.org> | 2010-05-11 23:31:01 +0800 |
commit | 5ebfcde76687c0b24d9ab841fb266bd7b0e89a0b (patch) | |
tree | 1277a966871280555e921519e3a86e4ae5e4da60 /x11/plasma-scriptengine-ruby | |
parent | a809fcdbde8a07c5f71414a0ed3c8afccf9273f6 (diff) | |
download | freebsd-ports-gnome-5ebfcde76687c0b24d9ab841fb266bd7b0e89a0b.tar.gz freebsd-ports-gnome-5ebfcde76687c0b24d9ab841fb266bd7b0e89a0b.tar.zst freebsd-ports-gnome-5ebfcde76687c0b24d9ab841fb266bd7b0e89a0b.zip |
- Add plasma-scriptengines to the build
With hat on: kde@
Diffstat (limited to 'x11/plasma-scriptengine-ruby')
4 files changed, 48 insertions, 0 deletions
diff --git a/x11/plasma-scriptengine-ruby/Makefile b/x11/plasma-scriptengine-ruby/Makefile new file mode 100644 index 000000000000..fbbab317019d --- /dev/null +++ b/x11/plasma-scriptengine-ruby/Makefile @@ -0,0 +1,32 @@ +# New ports collection makefile for: plasma-scriptengine-ruby +# Date created: 2010-03-30 +# Whom: Max Brazhnikov <makc@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= plasma-scriptengine-ruby +PORTVERSION= ${KDE4_VERSION} +CATEGORIES= x11 kde +MASTER_SITES= ${MASTER_SITE_KDE} +MASTER_SITE_SUBDIR= ${KDE4_BRANCH}/${PORTVERSION}/src +DISTNAME= kdebase-workspace-${PORTVERSION} +DIST_SUBDIR= KDE + +MAINTAINER= kde@FreeBSD.org +COMMENT= Plasma scriptengine for Ruby + +RUN_DEPENDS= ${RUBY_SITELIBDIR}/KDE/plasma.rb:${PORTSDIR}/devel/kdebindings4-ruby + +USE_BZIP2= yes +USE_CMAKE= yes +USE_KDE4= kdeprefix kdelibs automoc4 +USE_QT_VER= 4 +QT_COMPONENTS= qmake_build moc_build uic_build rcc_build +USE_RUBY= yes +MD5_FILE= ${PORTSDIR}/x11/kdebase4-workspace/distinfo + +CMAKE_SOURCE_PATH= ${WRKSRC}/plasma/generic/scriptengines/ruby +CMAKE_OUTSOURCE= yes + +.include <bsd.port.mk> diff --git a/x11/plasma-scriptengine-ruby/files/patch-plasma__generic__scriptengines__ruby__CMakeLists.txt b/x11/plasma-scriptengine-ruby/files/patch-plasma__generic__scriptengines__ruby__CMakeLists.txt new file mode 100644 index 000000000000..50bdfbddb3bd --- /dev/null +++ b/x11/plasma-scriptengine-ruby/files/patch-plasma__generic__scriptengines__ruby__CMakeLists.txt @@ -0,0 +1,8 @@ +--- ./plasma/generic/scriptengines/ruby/CMakeLists.txt.orig 2009-09-16 15:41:04.000000000 +0400 ++++ ./plasma/generic/scriptengines/ruby/CMakeLists.txt 2010-03-30 20:25:46.102451515 +0400 +@@ -1,3 +1,5 @@ ++find_package(KDE4 4.4.1 REQUIRED) ++ + install(FILES applet.rb DESTINATION ${DATA_INSTALL_DIR}/plasma_scriptengine_ruby) + install(FILES data_engine.rb DESTINATION ${DATA_INSTALL_DIR}/plasma_scriptengine_ruby) + diff --git a/x11/plasma-scriptengine-ruby/pkg-descr b/x11/plasma-scriptengine-ruby/pkg-descr new file mode 100644 index 000000000000..0ccc3eaacbf7 --- /dev/null +++ b/x11/plasma-scriptengine-ruby/pkg-descr @@ -0,0 +1,3 @@ +Plasma scriptengine for Ruby. + +WWW: http://www.kde.org/ diff --git a/x11/plasma-scriptengine-ruby/pkg-plist b/x11/plasma-scriptengine-ruby/pkg-plist new file mode 100644 index 000000000000..bc3a5947d286 --- /dev/null +++ b/x11/plasma-scriptengine-ruby/pkg-plist @@ -0,0 +1,5 @@ +share/apps/plasma_scriptengine_ruby/applet.rb +share/apps/plasma_scriptengine_ruby/data_engine.rb +share/kde4/services/plasma-scriptengine-ruby-applet.desktop +share/kde4/services/plasma-scriptengine-ruby-dataengine.desktop +@dirrm share/apps/plasma_scriptengine_ruby |