summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2010-09-24 21:10:14 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2010-09-24 21:10:14 +0800
commitae1f67314b388ad1c11008e1ba59a78b56895631 (patch)
tree88bc6c6dc28badd63b18ab7b771f91be1629b6fc
parent9f6da69876ed6d2edac5372365fc6d97b2fef9ce (diff)
downloadmarcuscom-ports-ae1f67314b388ad1c11008e1ba59a78b56895631.tar
marcuscom-ports-ae1f67314b388ad1c11008e1ba59a78b56895631.tar.gz
marcuscom-ports-ae1f67314b388ad1c11008e1ba59a78b56895631.tar.bz2
marcuscom-ports-ae1f67314b388ad1c11008e1ba59a78b56895631.tar.lz
marcuscom-ports-ae1f67314b388ad1c11008e1ba59a78b56895631.tar.xz
marcuscom-ports-ae1f67314b388ad1c11008e1ba59a78b56895631.tar.zst
marcuscom-ports-ae1f67314b388ad1c11008e1ba59a78b56895631.zip
Hmmm was too hasty removing this one with the webkit-gtk2 reset.
Readd and update vala dependancy. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@14656 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--www/midori/Makefile84
-rw-r--r--www/midori/distinfo3
-rw-r--r--www/midori/files/patch-data_search16
-rw-r--r--www/midori/files/patch-wscript12
-rw-r--r--www/midori/pkg-descr12
-rw-r--r--www/midori/pkg-plist168
6 files changed, 295 insertions, 0 deletions
diff --git a/www/midori/Makefile b/www/midori/Makefile
new file mode 100644
index 000000000..2b2349466
--- /dev/null
+++ b/www/midori/Makefile
@@ -0,0 +1,84 @@
+# New ports collection makefile for: midori
+# Date created: 2007-10-21
+# Whom: Michael Johnson <ahze@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom: ports/www/midori/Makefile,v 1.21 2010/04/05 21:56:26 kwm Exp $
+#
+
+PORTNAME= midori
+PORTVERSION= 0.2.7
+CATEGORIES= www xfce
+MASTER_SITES= http://archive.xfce.org/src/apps/${PORTNAME}/${PORTVERSION:R}/
+DIST_SUBDIR= xfce4
+
+MAINTAINER= kwm@FreeBSD.org
+COMMENT= Lightweight web browser using WebKit browser engine
+
+LIB_DEPENDS= webkit-1.0:${PORTSDIR}/www/webkit-gtk2 \
+ sqlite3.8:${PORTSDIR}/databases/sqlite3 \
+ notify.1:${PORTSDIR}/devel/libnotify \
+ vala-0.10.0:${PORTSDIR}/lang/vala
+BUILD_DEPENDS= rsvg-convert:${PORTSDIR}/graphics/librsvg2
+
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+CONFIGURE_ARGS+=--disable-unique \
+ --disable-libidn \
+ --enable-libnotify \
+ --enable-addons \
+ --jobs=${MAKE_JOBS_NUMBER}
+
+MAKE_JOBS_SAFE= yes
+HAS_CONFIGURE= yes
+USE_PYTHON_BUILD= yes
+USE_BZIP2= yes
+USE_GNOME= glib20 gtk20 intltool libxml2 pkgconfig
+USE_XORG= xscrnsaver
+INSTALLS_ICONS= yes
+USE_LDCONFIG= yes
+
+OPTIONS= NLS "Enable Native Language support" on \
+ USERDOCS "Build user documentation" off \
+ APIDOCS "Build api documentation" off
+
+.include <bsd.port.pre.mk>
+
+# WAF needs that
+CONFIGURE_ENV+= CC="${CC}"
+
+.if !defined(WITHOUT_NLS)
+USE_GETTEXT= yes
+PLIST_SUB+= NLS=""
+.else
+CONFIGURE_ARGS+= --disable-nls
+PLIST_SUB+= NLS="@comment "
+.endif
+
+.if defined(WITH_USERDOCS)
+BUILD_DEPENDS+=rst2html:${PORTSDIR}/textproc/py-docutils
+CONFIGURE_ARGS+=--enable-userdocs
+PLIST_SUB+= USERDOCS=""
+.else
+CONFIGURE_ARGS+=--disable-userdocs
+PLIST_SUB+= USERDOCS="@comment "
+.endif
+
+.if defined(WITH_APIDOCS)
+BUILD_DEPENDS+= gtkdoc-scan:${PORTSDIR}/textproc/gtk-doc
+CONFIGURE_ARGS+=--enable-apidocs
+PLIST_SUB+= APIDOCS=""
+.else
+CONFIGURE_ARGS+=--disable-apidocs
+PLIST_SUB+= APIDOCS="@comment "
+.endif
+
+post-install:
+.if defined(WITH_APIDOCS)
+ ${MKDIR} ${DOCSDIR}/api/katze/html
+ ${MKDIR} ${DOCSDIR}/api/midori/html
+ (cd ${WRKSRC}/_build_/docs/api/katze/html && ${COPYTREE_SHARE} \* ${DOCSDIR}/api/katze/html)
+ (cd ${WRKSRC}/_build_/docs/api/midori/html && ${COPYTREE_SHARE} \* ${DOCSDIR}/api/midori/html)
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/www/midori/distinfo b/www/midori/distinfo
new file mode 100644
index 000000000..1a0f8d195
--- /dev/null
+++ b/www/midori/distinfo
@@ -0,0 +1,3 @@
+MD5 (xfce4/midori-0.2.7.tar.bz2) = 638a16424b444837d319723de5942a33
+SHA256 (xfce4/midori-0.2.7.tar.bz2) = b1dcc479ceb938c8d9cdea098c8d72d563bce5010c27fbcaa4c992d10f2d809c
+SIZE (xfce4/midori-0.2.7.tar.bz2) = 771673
diff --git a/www/midori/files/patch-data_search b/www/midori/files/patch-data_search
new file mode 100644
index 000000000..4fafcf236
--- /dev/null
+++ b/www/midori/files/patch-data_search
@@ -0,0 +1,16 @@
+--- data/search.orig 2010-05-26 12:31:56.000000000 +0200
++++ data/search 2010-05-26 12:34:03.000000000 +0200
+@@ -6,6 +6,13 @@
+ icon=
+ token=g
+
++[FreshPorts]
++name=FreshPorts
++text=The changes made to the FreeBSD ports tree
++uri=http://www.freshports.org/search.php?query=%s
++icon=
++token=fp
++
+ [Wikipedia]
+ name=Wikipedia
+ text=The free encyclopedia
diff --git a/www/midori/files/patch-wscript b/www/midori/files/patch-wscript
new file mode 100644
index 000000000..ccab30837
--- /dev/null
+++ b/www/midori/files/patch-wscript
@@ -0,0 +1,12 @@
+--- wscript.orig 2010-05-26 12:34:09.000000000 +0200
++++ wscript 2010-05-26 12:35:30.000000000 +0200
+@@ -267,8 +267,7 @@
+ if not conf.env['HAVE_UNIQUE']:
+ if Options.platform == 'win32':
+ conf.check (lib='ws2_32')
+- check_pkg ('openssl', mandatory=False)
+- conf.define ('USE_SSL', [0,1][conf.env['HAVE_OPENSSL'] == 1])
++ conf.define ('HAVE_OPENSSL', [0,1][conf.check (header_name='openssl/opensslv.h')])
+ conf.define ('HAVE_NETDB_H', [0,1][conf.check (header_name='netdb.h')])
+ conf.check (header_name='sys/wait.h')
+ conf.check (header_name='sys/select.h')
diff --git a/www/midori/pkg-descr b/www/midori/pkg-descr
new file mode 100644
index 000000000..fa4e7314b
--- /dev/null
+++ b/www/midori/pkg-descr
@@ -0,0 +1,12 @@
+Midori is a lightweight web browser.
+
+* Full integration with GTK+2.
+* Fast rendering with WebKit.
+* Tabs, windows and session management.
+* Bookmarks are stored with XBEL.
+* Searchbox based on OpenSearch.
+* Custom context menu actions.
+* User scripts and user styles support.
+* Extensible via Lua scripts.
+
+WWW: http://software.twotoasts.de/?page=midori
diff --git a/www/midori/pkg-plist b/www/midori/pkg-plist
new file mode 100644
index 000000000..b45b4adbb
--- /dev/null
+++ b/www/midori/pkg-plist
@@ -0,0 +1,168 @@
+bin/midori
+etc/xdg/midori/search
+include/midori-0.2/extensions/external-applications.h
+include/midori-0.2/extensions/history-list.h
+lib/midori/libadblock.so
+lib/midori/libaddons.so
+lib/midori/libcolorful-tabs.so
+lib/midori/libcookie-manager.so
+lib/midori/libcopy-tabs.so
+lib/midori/libexternal-applications.so
+lib/midori/libfeed-panel.so
+lib/midori/libformhistory.so
+lib/midori/libhistory-list.so
+lib/midori/libmouse-gestures.so
+lib/midori/libpage-holder.so
+lib/midori/libshortcuts.so
+lib/midori/libstatus-clock.so
+lib/midori/libstatusbar-features.so
+lib/midori/libtabs-minimized.so
+lib/midori/libtab-panel.so
+lib/midori/libtoolbar-editor.so
+lib/midori/libweb-cache.so
+share/applications/midori.desktop
+%%DOCSDIR%%/AUTHORS
+%%DOCSDIR%%/COPYING
+%%DOCSDIR%%/ChangeLog
+%%DOCSDIR%%/EXPAT
+%%DOCSDIR%%/README
+%%APIDOCS%%%%DOCSDIR%%/api/katze/html/api-index-full.html
+%%APIDOCS%%%%DOCSDIR%%/api/katze/html/ch01.html
+%%APIDOCS%%%%DOCSDIR%%/api/katze/html/home.png
+%%APIDOCS%%%%DOCSDIR%%/api/katze/html/index.html
+%%APIDOCS%%%%DOCSDIR%%/api/katze/html/index.sgml
+%%APIDOCS%%%%DOCSDIR%%/api/katze/html/katze-KatzeItem.html
+%%APIDOCS%%%%DOCSDIR%%/api/katze/html/katze-KatzePreferences.html
+%%APIDOCS%%%%DOCSDIR%%/api/katze/html/katze-KatzeScrolled.html
+%%APIDOCS%%%%DOCSDIR%%/api/katze/html/katze-katze-array.html
+%%APIDOCS%%%%DOCSDIR%%/api/katze/html/katze-katze-arrayaction.html
+%%APIDOCS%%%%DOCSDIR%%/api/katze/html/katze-katze-http-auth.html
+%%APIDOCS%%%%DOCSDIR%%/api/katze/html/katze-katze-http-cookies.html
+%%APIDOCS%%%%DOCSDIR%%/api/katze/html/katze-katze-net.html
+%%APIDOCS%%%%DOCSDIR%%/api/katze/html/katze-katze-separatoraction.html
+%%APIDOCS%%%%DOCSDIR%%/api/katze/html/katze-katze-throbber.html
+%%APIDOCS%%%%DOCSDIR%%/api/katze/html/katze-katze-utils.html
+%%APIDOCS%%%%DOCSDIR%%/api/katze/html/katze.devhelp
+%%APIDOCS%%%%DOCSDIR%%/api/katze/html/katze.devhelp2
+%%APIDOCS%%%%DOCSDIR%%/api/katze/html/left.png
+%%APIDOCS%%%%DOCSDIR%%/api/katze/html/right.png
+%%APIDOCS%%%%DOCSDIR%%/api/katze/html/style.css
+%%APIDOCS%%%%DOCSDIR%%/api/katze/html/up.png
+%%APIDOCS%%%%DOCSDIR%%/api/midori/html/api-index-full.html
+%%APIDOCS%%%%DOCSDIR%%/api/midori/html/ch01.html
+%%APIDOCS%%%%DOCSDIR%%/api/midori/html/home.png
+%%APIDOCS%%%%DOCSDIR%%/api/midori/html/index.html
+%%APIDOCS%%%%DOCSDIR%%/api/midori/html/index.sgml
+%%APIDOCS%%%%DOCSDIR%%/api/midori/html/left.png
+%%APIDOCS%%%%DOCSDIR%%/api/midori/html/midori-GtkIconEntry.html
+%%APIDOCS%%%%DOCSDIR%%/api/midori/html/midori-MidoriBrowser.html
+%%APIDOCS%%%%DOCSDIR%%/api/midori/html/midori-MidoriExtension.html
+%%APIDOCS%%%%DOCSDIR%%/api/midori/html/midori-MidoriPreferences.html
+%%APIDOCS%%%%DOCSDIR%%/api/midori/html/midori-MidoriViewable.html
+%%APIDOCS%%%%DOCSDIR%%/api/midori/html/midori-midori-app.html
+%%APIDOCS%%%%DOCSDIR%%/api/midori/html/midori-midori-array.html
+%%APIDOCS%%%%DOCSDIR%%/api/midori/html/midori-midori-locationaction.html
+%%APIDOCS%%%%DOCSDIR%%/api/midori/html/midori-midori-panel.html
+%%APIDOCS%%%%DOCSDIR%%/api/midori/html/midori-midori-searchaction.html
+%%APIDOCS%%%%DOCSDIR%%/api/midori/html/midori-midori-stock.html
+%%APIDOCS%%%%DOCSDIR%%/api/midori/html/midori-midori-view.html
+%%APIDOCS%%%%DOCSDIR%%/api/midori/html/midori-midori-websettings.html
+%%APIDOCS%%%%DOCSDIR%%/api/midori/html/midori-midori.html
+%%APIDOCS%%%%DOCSDIR%%/api/midori/html/midori-socket.html
+%%APIDOCS%%%%DOCSDIR%%/api/midori/html/midori-sokoke.html
+%%APIDOCS%%%%DOCSDIR%%/api/midori/html/midori.devhelp
+%%APIDOCS%%%%DOCSDIR%%/api/midori/html/midori.devhelp2
+%%APIDOCS%%%%DOCSDIR%%/api/midori/html/right.png
+%%APIDOCS%%%%DOCSDIR%%/api/midori/html/style.css
+%%APIDOCS%%%%DOCSDIR%%/api/midori/html/up.png
+%%USERDOCS%%%%DOCSDIR%%/user/midori.html
+share/icons/hicolor/16x16/apps/midori.png
+share/icons/hicolor/16x16/categories/extension.png
+share/icons/hicolor/16x16/status/news-feed.png
+share/icons/hicolor/22x22/apps/midori.png
+share/icons/hicolor/22x22/categories/extension.png
+share/icons/hicolor/22x22/status/news-feed.png
+share/icons/hicolor/24x24/apps/midori.png
+share/icons/hicolor/24x24/categories/extension.png
+share/icons/hicolor/24x24/status/news-feed.png
+share/icons/hicolor/32x32/apps/midori.png
+share/icons/hicolor/32x32/categories/extension.png
+share/icons/hicolor/32x32/status/news-feed.png
+share/icons/hicolor/48x48/apps/midori.png
+share/icons/hicolor/48x48/categories/extension.png
+share/icons/hicolor/48x48/status/news-feed.png
+share/icons/hicolor/scalable/apps/midori.svg
+share/icons/hicolor/scalable/categories/extension.svg
+share/icons/hicolor/scalable/status/news-feed.svg
+%%NLS%%share/locale/ast/LC_MESSAGES/midori.mo
+%%NLS%%share/locale/ca/LC_MESSAGES/midori.mo
+%%NLS%%share/locale/cs/LC_MESSAGES/midori.mo
+%%NLS%%share/locale/da/LC_MESSAGES/midori.mo
+%%NLS%%share/locale/de/LC_MESSAGES/midori.mo
+%%NLS%%share/locale/el/LC_MESSAGES/midori.mo
+%%NLS%%share/locale/en_GB/LC_MESSAGES/midori.mo
+%%NLS%%share/locale/es/LC_MESSAGES/midori.mo
+%%NLS%%share/locale/et/LC_MESSAGES/midori.mo
+%%NLS%%share/locale/fi/LC_MESSAGES/midori.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/midori.mo
+%%NLS%%share/locale/gl/LC_MESSAGES/midori.mo
+%%NLS%%share/locale/he/LC_MESSAGES/midori.mo
+%%NLS%%share/locale/hr/LC_MESSAGES/midori.mo
+%%NLS%%share/locale/hu/LC_MESSAGES/midori.mo
+%%NLS%%share/locale/id/LC_MESSAGES/midori.mo
+%%NLS%%share/locale/it/LC_MESSAGES/midori.mo
+%%NLS%%share/locale/ja/LC_MESSAGES/midori.mo
+%%NLS%%share/locale/ko/LC_MESSAGES/midori.mo
+%%NLS%%share/locale/nl/LC_MESSAGES/midori.mo
+%%NLS%%share/locale/no/LC_MESSAGES/midori.mo
+%%NLS%%share/locale/pa/LC_MESSAGES/midori.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/midori.mo
+%%NLS%%share/locale/pt/LC_MESSAGES/midori.mo
+%%NLS%%share/locale/pt_BR/LC_MESSAGES/midori.mo
+%%NLS%%share/locale/ro/LC_MESSAGES/midori.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/midori.mo
+%%NLS%%share/locale/sk/LC_MESSAGES/midori.mo
+%%NLS%%share/locale/sr/LC_MESSAGES/midori.mo
+%%NLS%%share/locale/sr@latin/LC_MESSAGES/midori.mo
+%%NLS%%share/locale/sv/LC_MESSAGES/midori.mo
+%%NLS%%share/locale/tr/LC_MESSAGES/midori.mo
+%%NLS%%share/locale/ug/LC_MESSAGES/midori.mo
+%%NLS%%share/locale/uk/LC_MESSAGES/midori.mo
+%%NLS%%share/locale/zh_CN/LC_MESSAGES/midori.mo
+%%NLS%%share/locale/zh_TW/LC_MESSAGES/midori.mo
+%%DATADIR%%/res/autosuggestcontrol.css
+%%DATADIR%%/res/autosuggestcontrol.js
+%%DATADIR%%/res/error.html
+%%DATADIR%%/res/logo-shade.png
+%%DATADIR%%/res/mootools.js
+%%DATADIR%%/res/speeddial-head.html
+%%DATADIR%%/res/speeddial.json
+share/vala/vapi/external-applications.deps
+share/vala/vapi/external-applications.vapi
+share/vala/vapi/history-list.deps
+share/vala/vapi/history-list.vapi
+@dirrmtry share/vala/vapi
+@dirrmtry share/vala
+@dirrm %%DATADIR%%/res
+@dirrm %%DATADIR%%
+%%NLS%%@dirrmtry share/locale/ug/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/ug
+%%NLS%%@dirrmtry share/locale/sr@latin/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/sr@latin
+%%NLS%%@dirrmtry share/locale/ast/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/ast
+%%APIDOCS%%@dirrm %%DOCSDIR%%/api/midori/html
+%%APIDOCS%%@dirrm %%DOCSDIR%%/api/midori
+%%APIDOCS%%@dirrm %%DOCSDIR%%/api/katze/html
+%%APIDOCS%%@dirrm %%DOCSDIR%%/api/katze
+%%APIDOCS%%@dirrm %%DOCSDIR%%/api
+%%USERDOCS%%@dirrm %%DOCSDIR%%/user
+@dirrm %%DOCSDIR%%
+@dirrmtry share/applications
+@dirrm lib/midori
+@dirrm include/midori-0.2/extensions
+@dirrm include/midori-0.2
+@dirrm etc/xdg/midori
+@dirrmtry etc/xdg
+@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
+@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true