diff --git a/www/kwebkitpart/Makefile b/www/kwebkitpart/Makefile new file mode 100644 index 00000000000..ec8286cf7e4 --- /dev/null +++ b/www/kwebkitpart/Makefile @@ -0,0 +1,29 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2013/04/24 19:19:31 zhuk Exp $ + +CATEGORIES = www +COMMENT = Webkit-based KPart for KDE +HOMEPAGE = https://projects.kde.org/projects/extragear/base/kwebkitpart +DISTNAME = kwebkitpart-1.2 + +EXTRACT_SUFX = .tar.bz2 +MASTER_SITES = ftp://3ps.if.ua/pub/OpenBSD/distfiles/ \ + http://spacehopper.org/mirrors/ \ + http://www.ohvost.ru/dnl/kde/src/ + +# LGPLv2+ +PERMIT_PACKAGE_CDROM = Yes + +WANTLIB = c m pthread stdc++ +WANTLIB += lib/qt4/QtDBus lib/qt4/QtGui lib/qt4/QtNetwork +WANTLIB += lib/qt4/QtSvg lib/qt4/QtWebKit lib/qt4/QtXml +WANTLIB += ${KDE4LIB}/kdeui ${KDE4LIB}/kio ${KDE4LIB}/kparts +WANTLIB += ${KDE4LIB}/kdewebkit ${KDE4LIB}/nepomuk ${KDE4LIB}/nepomukutils +WANTLIB += soprano + +RUN_DEPENDS = x11/gtk+2,-guic + +MODULES = x11/kde4 + +MODKDE4_USE = libs + +.include diff --git a/www/kwebkitpart/distinfo b/www/kwebkitpart/distinfo new file mode 100644 index 00000000000..a4275789787 --- /dev/null +++ b/www/kwebkitpart/distinfo @@ -0,0 +1,2 @@ +SHA256 (kwebkitpart-1.2.tar.bz2) = LYC+1X/DfJhqxMwAgCXC2XEBk56InK1yY4spNKG28No= +SIZE (kwebkitpart-1.2.tar.bz2) = 100067 diff --git a/www/kwebkitpart/patches/patch-src_kwebkitpart_desktop b/www/kwebkitpart/patches/patch-src_kwebkitpart_desktop new file mode 100644 index 00000000000..96ae7cd26f0 --- /dev/null +++ b/www/kwebkitpart/patches/patch-src_kwebkitpart_desktop @@ -0,0 +1,10 @@ +$OpenBSD: patch-src_kwebkitpart_desktop,v 1.1.1.1 2013/04/24 19:19:31 zhuk Exp $ +Increase preference to make Webkit KPart supersede KHTML one. +--- src/kwebkitpart.desktop.orig Fri Oct 14 00:51:10 2011 ++++ src/kwebkitpart.desktop Fri Oct 14 00:51:20 2011 +@@ -92,4 +92,4 @@ Name[zh_TW]=WebKit + X-KDE-Default-UserAgent=Mozilla/5.0 (%PLATFORM%; %SECURITY%; %OSNAME% %OSVERSION% %SYSTYPE%; %LANGUAGE%) AppleWebKit/533.3 (KHTML, like Gecko) %APPVERSION% Safari/533.3 + X-KDE-ServiceTypes=KParts/ReadOnlyPart,Browser/View + X-KDE-Library=kwebkitpart +-InitialPreference=9 ++InitialPreference=11 diff --git a/www/kwebkitpart/pkg/DESCR b/www/kwebkitpart/pkg/DESCR new file mode 100644 index 00000000000..7f23f8cf8d8 --- /dev/null +++ b/www/kwebkitpart/pkg/DESCR @@ -0,0 +1 @@ +A WebKit browser component for KDE (KPart). diff --git a/www/kwebkitpart/pkg/PLIST b/www/kwebkitpart/pkg/PLIST new file mode 100644 index 00000000000..5c1be173e25 --- /dev/null +++ b/www/kwebkitpart/pkg/PLIST @@ -0,0 +1,14 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2013/04/24 19:19:31 zhuk Exp $ +lib/kde4/kwebkitpart.so +share/apps/kwebkitpart/ +share/apps/kwebkitpart/error.html +share/apps/kwebkitpart/kwebkitpart.rc +share/icons/hicolor/128x128/apps/webkit.png +share/icons/hicolor/16x16/apps/webkit.png +share/icons/hicolor/22x22/apps/webkit.png +share/icons/hicolor/32x32/apps/webkit.png +share/icons/hicolor/48x48/apps/webkit.png +share/icons/hicolor/64x64/apps/webkit.png +share/kde4/services/kwebkitpart.desktop +@exec %D/bin/gtk-update-icon-cache -q -t %D/share/icons/hicolor +@unexec-delete %D/bin/gtk-update-icon-cache -q -t %D/share/icons/hicolor