summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--misc/gwaei/DESCR14
-rw-r--r--misc/gwaei/Makefile51
-rw-r--r--misc/gwaei/PLIST56
-rw-r--r--misc/gwaei/distinfo5
4 files changed, 126 insertions, 0 deletions
diff --git a/misc/gwaei/DESCR b/misc/gwaei/DESCR
new file mode 100644
index 00000000000..49a00f66797
--- /dev/null
+++ b/misc/gwaei/DESCR
@@ -0,0 +1,14 @@
+gWaei is a Japanese-English dictionary program for the GNOME desktop.
+It is made to be a modern drop in replacement for Gjiten with many
+of the same features. The dictionary files it uses are from Jim
+Breen's WWWJDIC project and are installed separately through the
+program.
+
+Features
+ * Easy dictionary installation with a click of a button.
+ * Support for searching using regular expressions.
+ * Streams results so the interface is never frozen.
+ * Click Kanji in the results pane to look information on it.
+ * Simple interface that makes sense.
+ * Intelligent design. Tab switches dictionaries.
+ * Organizes relevant matches to the top of the results.
diff --git a/misc/gwaei/Makefile b/misc/gwaei/Makefile
new file mode 100644
index 00000000000..7702e6f092a
--- /dev/null
+++ b/misc/gwaei/Makefile
@@ -0,0 +1,51 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/01/14 16:10:52 wiz Exp $
+#
+
+DISTNAME= gwaei-0.13.0
+CATEGORIES= misc
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gwaei/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://gwaei.sourceforge.net/
+COMMENT= Japanese dictionary for GNOME
+
+#DEPENDS+= rsync-[0-9]*:../../net/rsync
+
+GNU_CONFIGURE= yes
+USE_DIRS= xdg-1.4 gnome2-1.6
+USE_PKGLOCALEDIR= yes
+USE_TOOLS+= gmake perl pkg-config
+
+GCONF_SCHEMAS= gwaei.schemas
+
+SUBST_CLASSES+= perl
+SUBST_STAGE.perl= pre-configure
+SUBST_FILES.perl= src/kpengine/Makefile.in
+SUBST_SED.perl= -e "s,/usr/bin/perl,${PERL5},"
+SUBST_MESSAGE.perl= Fixing path to perl.
+
+SUBST_CLASSES+= rsync
+SUBST_STAGE.rsync= pre-configure
+SUBST_FILES.rsync= src/io.c
+SUBST_SED.rsync= -e "s,@RSYNC@,${LOCALBASE}/bin/rsync,"
+SUBST_MESSAGE.rsync= Fixing path to rsync.
+
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/src/schemas/gwaei.schemas \
+ ${DESTDIR}${PREFIX}/share/gconf/schemas/
+
+BUILDLINK_API_DEPENDS.GConf+= GConf>=2.22.0
+.include "../../devel/GConf/schemas.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
+BUILDLINK_API_DEPENDS.glib2+= glib2>=2.16.0
+.include "../../devel/glib2/buildlink3.mk"
+BUILDLINK_API_DEPENDS.libgnome+= libgnome>=2.22.0
+.include "../../devel/libgnome/buildlink3.mk"
+BUILDLINK_API_DEPENDS.libsexy+= libsexy>=0.1.11
+.include "../../devel/libsexy/buildlink3.mk"
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+BUILDLINK_API_DEPENDS.curl+= curl>=7.18.0
+.include "../../www/curl/buildlink3.mk"
+BUILDLINK_API_DEPENDS.gtk2+= gtk2+>=2.12.0
+.include "../../x11/gtk2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/misc/gwaei/PLIST b/misc/gwaei/PLIST
new file mode 100644
index 00000000000..53ecb5fb5ab
--- /dev/null
+++ b/misc/gwaei/PLIST
@@ -0,0 +1,56 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/01/14 16:10:52 wiz Exp $
+bin/gwaei
+share/applications/gwaei.desktop
+share/doc/${PKGNAME}/COPYING
+share/doc/${PKGNAME}/ChangeLog
+share/doc/${PKGNAME}/NEWS
+share/gconf/schemas/gwaei.schemas
+share/gnome/help/gwaei/C/index.xml
+share/gwaei/character.png
+share/gwaei/character2.png
+share/gwaei/character3.png
+share/gwaei/jdata.dat
+share/gwaei/kanjipad.xml
+share/gwaei/kpengine
+share/gwaei/logo.png
+share/gwaei/main.xml
+share/gwaei/radicals.xml
+share/gwaei/settings.xml
+share/icons/hicolor/16x16/actions/non-word-boundary.png
+share/icons/hicolor/16x16/actions/unknown-character.png
+share/icons/hicolor/16x16/actions/word-boundary.png
+share/icons/hicolor/16x16/apps/gwaei.png
+share/icons/hicolor/22x22/actions/non-word-boundary.png
+share/icons/hicolor/22x22/actions/unknown-character.png
+share/icons/hicolor/22x22/actions/word-boundary.png
+share/icons/hicolor/24x24/actions/non-word-boundary.png
+share/icons/hicolor/24x24/actions/unknown-character.png
+share/icons/hicolor/24x24/actions/word-boundary.png
+share/icons/hicolor/24x24/apps/gwaei.png
+share/icons/hicolor/32x32/apps/gwaei.png
+share/icons/hicolor/48x48/apps/gwaei.png
+share/locale/en@boldquot/LC_MESSAGES/gwaei.mo
+share/locale/en@quot/LC_MESSAGES/gwaei.mo
+share/locale/it/LC_MESSAGES/gwaei.mo
+share/locale/ja/LC_MESSAGES/gwaei.mo
+@comment in hicolor-icon-theme: @dirrm share/icons/hicolor/48x48/apps
+@comment in hicolor-icon-theme: @dirrm share/icons/hicolor/48x48
+@comment in hicolor-icon-theme: @dirrm share/icons/hicolor/32x32/apps
+@comment in hicolor-icon-theme: @dirrm share/icons/hicolor/32x32
+@comment in hicolor-icon-theme: @dirrm share/icons/hicolor/24x24/apps
+@comment in hicolor-icon-theme: @dirrm share/icons/hicolor/24x24/actions
+@comment in hicolor-icon-theme: @dirrm share/icons/hicolor/24x24
+@comment in hicolor-icon-theme: @dirrm share/icons/hicolor/22x22/actions
+@comment in hicolor-icon-theme: @dirrm share/icons/hicolor/22x22
+@comment in hicolor-icon-theme: @dirrm share/icons/hicolor/16x16/apps
+@comment in hicolor-icon-theme: @dirrm share/icons/hicolor/16x16/actions
+@comment in hicolor-icon-theme: @dirrm share/icons/hicolor/16x16
+@comment in hicolor-icon-theme: @dirrm share/icons/hicolor
+@comment in xdg-dirs: @dirrm share/icons
+@dirrm share/gwaei
+@dirrm share/gnome/help/gwaei/C
+@dirrm share/gnome/help/gwaei
+@comment in gnome2-dirs: @dirrm share/gnome/help
+@comment in GConf: @dirrm share/gconf/schemas
+@dirrm share/doc/${PKGNAME}
+@comment in xdg-dirs: @dirrm share/applications
diff --git a/misc/gwaei/distinfo b/misc/gwaei/distinfo
new file mode 100644
index 00000000000..714e21c9c02
--- /dev/null
+++ b/misc/gwaei/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/01/14 16:10:52 wiz Exp $
+
+SHA1 (gwaei-0.13.0.tar.gz) = 89c6cb3d98174621842dcdcee4b08a24ff05f54e
+RMD160 (gwaei-0.13.0.tar.gz) = 1045af2bbe798bf7107fa482848ce117c6249f40
+Size (gwaei-0.13.0.tar.gz) = 465770 bytes