summaryrefslogtreecommitdiffstats
path: root/www/kazehakase
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2010-07-05 19:34:49 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2010-07-05 19:34:49 +0800
commitbde500a3f7cf00b9c196f3393e21c440b318b03f (patch)
treeb107009a045c5f5fad5d442bbd34f58d031772cb /www/kazehakase
parent910ed5f4ecfca362ba908a3f74a888b6e78022ff (diff)
downloadmarcuscom-ports-bde500a3f7cf00b9c196f3393e21c440b318b03f.tar
marcuscom-ports-bde500a3f7cf00b9c196f3393e21c440b318b03f.tar.gz
marcuscom-ports-bde500a3f7cf00b9c196f3393e21c440b318b03f.tar.bz2
marcuscom-ports-bde500a3f7cf00b9c196f3393e21c440b318b03f.tar.lz
marcuscom-ports-bde500a3f7cf00b9c196f3393e21c440b318b03f.tar.xz
marcuscom-ports-bde500a3f7cf00b9c196f3393e21c440b318b03f.tar.zst
marcuscom-ports-bde500a3f7cf00b9c196f3393e21c440b318b03f.zip
webkit-gtk2 shlib changed its name. Chase all users. also update some
depend lines to include a version because there is now a webkitgtk-1.0 and webkitgtk-3.0. So webkitgtk matches both. While here reset epiphany back to the 2.30 version. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@14295 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'www/kazehakase')
-rw-r--r--www/kazehakase/Makefile91
-rw-r--r--www/kazehakase/distinfo3
-rw-r--r--www/kazehakase/files/patch-configure11
-rw-r--r--www/kazehakase/files/patch-etc::bookmarkbar.xml23
-rw-r--r--www/kazehakase/files/patch-src_net_kz-http.c11
-rw-r--r--www/kazehakase/pkg-descr14
-rw-r--r--www/kazehakase/pkg-plist84
7 files changed, 237 insertions, 0 deletions
diff --git a/www/kazehakase/Makefile b/www/kazehakase/Makefile
new file mode 100644
index 000000000..53429d13b
--- /dev/null
+++ b/www/kazehakase/Makefile
@@ -0,0 +1,91 @@
+# New ports collection makefile for: kazehakase
+# Date created: 2004-04-06
+# Whom: michael johnson <ahze@ahze.net>
+#
+# $FreeBSD: ports/www/kazehakase/Makefile,v 1.77 2010/05/31 02:01:26 ade Exp $
+# $MCom: ports/www/kazehakase/Makefile,v 1.26 2009/10/22 22:10:49 kwm Exp $
+#
+
+PORTNAME= kazehakase
+PORTVERSION= 0.5.8
+PORTREVISION= 4
+CATEGORIES= www
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP}
+MASTER_SITE_SUBDIR= ${PORTNAME}/43802
+
+MAINTAINER= ahze@FreeBSD.org
+COMMENT= Kazehakase is a browser with gecko engine like Epiphany or Galeon
+
+LIB_DEPENDS= gnutls.40:${PORTSDIR}/security/gnutls \
+ estraier.8:${PORTSDIR}/textproc/hyperestraier
+
+USE_GNOME= gnomehack intlhack gnomeprefix gtk20
+USE_GMAKE= yes
+USE_GETTEXT= yes
+USE_GECKO= libxul seamonkey
+USE_LDCONFIG= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --with-gecko_engine=${GECKO}
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS} \
+ -I${LOCALBASE}/include/nspr" \
+ LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
+MAN1= kazehakase.1
+OPTIONS= WEBKIT "Webkit Backend (along with Gecko)" On
+
+.if defined(WITH_MIGEMO)
+USE_RUBY= yes
+BUILD_DEPENDS+= ${RUBY_SITEARCHLIBDIR}/uconv.so:${PORTSDIR}/japanese/ruby-uconv
+RUN_DEPENDS+= ${RUBY_SITEARCHLIBDIR}/uconv.so:${PORTSDIR}/japanese/ruby-uconv
+.endif
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 700000
+BROKEN= does not build on 6.x
+.endif
+
+.if defined(WITH_WEBKIT)
+LIB_DEPENDS+= webkitgtk-1.0.13:${PORTSDIR}/www/webkit-gtk2
+PLIST_SUB+= WEBKIT=""
+.else
+PLIST_SUB+= WEBKIT="@comment "
+.endif
+
+.if defined(WITH_THUMBNAIL) || exists(${LOCALBASE}/bin/gs)
+USE_GHOSTSCRIPT=yes
+.endif
+
+.if defined(WITH_MIGEMO)
+.if ${ARCH} == "i386" || ${ARCH} == "sparc64"
+RUN_DEPENDS+= migemo:${PORTSDIR}/japanese/migemo
+
+CONFIGURE_ARGS+= --enable-migemo
+.endif
+.endif
+
+pre-everything::
+ @${ECHO_MSG} ""
+ @${ECHO_MSG} "Enable Migemo (Japanese incremental search) by defining WITH_MIGEMO"
+ @${ECHO_MSG} ""
+ @${ECHO_MSG} "Enable Thumbnail support by defining WITH_THUMBNAIL"
+ @${ECHO_MSG} ""
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|/usr/share/migemo|${LOCALBASE}/share/migemo|; \
+ s|=beginner|=medium|' ${WRKSRC}/etc/kzrc
+.if defined(WITH_MIGEMO)
+ @${REINPLACE_CMD} -e 's|migemo=fals|migemo=tru|' ${WRKSRC}/etc/kzrc
+.endif
+.if defined(WITH_THUMBNAIL)
+ @${ECHO_MSG} "create_thumbnail=true" >> ${WRKSRC}/etc/kzrc
+.endif
+ @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \
+ 's|-D.*_DISABLE_DEPRECATED=1||g'
+ @${REINPLACE_CMD} -e 's|-D.*_DISABLE_DEPRECATED||g' \
+ ${WRKSRC}/configure
+
+pre-install:
+ @${REINPLACE_CMD} -e 's|localen|locale|' \
+ ${WRKSRC}/po/Makefile
+
+.include <bsd.port.post.mk>
diff --git a/www/kazehakase/distinfo b/www/kazehakase/distinfo
new file mode 100644
index 000000000..eded3d9e8
--- /dev/null
+++ b/www/kazehakase/distinfo
@@ -0,0 +1,3 @@
+MD5 (kazehakase-0.5.8.tar.gz) = 22d831982ebe010338907381caee8fdf
+SHA256 (kazehakase-0.5.8.tar.gz) = 1d461c56b3df86544d123d2a15484a156a6053c4fe2884d773a987d450406943
+SIZE (kazehakase-0.5.8.tar.gz) = 1433099
diff --git a/www/kazehakase/files/patch-configure b/www/kazehakase/files/patch-configure
new file mode 100644
index 000000000..9a617da0c
--- /dev/null
+++ b/www/kazehakase/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig Mon May 29 10:03:44 2006
++++ configure Mon May 29 10:03:54 2006
+@@ -976,7 +976,7 @@
+ psdir='${docdir}'
+ libdir='${exec_prefix}/lib'
+ localedir='${datarootdir}/locale'
+-mandir='${datarootdir}/man'
++mandir='${prefix}/man'
+
+ ac_prev=
+ ac_dashdash=
diff --git a/www/kazehakase/files/patch-etc::bookmarkbar.xml b/www/kazehakase/files/patch-etc::bookmarkbar.xml
new file mode 100644
index 000000000..3609035d6
--- /dev/null
+++ b/www/kazehakase/files/patch-etc::bookmarkbar.xml
@@ -0,0 +1,23 @@
+--- etc/bookmarkbar.xml.orig Thu Oct 28 19:38:33 2004
++++ etc/bookmarkbar.xml Thu Oct 28 19:39:48 2004
+@@ -10,6 +10,20 @@
+ </bookmark>
+ <separator/>
+ <folder>
++ <title>FreeBSD News</title>
++ <info>
++ <metadata owner="http://kazehakase.sourceforge.jp/" kz:location="http://www.freebsd.org/news/news.rdf">
++ </metadata>
++ </info>
++ </folder>
++ <folder>
++ <title>FreshPorts</title>
++ <info>
++ <metadata owner="http://kazehakase.sourceforge.jp/" kz:location="http://www.freshports.org/backend/rss2.0.php">
++ </metadata>
++ </info>
++ </folder>
++ <folder>
+ <title>Yahoo!News</title>
+ <info>
+ <metadata owner="http://kazehakase.sourceforge.jp/" kz:location="http://rss.news.yahoo.com/rss/topstories">
diff --git a/www/kazehakase/files/patch-src_net_kz-http.c b/www/kazehakase/files/patch-src_net_kz-http.c
new file mode 100644
index 000000000..deb8e918b
--- /dev/null
+++ b/www/kazehakase/files/patch-src_net_kz-http.c
@@ -0,0 +1,11 @@
+--- src/net/kz-http.c.orig 2009-09-04 00:46:36.000000000 +0200
++++ src/net/kz-http.c 2009-09-04 00:46:49.000000000 +0200
+@@ -25,7 +25,7 @@
+ # include "config.h"
+ #endif /* HAVE_CONFIG_H */
+
+-#include <features.h>
++//#include <features.h>
+ #define __USE_XOPEN
+ #include <time.h>
+ #include "gnet.h"
diff --git a/www/kazehakase/pkg-descr b/www/kazehakase/pkg-descr
new file mode 100644
index 000000000..238ff04cc
--- /dev/null
+++ b/www/kazehakase/pkg-descr
@@ -0,0 +1,14 @@
+Kazehakase is a browser with gecko engine like Epiphany or Galeon.
+
+Main features:
+
+ o Tabbed browsing
+ o Remote bookmark (e.g. RSS) in menu or sidebar
+ It is able to update periodically
+ o In Japan, there are other remote bookmarks, for instance, LIRS
+ (In Japanese), hina-di (In Japanese) , Kazehakase can handle these ones.
+ o Variable UI (menus, toolbar etc.) on user level
+ o Customizable mouse gestures
+ o Customizable key accelerator
+
+WWW: http://kazehakase.sourceforge.jp/
diff --git a/www/kazehakase/pkg-plist b/www/kazehakase/pkg-plist
new file mode 100644
index 000000000..d27231a95
--- /dev/null
+++ b/www/kazehakase/pkg-plist
@@ -0,0 +1,84 @@
+bin/kazehakase
+bin/kz-embed-process
+etc/kazehakase/bookmarkbar.xml
+etc/kazehakase/bookmarks.xml
+etc/kazehakase/kz-ui-beginner.xml
+etc/kazehakase/kz-ui-bookmarks.xml
+etc/kazehakase/kz-ui-expert.xml
+etc/kazehakase/kz-ui-medium.xml
+etc/kazehakase/kzrc
+etc/kazehakase/mozilla/encodings.xml
+etc/kazehakase/proxyrc
+etc/kazehakase/smartbookmarks.xml
+lib/kazehakase/libkazehakase.la
+lib/kazehakase/libkazehakase.so
+lib/kazehakase/libkazehakase.so.1
+lib/kazehakase/embed/gecko.la
+lib/kazehakase/embed/gecko.so
+lib/kazehakase/embed/per_process.la
+lib/kazehakase/embed/per_process.so
+%%WEBKIT%%lib/kazehakase/embed/webkit_gtk.la
+%%WEBKIT%%lib/kazehakase/embed/webkit_gtk.so
+lib/kazehakase/search/hyper-estraier.la
+lib/kazehakase/search/hyper-estraier.so
+share/applications/kazehakase.desktop
+share/kazehakase/icons/autoscroll.xpm
+share/kazehakase/icons/kz-anchor.png
+share/kazehakase/icons/kz-book-search.png
+share/kazehakase/icons/kz-bookmark.png
+share/kazehakase/icons/kz-closebackward.png
+share/kazehakase/icons/kz-closeforward.png
+share/kazehakase/icons/kz-closewindow.png
+share/kazehakase/icons/kz-copyimagelocation.png
+share/kazehakase/icons/kz-copyurl.png
+share/kazehakase/icons/kz-epiphany.png
+share/kazehakase/icons/kz-firefox.png
+share/kazehakase/icons/kz-folder-open.png
+share/kazehakase/icons/kz-folder-search.png
+share/kazehakase/icons/kz-folder.png
+share/kazehakase/icons/kz-font-decrease.png
+share/kazehakase/icons/kz-font-increase.png
+share/kazehakase/icons/kz-galeon.png
+share/kazehakase/icons/kz-google.png
+share/kazehakase/icons/kz-gray.png
+share/kazehakase/icons/kz-green.png
+share/kazehakase/icons/kz-history.png
+share/kazehakase/icons/kz-konqueror.png
+share/kazehakase/icons/kz-logo-bg.png
+share/kazehakase/icons/kz-logo.png
+share/kazehakase/icons/kz-mozilla.png
+share/kazehakase/icons/kz-netscape.png
+share/kazehakase/icons/kz-newwindow.png
+share/kazehakase/icons/kz-openimagewindow.png
+share/kazehakase/icons/kz-openlinkwindow.png
+share/kazehakase/icons/kz-openselectedlink.png
+share/kazehakase/icons/kz-red.png
+share/kazehakase/icons/kz-remote-bookmark.png
+share/kazehakase/icons/kz-rss-feed.png
+share/kazehakase/icons/kz-savelink.png
+share/kazehakase/icons/kz-scrap-bookmark.png
+share/kazehakase/icons/kz-search.png
+share/kazehakase/icons/kz-separator.png
+share/kazehakase/icons/kz-smart-bookmark.png
+share/kazehakase/icons/kz-tab-next.png
+share/kazehakase/icons/kz-tab-prev.png
+share/kazehakase/icons/kz-view-source.png
+share/kazehakase/icons/kz-yellow.png
+share/kazehakase/kz-no-thumbnail.png
+share/kazehakase/search-result.css
+share/kazehakase/search-result.js
+share/pixmaps/kazehakase-icon.png
+share/locale/cs/LC_MESSAGES/kazehakase.mo
+share/locale/de/LC_MESSAGES/kazehakase.mo
+share/locale/fr/LC_MESSAGES/kazehakase.mo
+share/locale/ja/LC_MESSAGES/kazehakase.mo
+share/locale/nl/LC_MESSAGES/kazehakase.mo
+share/locale/ru/LC_MESSAGES/kazehakase.mo
+@dirrm share/kazehakase/icons
+@dirrm share/kazehakase
+@dirrm lib/kazehakase/search
+@dirrm lib/kazehakase/embed
+@dirrm lib/kazehakase
+@dirrm etc/kazehakase/mozilla
+@dirrm etc/kazehakase
+@dirrmtry share/applications