aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/kf5-kcodecs/distinfo6
-rw-r--r--textproc/kf5-sonnet/Makefile1
-rw-r--r--textproc/kf5-sonnet/distinfo6
-rw-r--r--textproc/kf5-sonnet/files/patch-cmake_FindHUNSPELL.cmake11
-rw-r--r--textproc/kf5-syntax-highlighting/Makefile15
-rw-r--r--textproc/kf5-syntax-highlighting/distinfo3
-rw-r--r--textproc/kf5-syntax-highlighting/files/patch-src_cli_kate-syntax-highlighter.cpp14
-rw-r--r--textproc/kf5-syntax-highlighting/pkg-descr3
-rw-r--r--textproc/kf5-syntax-highlighting/pkg-plist28
10 files changed, 70 insertions, 18 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 8234090b6e4f..2e60391786c0 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -365,6 +365,7 @@
SUBDIR += kenlm
SUBDIR += kf5-kcodecs
SUBDIR += kf5-sonnet
+ SUBDIR += kf5-syntax-highlighting
SUBDIR += kibana3
SUBDIR += kibana41
SUBDIR += kibana43
diff --git a/textproc/kf5-kcodecs/distinfo b/textproc/kf5-kcodecs/distinfo
index 3e7bb135cfe7..f32cb8239a4e 100644
--- a/textproc/kf5-kcodecs/distinfo
+++ b/textproc/kf5-kcodecs/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1475424081
-SHA256 (KDE/frameworks/5.27.0/kcodecs-5.27.0.tar.xz) = 0ac9b24fa94240cff53cde2a9ef565c0f85d9883087b8f7c815b83aacd119338
-SIZE (KDE/frameworks/5.27.0/kcodecs-5.27.0.tar.xz) = 2741924
+TIMESTAMP = 1480934877
+SHA256 (KDE/frameworks/5.29.0/kcodecs-5.29.0.tar.xz) = a757e0298574c143b3cac9054ebe50e43fc6b14986728c2e640cba993457294e
+SIZE (KDE/frameworks/5.29.0/kcodecs-5.29.0.tar.xz) = 2742220
diff --git a/textproc/kf5-sonnet/Makefile b/textproc/kf5-sonnet/Makefile
index ccadea955441..bb7efc49215f 100644
--- a/textproc/kf5-sonnet/Makefile
+++ b/textproc/kf5-sonnet/Makefile
@@ -3,7 +3,6 @@
PORTNAME= sonnet
PORTVERSION= ${KDE_FRAMEWORKS_VERSION}
-PORTREVISION= 1
CATEGORIES= textproc kde kde-frameworks
MAINTAINER= kde@FreeBSD.org
diff --git a/textproc/kf5-sonnet/distinfo b/textproc/kf5-sonnet/distinfo
index 5c3f056e8b95..1e24b1417cc1 100644
--- a/textproc/kf5-sonnet/distinfo
+++ b/textproc/kf5-sonnet/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1475424082
-SHA256 (KDE/frameworks/5.27.0/sonnet-5.27.0.tar.xz) = 3bef88e61303e172fa6e3d824b01c371c44b81629cb67267717a27309e7d231e
-SIZE (KDE/frameworks/5.27.0/sonnet-5.27.0.tar.xz) = 2653172
+TIMESTAMP = 1480934877
+SHA256 (KDE/frameworks/5.29.0/sonnet-5.29.0.tar.xz) = 20358de0d45387f44260c3e6f8df012d661b4446293cbb3823c978e3a8766965
+SIZE (KDE/frameworks/5.29.0/sonnet-5.29.0.tar.xz) = 2652812
diff --git a/textproc/kf5-sonnet/files/patch-cmake_FindHUNSPELL.cmake b/textproc/kf5-sonnet/files/patch-cmake_FindHUNSPELL.cmake
deleted file mode 100644
index 5b352f7b9ccf..000000000000
--- a/textproc/kf5-sonnet/files/patch-cmake_FindHUNSPELL.cmake
+++ /dev/null
@@ -1,11 +0,0 @@
---- cmake/FindHUNSPELL.cmake.orig 2016-10-02 10:04:15 UTC
-+++ cmake/FindHUNSPELL.cmake
-@@ -14,7 +14,7 @@ ENDIF (HUNSPELL_INCLUDE_DIR AND HUNSPELL
-
- FIND_PATH(HUNSPELL_INCLUDE_DIR hunspell/hunspell.hxx )
-
--FIND_LIBRARY(HUNSPELL_LIBRARIES NAMES hunspell-1.4 hunspell-1.3 hunspell-1.2)
-+FIND_LIBRARY(HUNSPELL_LIBRARIES NAMES hunspell-1.5 hunspell-1.4 hunspell-1.3 hunspell-1.2)
-
- # handle the QUIETLY and REQUIRED arguments and set HUNSPELL_FOUND to TRUE if
- # all listed variables are TRUE
diff --git a/textproc/kf5-syntax-highlighting/Makefile b/textproc/kf5-syntax-highlighting/Makefile
new file mode 100644
index 000000000000..e8c1267aeb61
--- /dev/null
+++ b/textproc/kf5-syntax-highlighting/Makefile
@@ -0,0 +1,15 @@
+# Created by: tcberner
+# $FreeBSD$
+
+PORTNAME= syntax-highlighting
+PORTVERSION= ${KDE_FRAMEWORKS_VERSION}
+CATEGORIES= textproc kde kde-frameworks
+
+MAINTAINER= kde@FreeBSD.org
+COMMENT= KF5 syntax highlighting engine for structured text and code
+
+USES= cmake:outsource compiler:c++11-lib kde:5 perl5 tar:xz
+USE_KDE= ecm
+USE_QT5= buildtools_build core gui network testlib qmake_build
+
+.include <bsd.port.mk>
diff --git a/textproc/kf5-syntax-highlighting/distinfo b/textproc/kf5-syntax-highlighting/distinfo
new file mode 100644
index 000000000000..f73fa6dfc5a6
--- /dev/null
+++ b/textproc/kf5-syntax-highlighting/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1480934877
+SHA256 (KDE/frameworks/5.29.0/syntax-highlighting-5.29.0.tar.xz) = cbcca052a1ad79b4d1ed1209d6f8e9ba0c3812dc158b26c4a8232a8d879c7839
+SIZE (KDE/frameworks/5.29.0/syntax-highlighting-5.29.0.tar.xz) = 883920
diff --git a/textproc/kf5-syntax-highlighting/files/patch-src_cli_kate-syntax-highlighter.cpp b/textproc/kf5-syntax-highlighting/files/patch-src_cli_kate-syntax-highlighter.cpp
new file mode 100644
index 000000000000..23b8394ca65a
--- /dev/null
+++ b/textproc/kf5-syntax-highlighting/files/patch-src_cli_kate-syntax-highlighter.cpp
@@ -0,0 +1,14 @@
+Fix build on 9.3
+
+/wrkdirs/usr/ports/textproc/kf5-syntax-highlighting/work/syntax-highlighting-5.29.0/src/cli/kate-syntax-highlighter.cpp:121:35: error: 'stdout' was not declared in this scope
+
+--- src/cli/kate-syntax-highlighter.cpp.orig 2016-12-13 11:57:30 UTC
++++ src/cli/kate-syntax-highlighter.cpp
+@@ -28,6 +28,7 @@
+ #include <QVector>
+
+ #include <iostream>
++#include <cstdio>
+
+ using namespace KSyntaxHighlighting;
+
diff --git a/textproc/kf5-syntax-highlighting/pkg-descr b/textproc/kf5-syntax-highlighting/pkg-descr
new file mode 100644
index 000000000000..470d65a88632
--- /dev/null
+++ b/textproc/kf5-syntax-highlighting/pkg-descr
@@ -0,0 +1,3 @@
+Syntax highlighting Engine for Structured Text and Code.
+
+WWW: http://api.kde.org/frameworks-api/frameworks5-apidocs/sytnax-highlighting/html/index.html
diff --git a/textproc/kf5-syntax-highlighting/pkg-plist b/textproc/kf5-syntax-highlighting/pkg-plist
new file mode 100644
index 000000000000..bbf903dfcb6d
--- /dev/null
+++ b/textproc/kf5-syntax-highlighting/pkg-plist
@@ -0,0 +1,28 @@
+bin/kate-syntax-highlighter
+etc/xdg/org_kde_ksyntaxhighlighting.categories
+include/KF5/KSyntaxHighlighting/AbstractHighlighter
+include/KF5/KSyntaxHighlighting/Definition
+include/KF5/KSyntaxHighlighting/FoldingRegion
+include/KF5/KSyntaxHighlighting/Format
+include/KF5/KSyntaxHighlighting/Repository
+include/KF5/KSyntaxHighlighting/State
+include/KF5/KSyntaxHighlighting/SyntaxHighlighter
+include/KF5/KSyntaxHighlighting/Theme
+include/KF5/KSyntaxHighlighting/abstracthighlighter.h
+include/KF5/KSyntaxHighlighting/definition.h
+include/KF5/KSyntaxHighlighting/foldingregion.h
+include/KF5/KSyntaxHighlighting/format.h
+include/KF5/KSyntaxHighlighting/ksyntaxhighlighting_export.h
+include/KF5/KSyntaxHighlighting/repository.h
+include/KF5/KSyntaxHighlighting/state.h
+include/KF5/KSyntaxHighlighting/syntaxhighlighter.h
+include/KF5/KSyntaxHighlighting/theme.h
+include/KF5/ksyntaxhighlighting_version.h
+lib/cmake/KF5SyntaxHighlighting/KF5SyntaxHighlightingConfig.cmake
+lib/cmake/KF5SyntaxHighlighting/KF5SyntaxHighlightingConfigVersion.cmake
+lib/cmake/KF5SyntaxHighlighting/KF5SyntaxHighlightingTargets-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/KF5SyntaxHighlighting/KF5SyntaxHighlightingTargets.cmake
+lib/libKF5SyntaxHighlighting.so
+lib/libKF5SyntaxHighlighting.so.5
+lib/libKF5SyntaxHighlighting.so.%%KDE_FRAMEWORKS_VERSION%%
+%%QT_MKSPECDIR%%/modules/qt_KSyntaxHighlighting.pri