Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Sep 2012 12:19:44 +0000 (UTC)
From:      Frederic Culot <culot@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r304345 - in head/japanese: . gjiten
Message-ID:  <201209161219.q8GCJiEr082191@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: culot
Date: Sun Sep 16 12:19:44 2012
New Revision: 304345
URL: http://svn.freebsd.org/changeset/ports/304345

Log:
  Gjiten is a Japanese dictionary program for GNOME.
  
  Gjiten also has a kanji dictionary. Any combination of stroke count,
  radicals and search key can be used for kanji lookups.
  
  WWW: http://gjiten.sourceforge.net/
  
  PR:		ports/171226
  Submitted by:	Stephane Lapie <stephane.lapie@darkbsd.org>

Added:
  head/japanese/gjiten/
  head/japanese/gjiten/Makefile   (contents, props changed)
  head/japanese/gjiten/distinfo   (contents, props changed)
  head/japanese/gjiten/pkg-descr   (contents, props changed)
  head/japanese/gjiten/pkg-plist   (contents, props changed)
Modified:
  head/japanese/Makefile

Modified: head/japanese/Makefile
==============================================================================
--- head/japanese/Makefile	Sun Sep 16 11:57:36 2012	(r304344)
+++ head/japanese/Makefile	Sun Sep 16 12:19:44 2012	(r304345)
@@ -99,6 +99,7 @@
     SUBDIR += gedy
     SUBDIR += gicq
     SUBDIR += gimp-help
+    SUBDIR += gjiten
     SUBDIR += gorua
     SUBDIR += gqmpeg
     SUBDIR += grep

Added: head/japanese/gjiten/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/japanese/gjiten/Makefile	Sun Sep 16 12:19:44 2012	(r304345)
@@ -0,0 +1,80 @@
+# New ports collection makefile for: 	gjiten
+# Date created: 			2012-09-03
+# Whom: 				Stephane Lapie <stephane.lapie@darkbsd.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME=	gjiten
+PORTVERSION=	2.6
+CATEGORIES=	japanese gnome
+MASTER_SITES=	http://gjiten.sourceforge.net/
+
+MAINTAINER=	stephane.lapie@darkbsd.org
+COMMENT=	Japanese dictionary program for GNOME
+
+OPTIONS_DEFINE=	UTF8 KANJIPAD DOCS NLS
+UTF8_DESC=	Use UTF-8 edict dictionaries
+KANJIPAD_DESC=	Use Kanjipad
+
+USE_GNOME=	gtk20 gconf2 libglade libgnomeui
+USE_GMAKE=	yes
+INSTALLS_OMF=	yes
+GNU_CONFIGURE=	yes
+CPPFLAGS+=	-I${LOCALBASE}/include
+LDFLAGS+=	-L${LOCALBASE}/lib
+
+PORTDOCS=	gjiten-doc.ja.html
+MAN1=		gjiten.1
+GCONF_SCHEMAS=	gjiten-dicfiles.schemas gjiten.schemas
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MNLS}
+USE_GETTEXT=	yes
+PLIST_SUB+=	NLS=""
+.else
+PLIST_SUB+=	NLS="@comment "
+MAKE_ENV+=	USE_NLS=no
+.endif
+
+.if ${PORT_OPTIONS:MUTF8}
+EDICT_DIR=	${LOCALBASE}/share/dict/edict-utf-8
+EDICT_FILE=	${EDICT_DIR}/edict
+RUN_DEPENDS+=	${EDICT_FILE}:${PORTSDIR}/japanese/edict-utf-8
+.else
+EDICT_DIR=	${LOCALBASE}/share/dict/edict
+EDICT_FILE=	${EDICT_DIR}/edict
+RUN_DEPENDS+=	${EDICT_FILE}:${PORTSDIR}/japanese/edict
+BUILD_DEPENDS+=	${LOCALBASE}/bin/iconv:${PORTSDIR}/converters/libiconv
+.endif
+
+DICTIONARIES=	kanjidic edict compdic
+GJITEN_DICS=	${DATADIR}/dics/
+
+.if ${PORT_OPTIONS:MKANJIPAD}
+RUN_DEPENDS+=	${LOCALBASE}/bin/kanjipad:${PORTSDIR}/japanese/kanjipad
+.endif
+
+BUILD_DEPENDS+=	${LOCALBASE}/bin/xmlto:${PORTSDIR}/textproc/xmlto
+
+post-install:
+.if ${PORT_OPTIONS:MDOCS}
+	@${INSTALL} -d ${DOCSDIR}
+.for f in ${PORTDOCS}
+	${INSTALL_DATA} ${WRKSRC}/help/ja/${f} ${DOCSDIR}
+.endfor
+.endif
+	@${INSTALL} -d ${GJITEN_DICS}
+.if ${PORT_OPTIONS:MUTF8}
+.for f in ${DICTIONARIES}
+	${INSTALL_DATA} ${EDICT_DIR}/${f} ${GJITEN_DICS}
+.endfor
+.else
+.for f in ${DICTIONARIES}
+	${LOCALBASE}/bin/iconv -c -f EUC-JP -t UTF-8 ${EDICT_DIR}/${f} > ${GJITEN_DICS}/${f}
+.endfor
+.endif
+	-@update-desktop-database
+
+.include <bsd.port.mk>

