diff --git a/www/midori/Makefile b/www/midori/Makefile new file mode 100644 index 00000000000..bfedc025187 --- /dev/null +++ b/www/midori/Makefile @@ -0,0 +1,44 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2008/07/25 12:54:33 landry Exp $ + +COMMENT = lightweight web browser + +DISTNAME = midori-0.0.18 +CATEGORIES = www + +HOMEPAGE = http://www.twotoasts.de/index.php/pages/midori_summary.html +MASTER_SITES = http://www.twotoasts.de/media/midori/ + +MAINTAINER = Landry Breuil + +# GPLv2 +PERMIT_PACKAGE_CDROM = Yes +PERMIT_PACKAGE_FTP = Yes +PERMIT_DISTFILES_CDROM =Yes +PERMIT_DISTFILES_FTP = Yes + +MODULES = devel/gettext + +CONFIGURE_STYLE = gnu +CONFIGURE_ENV = GMSGFMT="${LOCALBASE}/bin/msgfmt" \ + DATADIRNAME="share" + +USE_X11 = Yes +USE_GMAKE = Yes + +LIB_DEPENDS = webkit-1.0::www/webkit \ + sexy::x11/libsexy + +RUN_DEPENDS = ::devel/desktop-file-utils + +WANTLIB = ICE SM X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext \ + Xfixes Xi Xinerama Xrandr Xrender Xt atk-1.0 c crypto \ + expat fontconfig freetype gdk-x11-2.0 gdk_pixbuf-2.0 \ + glib-2.0 glitz gmodule-2.0 gobject-2.0 gthread-2.0 \ + gtk-x11-2.0 icudata icui18n icuuc idn intl jpeg m pango-1.0 \ + pangocairo-1.0 pangoft2-1.0 pcre pthread sqlite3 ssl \ + xslt z cairo curl estdc++ pixman-1 png xml2 + +post-extract: + @chmod 755 ${WRKSRC}/install-sh + +.include diff --git a/www/midori/distinfo b/www/midori/distinfo new file mode 100644 index 00000000000..4c047574752 --- /dev/null +++ b/www/midori/distinfo @@ -0,0 +1,5 @@ +MD5 (midori-0.0.18.tar.gz) = qpwQu/b+NQKmVjPE+sD7gA== +RMD160 (midori-0.0.18.tar.gz) = BUpJI7AJqmC9OukPX/zs3p06ZrI= +SHA1 (midori-0.0.18.tar.gz) = JYnlWabY5uGgztioFvn3jXLY37E= +SHA256 (midori-0.0.18.tar.gz) = NsIMp8WebDXesEqf696KqAQMeMa6IfWVRCuUq3jsE3w= +SIZE (midori-0.0.18.tar.gz) = 430852 diff --git a/www/midori/pkg/DESCR b/www/midori/pkg/DESCR new file mode 100644 index 00000000000..7dcaa36a5fd --- /dev/null +++ b/www/midori/pkg/DESCR @@ -0,0 +1,8 @@ +Midori is a lightweight web browser that uses WebKit for it's rendering +engine. Written in Gtk+2, it is currently in alpha state and features : +* Tabs, windows and session management. +* Bookmarks with XBEL and keyword support. +* Flexibly configurable Web Searchbox. +* Custom context menu actions. +* User scripts and user styles support. +* Extensible via Javascript. diff --git a/www/midori/pkg/MESSAGE b/www/midori/pkg/MESSAGE new file mode 100644 index 00000000000..e5007ad5271 --- /dev/null +++ b/www/midori/pkg/MESSAGE @@ -0,0 +1,9 @@ +If midori complains about missing icons, install a freedesktop.org +compliant icon-theme (like gnome-icon-theme or tango-icon-theme) and +set it as default through a ~/.gtkrc-2.0 file containing : + +gtk-icon-theme-name = "" + +If https page fails to open, you may have to set +WEBKIT_IGNORE_SSL_ERRORS=1 in your environment before launching midori. +(see https://bugs.webkit.org/show_bug.cgi?id=19146) diff --git a/www/midori/pkg/PLIST b/www/midori/pkg/PLIST new file mode 100644 index 00000000000..7beac2129ef --- /dev/null +++ b/www/midori/pkg/PLIST @@ -0,0 +1,9 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2008/07/25 12:54:33 landry Exp $ +@bin bin/midori +share/applications/midori.desktop +share/locale/de/LC_MESSAGES/midori.mo +share/locale/fr/LC_MESSAGES/midori.mo +share/locale/pl/LC_MESSAGES/midori.mo +share/locale/sv/LC_MESSAGES/midori.mo +@exec %D/bin/update-desktop-database +@unexec %D/bin/update-desktop-database