aboutsummaryrefslogtreecommitdiffstats
path: root/devel/ruby-qtruby
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2018-02-23 03:03:17 +0800
committerTobias C. Berner <tcberner@FreeBSD.org>2018-02-23 03:03:17 +0800
commita4a7daf069cba3ae4b90d832aa9df7624b4626a3 (patch)
tree3aad51132f546ad79059b32784badc3f6a42c8ff /devel/ruby-qtruby
parent7ff2d6435675b95623ce40a15abfc2c3f3ef4a74 (diff)
downloadfreebsd-ports-gnome-a4a7daf069cba3ae4b90d832aa9df7624b4626a3.tar.gz
freebsd-ports-gnome-a4a7daf069cba3ae4b90d832aa9df7624b4626a3.tar.zst
freebsd-ports-gnome-a4a7daf069cba3ae4b90d832aa9df7624b4626a3.zip
Give the KDE SC4 applications ports a -kde4 suffix
In order to make room for the up-to-date version of the KDE Desktop and its applications move the KDE Application ports based on Qt4. PR: 225992 Exp-run by: antoine Reviewed by: rakuco, adridg Differential Revision: https://reviews.freebsd.org/D14413
Diffstat (limited to 'devel/ruby-qtruby')
-rw-r--r--devel/ruby-qtruby/Makefile42
-rw-r--r--devel/ruby-qtruby/distinfo2
-rw-r--r--devel/ruby-qtruby/files/patch-src_qtruby.cpp13
-rw-r--r--devel/ruby-qtruby/files/pkg-message.in10
-rw-r--r--devel/ruby-qtruby/files/ruby-kdebindings-env.sh.in6
-rw-r--r--devel/ruby-qtruby/pkg-descr3
-rw-r--r--devel/ruby-qtruby/pkg-plist41
7 files changed, 0 insertions, 117 deletions
diff --git a/devel/ruby-qtruby/Makefile b/devel/ruby-qtruby/Makefile
deleted file mode 100644
index c01d2b67b4d8..000000000000
--- a/devel/ruby-qtruby/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-# $FreeBSD$
-
-PORTNAME= qtruby
-PORTVERSION= ${KDE4_VERSION}
-PORTREVISION= 3
-CATEGORIES= devel kde kde-kde4 ruby
-PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
-
-MAINTAINER= kde@FreeBSD.org
-COMMENT= Ruby bindings for Qt
-
-LIB_DEPENDS= libqwt.so:x11-toolkits/qwt5 \
- libqscintilla2_qt4.so:devel/qscintilla2
-
-USES= cmake:outsource kde:4 tar:xz
-USE_KDE= smokeqt
-USE_QT4= corelib dbus declarative gui network phonon script webkit xml \
- qmake_build moc_build uic_build rcc_build
-USE_RUBY= yes
-USE_LDCONFIG= yes
-
-SUB_FILES= ruby-kdebindings-env.sh pkg-message
-SUB_LIST+= RUBY_SITELIBDIR=${RUBY_SITELIBDIR} \
- RUBY_SITEARCHLIBDIR=${RUBY_SITEARCHLIBDIR}
-
-CMAKE_ARGS+= -DRUBY_LIBRARY=${LOCALBASE}/lib/lib${RUBY_NAME}.so \
- -DRUBY_INCLUDE_PATH=${LOCALBASE}/lib/ruby/${RUBY_VER}/${RUBY_ARCH} \
- -DCUSTOM_RUBY_SITE_LIB_DIR=${RUBY_SITELIBDIR} \
- -DCUSTOM_RUBY_SITE_ARCH_DIR=${RUBY_SITEARCHLIBDIR}
-
-post-patch:
- ${REINPLACE_CMD} -e 's|QWT_FOUND|Qwt5_FOUND|g' \
- ${WRKSRC}/src/CMakeLists.txt
- ${REINPLACE_CMD} -e 's|share/qtruby4/cmake|lib/cmake/qtruby4|g' \
- ${WRKSRC}/cmake/CMakeLists.txt \
- ${WRKSRC}/src/CMakeLists.txt
-
-post-install:
- ${MKDIR} ${STAGEDIR}${PREFIX}/env
- ${INSTALL_SCRIPT} ${WRKDIR}/ruby-kdebindings-env.sh ${STAGEDIR}${PREFIX}/env
-
-.include <bsd.port.mk>
diff --git a/devel/ruby-qtruby/distinfo b/devel/ruby-qtruby/distinfo
deleted file mode 100644
index c3dc880a2810..000000000000
--- a/devel/ruby-qtruby/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (KDE/4.14.3/qtruby-4.14.3.tar.xz) = 2050e79b5e116eefef97d9b2dc96b3be635621bcbf856a8009b56dc40f953c9d
-SIZE (KDE/4.14.3/qtruby-4.14.3.tar.xz) = 529568
diff --git a/devel/ruby-qtruby/files/patch-src_qtruby.cpp b/devel/ruby-qtruby/files/patch-src_qtruby.cpp
deleted file mode 100644
index 7a8fbc24c112..000000000000
--- a/devel/ruby-qtruby/files/patch-src_qtruby.cpp
+++ /dev/null
@@ -1,13 +0,0 @@
-Fix bogus pointer comparison.
-
---- src/qtruby.cpp.orig 2017-01-18 20:21:44 UTC
-+++ src/qtruby.cpp
-@@ -2094,7 +2094,7 @@ isObject(VALUE /*self*/, VALUE obj)
- {
- void * ptr = 0;
- ptr = value_to_ptr(obj);
-- return (ptr > 0 ? Qtrue : Qfalse);
-+ return (ptr ? Qtrue : Qfalse);
- }
-
- static VALUE
diff --git a/devel/ruby-qtruby/files/pkg-message.in b/devel/ruby-qtruby/files/pkg-message.in
deleted file mode 100644
index 859cd8da176a..000000000000
--- a/devel/ruby-qtruby/files/pkg-message.in
+++ /dev/null
@@ -1,10 +0,0 @@
-===========================================================
-
-To use Ruby bindings outside KDE session set RUBYLIB
-environment variable:
-
-RUBYLIB=%%RUBY_SITELIBDIR%%:%%RUBY_SITEARCHLIBDIR%%
-
-See "man 1 ruby" for details.
-
-===========================================================
diff --git a/devel/ruby-qtruby/files/ruby-kdebindings-env.sh.in b/devel/ruby-qtruby/files/ruby-kdebindings-env.sh.in
deleted file mode 100644
index 041908374ce9..000000000000
--- a/devel/ruby-qtruby/files/ruby-kdebindings-env.sh.in
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-
-if [ %%PREFIX%% != %%LOCALBASE%% ]; then
-RUBYLIB=${RUBYLIB}:%%RUBY_SITELIBDIR%%:%%RUBY_SITEARCHLIBDIR%%
-export RUBYLIB
-fi
diff --git a/devel/ruby-qtruby/pkg-descr b/devel/ruby-qtruby/pkg-descr
deleted file mode 100644
index 8a616b9a256e..000000000000
--- a/devel/ruby-qtruby/pkg-descr
+++ /dev/null
@@ -1,3 +0,0 @@
-This port provides Ruby bindings for Qt.
-
-WWW: http://www.kde.org/
diff --git a/devel/ruby-qtruby/pkg-plist b/devel/ruby-qtruby/pkg-plist
deleted file mode 100644
index d9c28fca59dc..000000000000
--- a/devel/ruby-qtruby/pkg-plist
+++ /dev/null
@@ -1,41 +0,0 @@
-bin/rbqtapi
-bin/rbrcc
-bin/rbuic4
-env/ruby-kdebindings-env.sh
-include/qtruby/marshall.h
-include/qtruby/marshall_basetypes.h
-include/qtruby/marshall_complex.h
-include/qtruby/marshall_macros.h
-include/qtruby/marshall_primitives.h
-include/qtruby/marshall_types.h
-include/qtruby/qtruby.h
-include/qtruby/smokeruby.h
-lib/cmake/qtruby4/QtRuby4Config.cmake
-lib/cmake/qtruby4/QtRuby4Export-%%CMAKE_BUILD_TYPE%%.cmake
-lib/cmake/qtruby4/QtRuby4Export.cmake
-lib/libqtruby4shared.so
-lib/libqtruby4shared.so.2
-lib/libqtruby4shared.so.2.0.0
-%%RUBY_SITELIBDIR%%/Qt.rb
-%%RUBY_SITELIBDIR%%/Qt/active_item_model.rb
-%%RUBY_SITELIBDIR%%/Qt/active_table_model.rb
-%%RUBY_SITELIBDIR%%/Qt/qtruby4.rb
-%%RUBY_SITELIBDIR%%/Qt3.rb
-%%RUBY_SITELIBDIR%%/Qt4.rb
-%%RUBY_SITEARCHLIBDIR%%/phonon.so
-%%RUBY_SITEARCHLIBDIR%%/qscintilla.so
-%%RUBY_SITEARCHLIBDIR%%/qtdeclarative.so
-%%RUBY_SITEARCHLIBDIR%%/qtruby4.so
-%%RUBY_SITEARCHLIBDIR%%/qtscript.so
-%%RUBY_SITEARCHLIBDIR%%/qttest.so
-%%RUBY_SITEARCHLIBDIR%%/qtuitools.so
-%%RUBY_SITEARCHLIBDIR%%/qtwebkit.so
-%%RUBY_SITEARCHLIBDIR%%/qwt.so
-%%RUBY_SITELIBDIR%%/phonon/phonon.rb
-%%RUBY_SITELIBDIR%%/qscintilla/qscintilla.rb
-%%RUBY_SITELIBDIR%%/qtdeclarative/qtdeclarative.rb
-%%RUBY_SITELIBDIR%%/qtscript/qtscript.rb
-%%RUBY_SITELIBDIR%%/qttest/qttest.rb
-%%RUBY_SITELIBDIR%%/qtuitools/qtuitools.rb
-%%RUBY_SITELIBDIR%%/qtwebkit/qtwebkit.rb
-%%RUBY_SITELIBDIR%%/qwt/qwt.rb