summaryrefslogtreecommitdiff
path: root/x11/plasma-scriptengine-ruby-kde4
diff options
context:
space:
mode:
Diffstat (limited to 'x11/plasma-scriptengine-ruby-kde4')
-rw-r--r--x11/plasma-scriptengine-ruby-kde4/Makefile24
-rw-r--r--x11/plasma-scriptengine-ruby-kde4/files/patch-plasma__generic__scriptengines__ruby__CMakeLists.txt8
-rw-r--r--x11/plasma-scriptengine-ruby-kde4/pkg-descr3
-rw-r--r--x11/plasma-scriptengine-ruby-kde4/pkg-plist4
4 files changed, 39 insertions, 0 deletions
diff --git a/x11/plasma-scriptengine-ruby-kde4/Makefile b/x11/plasma-scriptengine-ruby-kde4/Makefile
new file mode 100644
index 000000000000..5820f6ac0a7d
--- /dev/null
+++ b/x11/plasma-scriptengine-ruby-kde4/Makefile
@@ -0,0 +1,24 @@
+# $FreeBSD$
+
+PORTNAME= plasma-scriptengine-ruby
+PORTVERSION= ${KDE4_WORKSPACE_VERSION}
+PORTREVISION= 3
+CATEGORIES= x11 kde kde-applications
+DISTNAME= kde-workspace-${PORTVERSION}
+PKGNAMESUFFIX= -kde4
+
+MAINTAINER= kde@FreeBSD.org
+COMMENT= Plasma scriptengine for Ruby
+
+NO_ARCH= yes
+USES= cmake:outsource kde:4 tar:xz
+USE_KDE= kdelibs korundum automoc4
+USE_QT4= qmake_build moc_build uic_build rcc_build
+USE_RUBY= yes
+DISTINFO_FILE= ${.CURDIR:H:H}/x11/kde-workspace-kde4/distinfo
+
+KDE_APPLICATIONS_VERSION= 15.08.0
+
+CMAKE_SOURCE_PATH= ${WRKSRC}/plasma/generic/scriptengines/ruby
+
+.include <bsd.port.mk>
diff --git a/x11/plasma-scriptengine-ruby-kde4/files/patch-plasma__generic__scriptengines__ruby__CMakeLists.txt b/x11/plasma-scriptengine-ruby-kde4/files/patch-plasma__generic__scriptengines__ruby__CMakeLists.txt
new file mode 100644
index 000000000000..6a920d8816da
--- /dev/null
+++ b/x11/plasma-scriptengine-ruby-kde4/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.90 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-kde4/pkg-descr b/x11/plasma-scriptengine-ruby-kde4/pkg-descr
new file mode 100644
index 000000000000..cfb31ce5ec31
--- /dev/null
+++ b/x11/plasma-scriptengine-ruby-kde4/pkg-descr
@@ -0,0 +1,3 @@
+Plasma scriptengine for Ruby.
+
+WWW: http://www.kde.org/
diff --git a/x11/plasma-scriptengine-ruby-kde4/pkg-plist b/x11/plasma-scriptengine-ruby-kde4/pkg-plist
new file mode 100644
index 000000000000..c9f5f320feea
--- /dev/null
+++ b/x11/plasma-scriptengine-ruby-kde4/pkg-plist
@@ -0,0 +1,4 @@
+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