Added: head/japanese/gjiten/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/japanese/gjiten/distinfo	Sun Sep 16 12:19:44 2012	(r304345)
@@ -0,0 +1,2 @@
+SHA256 (gjiten-2.6.tar.gz) = f6c0cc69e1e59ed8c3a946a1ee3e4a5e2e1deb16890bfc5f67c055adb10a71dd
+SIZE (gjiten-2.6.tar.gz) = 564845

Added: head/japanese/gjiten/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/japanese/gjiten/pkg-descr	Sun Sep 16 12:19:44 2012	(r304345)
@@ -0,0 +1,6 @@
+Gjiten is a Japanese dictionary program for GNOME.
+
+Gjiten also has a kanji dictionary. Any combination of stroke count,
+radicals and search key can be used for kanji lookups.
+
+WWW: http://gjiten.sourceforge.net/

Added: head/japanese/gjiten/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/japanese/gjiten/pkg-plist	Sun Sep 16 12:19:44 2012	(r304345)
@@ -0,0 +1,32 @@
+bin/gjiten
+share/application-registry/gjiten.desktop
+share/applications/gjiten.desktop
+%%DATADIR%%/dics/compdic
+%%DATADIR%%/dics/edict
+%%DATADIR%%/dics/kanjidic
+%%DATADIR%%/gjiten-settings.glade
+%%DATADIR%%/radkfile.utf8
+%%DATADIR%%/vconj.utf8
+share/gnome/help/gjiten/C/gjiten.xml
+share/gnome/help/gjiten/C/legal.xml
+%%NLS%%share/locale/de/LC_MESSAGES/gjiten.mo
+%%NLS%%share/locale/de_CH/LC_MESSAGES/gjiten.mo
+%%NLS%%share/locale/ja/LC_MESSAGES/gjiten.mo
+share/omf/gjiten/gjiten-C.omf
+share/pixmaps/gjiten/gjiten-logo.png
+share/pixmaps/jiten.png
+share/pixmaps/kanjidic.png
+share/pixmaps/kanjipad.png
+share/pixmaps/left_ptr_question.png
+@dirrm share/pixmaps/gjiten
+@dirrm share/omf/gjiten
+@dirrm share/gjiten/dics
+@dirrm share/gjiten
+@dirrmtry share/locale/de_CH/LC_MESSAGES
+@dirrmtry share/locale/de_CH
+@dirrmtry share/gnome/help/gjiten/C
+@dirrmtry share/gnome/help/gjiten
+@dirrmtry share/gnome/help
+@dirrmtry share/gnome
+@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
+@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209161219.q8GCJiEr082191>