summaryrefslogtreecommitdiffstats
path: root/www/kazehakase
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2005-11-26 13:50:51 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2005-11-26 13:50:51 +0800
commit1d7add03d3c89109cbd3a5e3997dc8423abd59d9 (patch)
treeea03bfc17acf1843fc2f75edf0765d778f2f98ca /www/kazehakase
parent5841cc3891cef79c4e658250568f5c5fe9397d4e (diff)
downloadmarcuscom-ports-1d7add03d3c89109cbd3a5e3997dc8423abd59d9.tar
marcuscom-ports-1d7add03d3c89109cbd3a5e3997dc8423abd59d9.tar.gz
marcuscom-ports-1d7add03d3c89109cbd3a5e3997dc8423abd59d9.tar.bz2
marcuscom-ports-1d7add03d3c89109cbd3a5e3997dc8423abd59d9.tar.lz
marcuscom-ports-1d7add03d3c89109cbd3a5e3997dc8423abd59d9.tar.xz
marcuscom-ports-1d7add03d3c89109cbd3a5e3997dc8423abd59d9.tar.zst
marcuscom-ports-1d7add03d3c89109cbd3a5e3997dc8423abd59d9.zip
- Add kazehakase with bsd.gecko.mk support
- Get rid of the kazehakase LD_PRELOAD script. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@5220 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'www/kazehakase')
-rw-r--r--www/kazehakase/Makefile95
-rw-r--r--www/kazehakase/distinfo3
-rwxr-xr-xwww/kazehakase/files/mkinstalldirs111
-rw-r--r--www/kazehakase/files/patch-etc::bookmarkbar.xml23
-rw-r--r--www/kazehakase/pkg-descr14
-rw-r--r--www/kazehakase/pkg-plist66
6 files changed, 312 insertions, 0 deletions
diff --git a/www/kazehakase/Makefile b/www/kazehakase/Makefile
new file mode 100644
index 000000000..d2c748b1e
--- /dev/null
+++ b/www/kazehakase/Makefile
@@ -0,0 +1,95 @@
+# New ports collection makefile for: kazehakase
+# Date created: 2004-04-06
+# Whom: michael johnson <ahze@ahze.net>
+#
+# $FreeBSD$
+# $MCom$
+#
+
+PORTNAME= kazehakase
+PORTVERSION= 0.3.2
+PORTREVISION= 1
+CATEGORIES= www
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP}
+MASTER_SITE_SUBDIR= ${PORTNAME}/17175
+
+MAINTAINER= ahze@FreeBSD.org
+COMMENT= Kazehakase is a browser with gecko engine like Epiphany or Galeon
+
+USE_AUTOTOOLS= libtool:15
+USE_X_PREFIX= yes
+USE_GNOME= gnomehack intlhack gnomeprefix gtk20
+USE_GMAKE= yes
+USE_REINPLACE= yes
+USE_GECKO= firefox mozilla
+CONFIGURE_ARGS= --with-gecko_engine=${GECKO} \
+ --disable-ssl
+
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}" \
+ LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
+MAN1= kazehakase.1
+
+.if defined(WITH_MIGEMO)
+USE_RUBY= yes
+USE_PERL= 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>
+.include "${.CURDIR}/../../www/mozilla/bsd.gecko.mk"
+
+# !!! gtk-webcore higly experimental right now and not very stable !!!
+# See https://mail.gna.org/public/kazehakase-devel/2004-10/msg00001.html
+# on how to use gtk-webcore with kazehakase. and yes you still have to
+# have mozilla even if you don't use it in kazehakase.
+.if defined(WITH_GTKWEBCORE)
+LIB_DEPENDS+= nrcit.0:${PORTSDIR}/www/osb-nrcit
+CONFIGURE_ARGS+=--enable-gtk-webcore
+.endif
+
+.if defined(WITH_THUMBNAIL) || exists(${LOCALBASE}/bin/gs)
+USE_GHOSTSCRIPT=yes
+.endif
+
+.if exists(${LOCALBASE}/bin/estxview)
+WITH_ESTRAIER= yes
+.endif
+
+.if defined(WITH_MIGEMO)
+.if ${ARCH} == "i386" || ${ARCH} == "sparc64"
+RUN_DEPENDS+= migemo:${PORTSDIR}/japanese/migemo
+
+CONFIGURE_ARGS+= --enable-migemo
+.endif
+.endif
+
+.if !defined(WITHOUT_ESTRAIER)
+RUN_DEPENDS+= estxview:${PORTSDIR}/textproc/estraier
+.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} ""
+ @${ECHO_MSG} "Disable Estraier, A full-text search engine for searching your history"
+ @${ECHO_MSG} " by defining WITHOUT_ESTRAIER"
+ @${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
+
+post-configure:
+ @${CP} -f ${FILESDIR}/mkinstalldirs ${WRKSRC}
+ @${CHMOD} +x ${WRKSRC}/mkinstalldirs
+
+.include <bsd.port.post.mk>
diff --git a/www/kazehakase/distinfo b/www/kazehakase/distinfo
new file mode 100644
index 000000000..ea1f826b5
--- /dev/null
+++ b/www/kazehakase/distinfo
@@ -0,0 +1,3 @@
+MD5 (kazehakase-0.3.2.tar.gz) = 0059c24a8c7edf3e0388eedbe7a8217d
+SHA256 (kazehakase-0.3.2.tar.gz) = 56d92414179015a1a24e6f759b7b29777dd190a21ba5740d5d282dc8747b4728
+SIZE (kazehakase-0.3.2.tar.gz) = 1296729
diff --git a/www/kazehakase/files/mkinstalldirs b/www/kazehakase/files/mkinstalldirs
new file mode 100755
index 000000000..d2d5f21b6
--- /dev/null
+++ b/www/kazehakase/files/mkinstalldirs
@@ -0,0 +1,111 @@
+#! /bin/sh
+# mkinstalldirs --- make directory hierarchy
+# Author: Noah Friedman <friedman@prep.ai.mit.edu>
+# Created: 1993-05-16
+# Public domain
+
+errstatus=0
+dirmode=""
+
+usage="\
+Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..."
+
+# process command line arguments
+while test $# -gt 0 ; do
+ case $1 in
+ -h | --help | --h*) # -h for help
+ echo "$usage" 1>&2
+ exit 0
+ ;;
+ -m) # -m PERM arg
+ shift
+ test $# -eq 0 && { echo "$usage" 1>&2; exit 1; }
+ dirmode=$1
+ shift
+ ;;
+ --) # stop option processing
+ shift
+ break
+ ;;
+ -*) # unknown option
+ echo "$usage" 1>&2
+ exit 1
+ ;;
+ *) # first non-opt arg
+ break
+ ;;
+ esac
+done
+
+for file
+do
+ if test -d "$file"; then
+ shift
+ else
+ break
+ fi
+done
+
+case $# in
+ 0) exit 0 ;;
+esac
+
+case $dirmode in
+ '')
+ if mkdir -p -- . 2>/dev/null; then
+ echo "mkdir -p -- $*"
+ exec mkdir -p -- "$@"
+ fi
+ ;;
+ *)
+ if mkdir -m "$dirmode" -p -- . 2>/dev/null; then
+ echo "mkdir -m $dirmode -p -- $*"
+ exec mkdir -m "$dirmode" -p -- "$@"
+ fi
+ ;;
+esac
+
+for file
+do
+ set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
+ shift
+
+ pathcomp=
+ for d
+ do
+ pathcomp="$pathcomp$d"
+ case $pathcomp in
+ -*) pathcomp=./$pathcomp ;;
+ esac
+
+ if test ! -d "$pathcomp"; then
+ echo "mkdir $pathcomp"
+
+ mkdir "$pathcomp" || lasterr=$?
+
+ if test ! -d "$pathcomp"; then
+ errstatus=$lasterr
+ else
+ if test ! -z "$dirmode"; then
+ echo "chmod $dirmode $pathcomp"
+ lasterr=""
+ chmod "$dirmode" "$pathcomp" || lasterr=$?
+
+ if test ! -z "$lasterr"; then
+ errstatus=$lasterr
+ fi
+ fi
+ fi
+ fi
+
+ pathcomp="$pathcomp/"
+ done
+done
+
+exit $errstatus
+
+# Local Variables:
+# mode: shell-script
+# sh-indentation: 2
+# End:
+# mkinstalldirs ends here
diff --git a/www/kazehakase/files/patch-etc::bookmarkbar.xml b/www/kazehakase/files/patch-etc::bookmarkbar.xml
new file mode 100644
index 000000000..18dc518f3
--- /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/news.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/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..5ca1f06b9
--- /dev/null
+++ b/www/kazehakase/pkg-plist
@@ -0,0 +1,66 @@
+bin/kazehakase
+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
+share/gnome/applications/kazehakase.desktop
+share/gnome/kazehakase/icons/autoscroll.xpm
+share/gnome/kazehakase/icons/kz-anchor.png
+share/gnome/kazehakase/icons/kz-book-search.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-epiphany.png
+share/gnome/kazehakase/icons/kz-firefox.png
+share/gnome/kazehakase/icons/kz-folder-open.png
+share/gnome/kazehakase/icons/kz-folder-search.png
+share/gnome/kazehakase/icons/kz-folder.png
+share/gnome/kazehakase/icons/kz-font-decrease.png
+share/gnome/kazehakase/icons/kz-font-increase.png
+share/gnome/kazehakase/icons/kz-galeon.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-konqueror.png
+share/gnome/kazehakase/icons/kz-logo-bg.png
+share/gnome/kazehakase/icons/kz-logo.png
+share/gnome/kazehakase/icons/kz-mozilla.png
+share/gnome/kazehakase/icons/kz-netscape.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-select-all.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/kazehakase/icons/kz-view-source.png
+share/gnome/kazehakase/icons/kz-yellow.png
+share/gnome/kazehakase/kz-no-thumbnail.png
+share/gnome/kazehakase/search-result.css
+share/gnome/pixmaps/kazehakase-icon.png
+share/locale/cs/LC_MESSAGES/kazehakase.mo
+share/locale/fr/LC_MESSAGES/kazehakase.mo
+share/locale/ja/LC_MESSAGES/kazehakase.mo
+share/locale/ru/LC_MESSAGES/kazehakase.mo
+@dirrm share/gnome/kazehakase/icons
+@dirrm share/gnome/kazehakase
+@dirrm etc/kazehakase/mozilla
+@dirrm etc/kazehakase