aboutsummaryrefslogtreecommitdiffstats
path: root/www/kazehakase/Makefile
diff options
context:
space:
mode:
authorsem <sem@FreeBSD.org>2004-08-29 05:09:54 +0800
committersem <sem@FreeBSD.org>2004-08-29 05:09:54 +0800
commit7d465ead17ca9343817927ffeb23b34fd58751f2 (patch)
tree8e84f84d9c53c2c9407d00bf716cba8dc876d0ef /www/kazehakase/Makefile
parentac85c357f362ff91ac806a7862f35efd13aa7b22 (diff)
downloadfreebsd-ports-gnome-7d465ead17ca9343817927ffeb23b34fd58751f2.tar.gz
freebsd-ports-gnome-7d465ead17ca9343817927ffeb23b34fd58751f2.tar.zst
freebsd-ports-gnome-7d465ead17ca9343817927ffeb23b34fd58751f2.zip
- Update to 0.1.9
Changes * Thumbnail support * Recent closed tabs * Toggle proxy use action * Options for history search * Undo/Redo * Fixed crash in attempting to search in the detailed preference PR: ports/71088 Submitted by: maintainer
Diffstat (limited to 'www/kazehakase/Makefile')
-rw-r--r--www/kazehakase/Makefile31
1 files changed, 28 insertions, 3 deletions
diff --git a/www/kazehakase/Makefile b/www/kazehakase/Makefile
index 6b532416f444..d8cf593a0e00 100644
--- a/www/kazehakase/Makefile
+++ b/www/kazehakase/Makefile
@@ -6,10 +6,10 @@
#
PORTNAME= kazehakase
-PORTVERSION= 0.1.8.1
+PORTVERSION= 0.1.9
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP}
-MASTER_SITE_SUBDIR= ${PORTNAME}/10618/
+MASTER_SITE_SUBDIR= ${PORTNAME}/11115/
MAINTAINER= ahze@ahze.net
COMMENT= Kazehakase is a browser with gecko engine like Epiphany or Galeon
@@ -38,17 +38,33 @@ USE_X_PREFIX= yes
USE_GNOME= gnomehack intlhack gnomeprefix gtk20
USE_GMAKE= yes
USE_REINPLACE= yes
+
+.if defined(WITH_MIGEMO)
+USE_RUBY= yes
+.endif
+
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
+OPTIONS= MIGEMO "Enable Migemo (Japanese incremental search)" Off \
+ IMAGEMAGICK "Enable Thumbnail support (EXPERIMENTAL!)" Off
FLASHPLAYER= ${LOCALBASE}/lib/libflashplayer.so.1
.include <bsd.port.pre.mk>
+.if exists(${LOCALBASE}/bin/migemo)
+.if exists(${RUBY_SITEARCHLIBDIR}/uconv.so)
+WITH_MIGEMO= yes
+.endif
+.endif
+
+.if exists(${LOCALBASE}/bin/convert)
+WITH_IMAGEMAGICK=yes
+.endif
+
.if defined(WITH_MIGEMO)
.if ${ARCH} == "i386" || ${ARCH} == "sparc64"
RUN_DEPENDS+= migemo:${PORTSDIR}/japanese/migemo \
@@ -58,6 +74,10 @@ CONFIUGURE_ARGS+= --enable-migemo
.endif
.endif
+.if defined(WITH_IMAGEMAGICK)
+RUN_DEPENDS+= convert:${PORTSDIR}/graphics/ImageMagick
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|mozilla-gtkmozembed|mozilla-gtkmozembed${HEADERS_SUFX}|g' \
${WRKSRC}/configure
@@ -70,4 +90,9 @@ post-configure:
s|%%LOCALBASE%%|${LOCALBASE}|; s|%%MOZILLA%%|${MOZILLA}|' \
${WRKSRC}/src/kazehakase
+post-install:
+.if defined(WITH_IMAGEMAGICK)
+ @${CAT} ${PKGMESSAGE}
+.endif
+
.include <bsd.port.post.mk>