aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to 'www')
-rw-r--r--www/Makefile1
-rw-r--r--www/kazehakase/Makefile73
-rw-r--r--www/kazehakase/distinfo2
-rw-r--r--www/kazehakase/files/patch-configure13
-rw-r--r--www/kazehakase/files/patch-etc::bookmarkbar.xml27
-rw-r--r--www/kazehakase/files/patch-src::kazehakase.in25
-rw-r--r--www/kazehakase/files/patch-src::main.c19
-rw-r--r--www/kazehakase/files/patch-src::prefs_ui::prefs_privacy.c11
-rw-r--r--www/kazehakase/pkg-descr14
-rw-r--r--www/kazehakase/pkg-plist47
10 files changed, 232 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 8af40cc8ae0f..ad24b1e041e2 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -173,6 +173,7 @@
SUBDIR += jonah
SUBDIR += junkbuster
SUBDIR += kannel
+ SUBDIR += kazehakase
SUBDIR += knowledgekit
SUBDIR += konqueror-nsplugins
SUBDIR += larbin
diff --git a/www/kazehakase/Makefile b/www/kazehakase/Makefile
new file mode 100644
index 000000000000..6b532416f444
--- /dev/null
+++ b/www/kazehakase/Makefile
@@ -0,0 +1,73 @@
+# New ports collection makefile for: kazehakase
+# Date created: 2004-04-06
+# Whom: michael johnson <ahze@ahze.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= kazehakase
+PORTVERSION= 0.1.8.1
+CATEGORIES= www
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP}
+MASTER_SITE_SUBDIR= ${PORTNAME}/10618/
+
+MAINTAINER= ahze@ahze.net
+COMMENT= Kazehakase is a browser with gecko engine like Epiphany or Galeon
+
+BUILD_DEPENDS= ${X11BASE}/lib/${MOZILLA}/components/libwidget_gtk2.so:${PORTSDIR}/www/${MOZILLA}
+RUN_DEPENDS= ${X11BASE}/lib/${MOZILLA}/components/libwidget_gtk2.so:${PORTSDIR}/www/${MOZILLA}
+
+MOZILLA= mozilla
+HEADERS_SUFX=
+
+.if !defined(WITH_MOZILLA)
+MOZILLA= mozilla
+HEADERS_SUFX=
+.else
+.if ${WITH_MOZILLA}=="mozilla-devel" || ${WITH_MOZILLA}=="mozilla-devel-gtk2"
+MOZILLA= mozilla-devel
+HEADERS_SUFX= -devel
+.else
+MOZILLA= mozilla
+HEADERS_SUFX=
+.endif
+.endif
+
+USE_LIBTOOL_VER=13
+USE_X_PREFIX= yes
+USE_GNOME= gnomehack intlhack gnomeprefix gtk20
+USE_GMAKE= yes
+USE_REINPLACE= yes
+CONFIGURE_ARGS= --with-mozilla-includes="${X11BASE}/include/mozilla${HEADERS_SUFX}" \
+ --with-mozilla-libs="${X11BASE}/lib/${MOZILLA}" \
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}" \
+ LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
+
+OPTIONS= MIGEMO "Enable Migemo (Japanese incremental search)" Off
+
+FLASHPLAYER= ${LOCALBASE}/lib/libflashplayer.so.1
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_MIGEMO)
+.if ${ARCH} == "i386" || ${ARCH} == "sparc64"
+RUN_DEPENDS+= migemo:${PORTSDIR}/japanese/migemo \
+ ${RUBY_SITEARCHLIBDIR}/uconv.so:${PORTSDIR}/japanese/ruby-uconv
+
+CONFIUGURE_ARGS+= --enable-migemo
+.endif
+.endif
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|mozilla-gtkmozembed|mozilla-gtkmozembed${HEADERS_SUFX}|g' \
+ ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|regex.h|gnuregex.h|' \
+ ${WRKSRC}/src/prefs_ui/prefs_location_entry.c
+
+post-configure:
+ @${REINPLACE_CMD} -e 's|%%FLASHPLAYER%%|${FLASHPLAYER}|; \
+ s|%%PREFIX%%|${PREFIX}|; s|%%X11BASE%%|${X11BASE}|; \
+ s|%%LOCALBASE%%|${LOCALBASE}|; s|%%MOZILLA%%|${MOZILLA}|' \
+ ${WRKSRC}/src/kazehakase
+
+.include <bsd.port.post.mk>
diff --git a/www/kazehakase/distinfo b/www/kazehakase/distinfo
new file mode 100644
index 000000000000..46df9a38d243
--- /dev/null
+++ b/www/kazehakase/distinfo
@@ -0,0 +1,2 @@
+MD5 (kazehakase-0.1.8.1.tar.gz) = 1a4f67f125657e4f630e8418ca69f4cf
+SIZE (kazehakase-0.1.8.1.tar.gz) = 1007770
diff --git a/www/kazehakase/files/patch-configure b/www/kazehakase/files/patch-configure
new file mode 100644
index 000000000000..0bdbab59a233
--- /dev/null
+++ b/www/kazehakase/files/patch-configure
@@ -0,0 +1,13 @@
+--- configure.orig Fri Aug 27 12:36:22 2004
++++ configure Fri Aug 27 12:37:21 2004
+@@ -19324,7 +19324,10 @@
+ 1.7rc3) MOZILLA_SNAPSHOT=15 ;;
+ 1.7) MOZILLA_SNAPSHOT=15 ;;
+ 1.7.1) MOZILLA_SNAPSHOT=15 ;;
++ 1.7.2) MOZILLA_SNAPSHOT=15 ;;
+ 1.8a) MOZILLA_SNAPSHOT=16 ;;
++ 1.8a2) MOZILLA_SNAPSHOT=16 ;;
++ 1.8a3) MOZILLA_SNAPSHOT=16 ;;
+ trunk) MOZILLA_SNAPSHOT=16 ;;
+ *) { { echo "$as_me:$LINENO: error:
+ *****************************************************************************
diff --git a/www/kazehakase/files/patch-etc::bookmarkbar.xml b/www/kazehakase/files/patch-etc::bookmarkbar.xml
new file mode 100644
index 000000000000..50b0bb367960
--- /dev/null
+++ b/www/kazehakase/files/patch-etc::bookmarkbar.xml
@@ -0,0 +1,27 @@
+--- etc/bookmarkbar.xml.orig Thu Jun 10 03:35:09 2004
++++ etc/bookmarkbar.xml Fri Aug 27 11:34:25 2004
+@@ -10,6 +10,24 @@
+ </bookmark>
+ <separator/>
+ <folder>
++ <title>FreeBSD News</title>
++ <info>
++ <metadata owner="http://kazehakase.sourceforge.jp/">
++ <location>http://www.freebsd.org/news/news.rdf</location>
++ <update_interval>60</update_interval>
++ </metadata>
++ </info>
++ </folder>
++ <folder>
++ <title>FreshPorts</title>
++ <info>
++ <metadata owner="http://kazehakase.sourceforge.jp/">
++ <location>http://www.freshports.org/news.php</location>
++ <update_interval>60</update_interval>
++ </metadata>
++ </info>
++ </folder>
++ <folder>
+ <title>Yahoo!News</title>
+ <info>
+ <metadata owner="http://kazehakase.sourceforge.jp/">
diff --git a/www/kazehakase/files/patch-src::kazehakase.in b/www/kazehakase/files/patch-src::kazehakase.in
new file mode 100644
index 000000000000..733faea42bd9
--- /dev/null
+++ b/www/kazehakase/files/patch-src::kazehakase.in
@@ -0,0 +1,25 @@
+--- src/kazehakase.in.orig Thu Aug 7 07:23:09 2003
++++ src/kazehakase.in Fri Aug 27 12:06:47 2004
+@@ -2,6 +2,11 @@
+
+ dist_bin=`dirname $0`
+
++if [ -z "$MOZ_PLUGIN_PATH" ]; then
++ MOZ_PLUGIN_PATH=%%X11BASE%%/lib/browser_plugins
++ export MOZ_PLUGIN_PATH
++fi
++
+ if test -n "$MOZILLA_FIVE_HOME"; then
+ MOZILLA_HOME=$MOZILLA_FIVE_HOME
+ elif [ -f @MOZILLA_HOME@/chrome/comm.jar ]; then
+@@ -17,4 +22,9 @@
+ MOZILLA_FIVE_HOME=$MOZILLA_HOME
+ export MOZILLA_FIVE_HOME
+
+-exec "$dist_bin/kz" "$@"
++if [ -f %%FLASHPLAYER%% ]; then
++ LD_PRELOAD=%%FLASHPLAYER%%
++ export LD_PRELOAD
++fi
++
++exec "%%PREFIX%%/bin/kz" "$@"
diff --git a/www/kazehakase/files/patch-src::main.c b/www/kazehakase/files/patch-src::main.c
new file mode 100644
index 000000000000..94418ff78917
--- /dev/null
+++ b/www/kazehakase/files/patch-src::main.c
@@ -0,0 +1,19 @@
+--- src/main.c.orig Sat Aug 28 00:28:30 2004
++++ src/main.c Sat Aug 28 00:28:47 2004
+@@ -318,6 +318,7 @@
+ GList *list = kz_window_get_window_list();
+ KzWindow *kz;
+ gchar **argv;
++ gchar *uri;
+ gint i;
+
+ if (!list || !list->data || !KZ_IS_WINDOW(list->data)) return;
+@@ -338,7 +339,7 @@
+ continue;
+ }
+
+- gchar *uri = complement_scheme(argv[i]);
++ uri = complement_scheme(argv[i]);
+ kz_window_open_new_tab(kz, uri);
+ g_free(uri);
+ }
diff --git a/www/kazehakase/files/patch-src::prefs_ui::prefs_privacy.c b/www/kazehakase/files/patch-src::prefs_ui::prefs_privacy.c
new file mode 100644
index 000000000000..34f30edf680f
--- /dev/null
+++ b/www/kazehakase/files/patch-src::prefs_ui::prefs_privacy.c
@@ -0,0 +1,11 @@
+--- src/prefs_ui/prefs_privacy.c.orig Sat Aug 28 00:27:18 2004
++++ src/prefs_ui/prefs_privacy.c Sat Aug 28 00:27:34 2004
+@@ -111,7 +111,7 @@
+ {
+ KzPrefsPrivacy *prefsui = g_new0(KzPrefsPrivacy, 1);
+ GtkWidget *main_vbox, *vbox, *hbox, *frame;
+- GtkWidget *radio1, *radio2, *radio3, *radio4;;
++ GtkWidget *radio1, *radio2, *radio3, *radio4;
+ GtkWidget *label, *spin, *check;
+ GtkWidget *button;
+ GtkAdjustment *adj;
diff --git a/www/kazehakase/pkg-descr b/www/kazehakase/pkg-descr
new file mode 100644
index 000000000000..238ff04cc2b6
--- /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 000000000000..996f0a45d1da
--- /dev/null
+++ b/www/kazehakase/pkg-plist
@@ -0,0 +1,47 @@
+bin/kazehakase
+bin/kz
+bin/kzmigemo
+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/proxyrc
+etc/kazehakase/smartbookmarks.xml
+share/gnome/applications/kazehakase.desktop
+share/gnome/kazehakase/icons/kz-anchor.png
+share/gnome/kazehakase/icons/kz-bookmark.png
+share/gnome/kazehakase/icons/kz-closebackward.png
+share/gnome/kazehakase/icons/kz-closeforward.png
+share/gnome/kazehakase/icons/kz-closewindow.png
+share/gnome/kazehakase/icons/kz-copyimagelocation.png
+share/gnome/kazehakase/icons/kz-copyurl.png
+share/gnome/kazehakase/icons/kz-editor.png
+share/gnome/kazehakase/icons/kz-folder-open.png
+share/gnome/kazehakase/icons/kz-folder.png
+share/gnome/kazehakase/icons/kz-google.png
+share/gnome/kazehakase/icons/kz-gray.png
+share/gnome/kazehakase/icons/kz-green.png
+share/gnome/kazehakase/icons/kz-history.png
+share/gnome/kazehakase/icons/kz-logo-bg.png
+share/gnome/kazehakase/icons/kz-logo.png
+share/gnome/kazehakase/icons/kz-newwindow.png
+share/gnome/kazehakase/icons/kz-openimagewindow.png
+share/gnome/kazehakase/icons/kz-openlinkwindow.png
+share/gnome/kazehakase/icons/kz-openselectedlink.png
+share/gnome/kazehakase/icons/kz-red.png
+share/gnome/kazehakase/icons/kz-remote-bookmark.png
+share/gnome/kazehakase/icons/kz-savelink.png
+share/gnome/kazehakase/icons/kz-scrap-bookmark.png
+share/gnome/kazehakase/icons/kz-search.png
+share/gnome/kazehakase/icons/kz-separator.png
+share/gnome/kazehakase/icons/kz-smart-bookmark.png
+share/gnome/kazehakase/icons/kz-tab-next.png
+share/gnome/kazehakase/icons/kz-tab-prev.png
+share/gnome/pixmaps/kazehakase-icon.png
+share/locale/ja/LC_MESSAGES/kazehakase.mo
+@dirrm share/gnome/kazehakase/icons
+@dirrm share/gnome/kazehakase
+@dirrm etc/kazehakase