summaryrefslogtreecommitdiffstats
path: root/www/midori
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2011-03-07 07:12:47 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2011-03-07 07:12:47 +0800
commitc02b03a2057196912df7e5b8a6494f2557b74297 (patch)
tree9d4df288f77dfc31f41e21863356f23ad1ad87e9 /www/midori
parenta1ba0b10c15818d7c9cf2829be4cc54b9c56e27f (diff)
downloadmarcuscom-ports-c02b03a2057196912df7e5b8a6494f2557b74297.tar
marcuscom-ports-c02b03a2057196912df7e5b8a6494f2557b74297.tar.gz
marcuscom-ports-c02b03a2057196912df7e5b8a6494f2557b74297.tar.bz2
marcuscom-ports-c02b03a2057196912df7e5b8a6494f2557b74297.tar.lz
marcuscom-ports-c02b03a2057196912df7e5b8a6494f2557b74297.tar.xz
marcuscom-ports-c02b03a2057196912df7e5b8a6494f2557b74297.tar.zst
marcuscom-ports-c02b03a2057196912df7e5b8a6494f2557b74297.zip
Chase webkit-gtk2 shlib name change libwebkit-1.0.so.13 -> libwebkitgtk-1.0.so.0
Bump portrevision except broken ports. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@15365 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'www/midori')
-rw-r--r--www/midori/Makefile101
-rw-r--r--www/midori/distinfo2
-rw-r--r--www/midori/files/patch-data_search16
-rw-r--r--www/midori/files/patch-wscript25
-rw-r--r--www/midori/pkg-descr12
-rw-r--r--www/midori/pkg-plist166
6 files changed, 322 insertions, 0 deletions
diff --git a/www/midori/Makefile b/www/midori/Makefile
new file mode 100644
index 000000000..4e28e0fe7
--- /dev/null
+++ b/www/midori/Makefile
@@ -0,0 +1,101 @@
+# New ports collection makefile for: midori
+# Date created: 2007-10-21
+# Whom: Michael Johnson <ahze@FreeBSD.org>
+#
+# $FreeBSD: ports/www/midori/Makefile,v 1.23 2011/02/25 11:08:41 kwm Exp $
+# $MCom: ports/www/midori/Makefile,v 1.21 2010/04/05 21:56:26 kwm Exp $
+#
+
+PORTNAME= midori
+PORTVERSION= 0.3.2
+PORTREVISION= 1
+CATEGORIES= www xfce
+MASTER_SITES= ${MASTER_SITE_XFCE}
+MASTER_SITE_SUBDIR= src/apps/${PORTNAME}/${PORTVERSION:R}
+DIST_SUBDIR= xfce4
+
+MAINTAINER= kwm@FreeBSD.org
+COMMENT= Lightweight web browser using WebKit browser engine
+
+LIB_DEPENDS= webkitgtk-1.0.0:${PORTSDIR}/www/webkit-gtk2 \
+ sqlite3.8:${PORTSDIR}/databases/sqlite3 \
+ notify.1:${PORTSDIR}/devel/libnotify
+BUILD_DEPENDS= rsvg-convert:${PORTSDIR}/graphics/librsvg2 \
+ valac:${PORTSDIR}/lang/vala
+
+LICENSE= LGPL21
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+CONFIGURE_ARGS+=--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 desktopfileutils
+USE_XORG= xscrnsaver
+INSTALLS_ICONS= yes
+USE_LDCONFIG= yes
+.if !defined(WITHOUT_NLS)
+USE_GETTEXT= yes
+.endif
+
+PLIST_SUB= VERSION="${PORTVERSION:R}"
+
+OPTIONS= NLS "Enable Native Language support" on \
+ USERDOCS "Build user documentation" off \
+ APIDOCS "Build api documentation" off \
+ UNIQUE "Enable single instance support" off
+
+.include <bsd.port.pre.mk>
+
+# WAF needs that
+CONFIGURE_ENV+= CC="${CC}"
+
+.if !defined(WITHOUT_NLS)
+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
+
+.if defined(WITH_UNIQUE)
+LIB_DEPENDS+= unique-1.0.2:${PORTSDIR}/x11-toolkits/unique
+CONFIGURE_ARGS+=--enable-unique
+.else
+CONFIGURE_ARGS+=--disable-unique
+.endif
+
+post-install:
+ @-update-desktop-database
+.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..8494241f3
--- /dev/null
+++ b/www/midori/distinfo
@@ -0,0 +1,2 @@
+SHA256 (xfce4/midori-0.3.2.tar.bz2) = 9316803fdd68842c43f06afe645ec4fa45206f142796f6131d2761ba3415e2bc
+SIZE (xfce4/midori-0.3.2.tar.bz2) = 826287
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..232a99069
--- /dev/null
+++ b/www/midori/files/patch-wscript
@@ -0,0 +1,25 @@
+--- wscript.orig 2011-02-20 00:00:26.000000000 +0100
++++ wscript 2011-02-20 10:27:54.000000000 +0100
+@@ -99,10 +99,9 @@
+ conf.check_tool ('glib2')
+
+ if option_enabled ('userdocs'):
+- conf.find_program ('rst2html.py', var='RST2HTML')
+- # debian renames the executable, check that as well :(
++ conf.find_program ('rst2html', var='RST2HTML')
+ if not conf.env['RST2HTML']:
+- conf.find_program ('rst2html', var='RST2HTML')
++ conf.find_program ('rst2html.py', var='RST2HTML')
+ if conf.env['RST2HTML']:
+ user_docs = 'yes'
+ else:
+@@ -261,8 +260,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..f9ad202ff
--- /dev/null
+++ b/www/midori/pkg-plist
@@ -0,0 +1,166 @@
+bin/midori
+etc/xdg/midori/search
+include/midori-%%VERSION%%/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/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/libtab-panel.so
+lib/midori/libtabs-minimized.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/ar/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/lt/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/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-%%VERSION%%/extensions
+@dirrm include/midori-%%VERSION%%
+@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