summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2008-04-02 04:00:28 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2008-04-02 04:00:28 +0800
commit85cd2291eb2245d4f9c97a979ddc446f006f877f (patch)
treeed2ed951079207a4e59340654da77ded34ac67eb
parentfafca1409352493bcdb9bf049b6da65aed0bea7e (diff)
downloadmarcuscom-ports-85cd2291eb2245d4f9c97a979ddc446f006f877f.tar
marcuscom-ports-85cd2291eb2245d4f9c97a979ddc446f006f877f.tar.gz
marcuscom-ports-85cd2291eb2245d4f9c97a979ddc446f006f877f.tar.bz2
marcuscom-ports-85cd2291eb2245d4f9c97a979ddc446f006f877f.tar.lz
marcuscom-ports-85cd2291eb2245d4f9c97a979ddc446f006f877f.tar.xz
marcuscom-ports-85cd2291eb2245d4f9c97a979ddc446f006f877f.tar.zst
marcuscom-ports-85cd2291eb2245d4f9c97a979ddc446f006f877f.zip
Update for webkit
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@10851 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--www/kazehakase/Makefile95
-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/pkg-descr14
-rw-r--r--www/kazehakase/pkg-plist80
6 files changed, 226 insertions, 0 deletions
diff --git a/www/kazehakase/Makefile b/www/kazehakase/Makefile
new file mode 100644
index 000000000..3af34027d
--- /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: ports/www/kazehakase/Makefile,v 1.63 2008/03/30 03:49:18 ahze Exp $
+# $MCom: ports/www/kazehakase/Makefile,v 1.9 2007/10/24 16:17:14 ahze Exp $
+#
+
+PORTNAME= kazehakase
+PORTVERSION= 0.5.4
+PORTREVISION= 2
+CATEGORIES= www
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP}
+MASTER_SITE_SUBDIR= ${PORTNAME}/30219
+
+MAINTAINER= ahze@FreeBSD.org
+COMMENT= Kazehakase is a browser with gecko engine like Epiphany or Galeon
+
+LIB_DEPENDS= gnutls.26:${PORTSDIR}/security/gnutls
+
+USE_X_PREFIX= yes
+USE_GNOME= gnomehack intlhack gnomeprefix gtk20
+USE_GMAKE= yes
+USE_GETTEXT= yes
+USE_GECKO= firefox mozilla seamonkey xulrunner firefox15<->seamonkey
+USE_LDCONFIG= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --with-gecko_engine=${GECKO}
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}" \
+ 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>
+.include "${PORTSDIR}/www/mozilla/bsd.gecko.mk"
+
+.if defined(WITH_WEBKIT)
+LIB_DEPENDS+= webkit-1.0.1:${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
+
+WITH_SEARCH?= hyperestraier
+.if ${WITH_SEARCH:L}=="rast"
+LIB_DEPENDS+= rast.1:${PORTSDIR}/textproc/rast
+CONFIGURE_ARGS+= --with-search-engine=rast
+.else
+LIB_DEPENDS+= estraier.8:${PORTSDIR}/textproc/hyperestraier
+CONFIGURE_ARGS+= --with-search-engine=hyperestraier
+.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} "By default the search uses hyperestraier but you can"
+ @${ECHO_MSG} "use rast by using WITH_SEARCH=rast"
+ @${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
+
+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..08778bd95
--- /dev/null
+++ b/www/kazehakase/distinfo
@@ -0,0 +1,3 @@
+MD5 (kazehakase-0.5.4.tar.gz) = 75f8afb9ddf4493c3a1fb4eb38a044df
+SHA256 (kazehakase-0.5.4.tar.gz) = ce6ae61832d83242b298721be62fcfa61a046d8c16a00c2d224c9169fae51416
+SIZE (kazehakase-0.5.4.tar.gz) = 1403194
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/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..37e9d028f
--- /dev/null
+++ b/www/kazehakase/pkg-plist
@@ -0,0 +1,80 @@
+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
+lib/kazehakase/libkazehakase.la
+lib/kazehakase/libkazehakase.so
+lib/kazehakase/libkazehakase.so.1
+lib/kazehakase/embed/gecko.la
+lib/kazehakase/embed/gecko.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/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