Create japanese/gjiten port
Responsible Changed From-To: freebsd-ports-bugs->culot I'll take it.
Updated the Makefile so it uses the newer OPTIONS framework Updated shar archive follows: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # gjiten/ # gjiten/distinfo # gjiten/Makefile # gjiten/pkg-descr # gjiten/pkg-plist # echo c - gjiten/ mkdir -p gjiten/ > /dev/null 2>&1 echo x - gjiten/distinfo sed 's/^X//' >gjiten/distinfo << '471b8a372f2c566ae4996f87af59204e' XSHA256 (gjiten-2.6.tar.gz) = f6c0cc69e1e59ed8c3a946a1ee3e4a5e2e1deb16890bfc5f67c055adb10a71dd XSIZE (gjiten-2.6.tar.gz) = 564845 471b8a372f2c566ae4996f87af59204e echo x - gjiten/Makefile sed 's/^X//' >gjiten/Makefile << '4d0f395ad9154e4ad764910a2e5358c9' X# $FreeBSD: $ X# X XPORTNAME= gjiten XPORTVERSION= 2.6 XCATEGORIES= japanese gnome XMASTER_SITES= http://gjiten.sourceforge.net/ X XMAINTAINER= stephane.lapie@darkbsd.org XCOMMENT= Gjiten is a Japanese dictionary program for GNOME X XOPTIONS_DEFINE= UTF8 KANJIPAD XUTF8_DESC= Use UTF-8 edict dictionaries XKANJIPAD_DESC= Use Kanjipad X X.include <bsd.port.options.mk> X X.if ${PORT_OPTIONS:MUTF8} XEDICT_FILE= ${LOCALBASE}/share/dict/edict-utf-8/edict XRUN_DEPENDS+= ${EDICT_FILE}:${PORTSDIR}/japanese/edict-utf-8 X.else XEDICT_FILE= ${LOCALBASE}/share/dict/edict/edict XRUN_DEPENDS+= ${EDICT_FILE}:${PORTSDIR}/japanese/edict X.endif X X.if ${PORT_OPTIONS:MKANJIPAD} XRUN_DEPENDS+= ${LOCALBASE}/bin/kanjipad:${PORTSDIR}/japanese/kanjipad X.endif X XUSE_GNOME= gtk20 gconf2 libglade libgnomeui XUSE_GMAKE= yes XINSTALLS_OMF= yes XGNU_CONFIGURE= yes XCPPFLAGS+= -I${LOCALBASE}/include XLDFLAGS+= -L${LOCALBASE}/lib X XMAN1= gjiten.1 X X.include <bsd.port.mk> 4d0f395ad9154e4ad764910a2e5358c9 echo x - gjiten/pkg-descr sed 's/^X//' >gjiten/pkg-descr << 'ab7b9bcb3dd33b984adeab2017b634eb' XA GUI chess front-end to crafty, for the GNOME Desktop Environment X XIt works with chess programs and chess servers - it is also a PGN viewer. XFor chess programs, it works best with the chess engine crafty X(ftp://ftp.cis.uab.edu/pub/hyatt) but most features should also work with XGNU Chess (ftp://ftp.gnu.org). ab7b9bcb3dd33b984adeab2017b634eb echo x - gjiten/pkg-plist sed 's/^X//' >gjiten/pkg-plist << 'aa6b76a4913a46d6d4bfd2a5889d0189' Xbin/gjiten Xetc/gconf/schemas/gjiten-dicfiles.schemas Xetc/gconf/schemas/gjiten.schemas Xshare/application-registry/gjiten.desktop Xshare/applications/gjiten.desktop Xshare/doc/gjiten/gjiten-doc.ja.html Xshare/gjiten/gjiten-settings.glade Xshare/gjiten/radkfile.utf8 Xshare/gjiten/vconj.utf8 Xshare/gnome/help/gjiten/C/gjiten.xml Xshare/gnome/help/gjiten/C/legal.xml Xshare/locale/de/LC_MESSAGES/gjiten.mo Xshare/locale/de_CH/LC_MESSAGES/gjiten.mo Xshare/locale/ja/LC_MESSAGES/gjiten.mo Xshare/omf/gjiten/gjiten-C.omf Xshare/pixmaps/gjiten/gjiten-logo.png Xshare/pixmaps/jiten.png Xshare/pixmaps/kanjidic.png Xshare/pixmaps/kanjipad.png Xshare/pixmaps/left_ptr_question.png X@dirrm share/pixmaps/gjiten X@dirrm share/omf/gjiten X@dirrm share/gjiten X@dirrm share/doc/gjiten aa6b76a4913a46d6d4bfd2a5889d0189 exit
Fixed pkg-descr. Fixed shar archive follows : # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # gjiten/ # gjiten/distinfo # gjiten/Makefile # gjiten/pkg-descr # gjiten/pkg-plist # echo c - gjiten/ mkdir -p gjiten/ > /dev/null 2>&1 echo x - gjiten/distinfo sed 's/^X//' >gjiten/distinfo << '471b8a372f2c566ae4996f87af59204e' XSHA256 (gjiten-2.6.tar.gz) = f6c0cc69e1e59ed8c3a946a1ee3e4a5e2e1deb16890bfc5f67c055adb10a71dd XSIZE (gjiten-2.6.tar.gz) = 564845 471b8a372f2c566ae4996f87af59204e echo x - gjiten/Makefile sed 's/^X//' >gjiten/Makefile << '4d0f395ad9154e4ad764910a2e5358c9' X# $FreeBSD: $ X# X XPORTNAME= gjiten XPORTVERSION= 2.6 XCATEGORIES= japanese gnome XMASTER_SITES= http://gjiten.sourceforge.net/ X XMAINTAINER= stephane.lapie@darkbsd.org XCOMMENT= Gjiten is a Japanese dictionary program for GNOME X XOPTIONS_DEFINE= UTF8 KANJIPAD XUTF8_DESC= Use UTF-8 edict dictionaries XKANJIPAD_DESC= Use Kanjipad X X.include <bsd.port.options.mk> X X.if ${PORT_OPTIONS:MUTF8} XEDICT_FILE= ${LOCALBASE}/share/dict/edict-utf-8/edict XRUN_DEPENDS+= ${EDICT_FILE}:${PORTSDIR}/japanese/edict-utf-8 X.else XEDICT_FILE= ${LOCALBASE}/share/dict/edict/edict XRUN_DEPENDS+= ${EDICT_FILE}:${PORTSDIR}/japanese/edict X.endif X X.if ${PORT_OPTIONS:MKANJIPAD} XRUN_DEPENDS+= ${LOCALBASE}/bin/kanjipad:${PORTSDIR}/japanese/kanjipad X.endif X XUSE_GNOME= gtk20 gconf2 libglade libgnomeui XUSE_GMAKE= yes XINSTALLS_OMF= yes XGNU_CONFIGURE= yes XCPPFLAGS+= -I${LOCALBASE}/include XLDFLAGS+= -L${LOCALBASE}/lib X XMAN1= gjiten.1 X X.include <bsd.port.mk> 4d0f395ad9154e4ad764910a2e5358c9 echo x - gjiten/pkg-descr sed 's/^X//' >gjiten/pkg-descr << 'ab7b9bcb3dd33b984adeab2017b634eb' XGjiten is a Japanese dictionary program for GNOME. X XGjiten also has a kanji dictionary. Any combination of stroke count, Xradicals and search key can be used for kanji lookups. X XWWW: http://gjiten.sourceforge.net/ ab7b9bcb3dd33b984adeab2017b634eb echo x - gjiten/pkg-plist sed 's/^X//' >gjiten/pkg-plist << 'aa6b76a4913a46d6d4bfd2a5889d0189' Xbin/gjiten Xetc/gconf/schemas/gjiten-dicfiles.schemas Xetc/gconf/schemas/gjiten.schemas Xshare/application-registry/gjiten.desktop Xshare/applications/gjiten.desktop Xshare/doc/gjiten/gjiten-doc.ja.html Xshare/gjiten/gjiten-settings.glade Xshare/gjiten/radkfile.utf8 Xshare/gjiten/vconj.utf8 Xshare/gnome/help/gjiten/C/gjiten.xml Xshare/gnome/help/gjiten/C/legal.xml Xshare/locale/de/LC_MESSAGES/gjiten.mo Xshare/locale/de_CH/LC_MESSAGES/gjiten.mo Xshare/locale/ja/LC_MESSAGES/gjiten.mo Xshare/omf/gjiten/gjiten-C.omf Xshare/pixmaps/gjiten/gjiten-logo.png Xshare/pixmaps/jiten.png Xshare/pixmaps/kanjidic.png Xshare/pixmaps/kanjipad.png Xshare/pixmaps/left_ptr_question.png X@dirrm share/pixmaps/gjiten X@dirrm share/omf/gjiten X@dirrm share/gjiten X@dirrm share/doc/gjiten aa6b76a4913a46d6d4bfd2a5889d0189 exit -- Stephane LAPIE, EPITA SRS, Promo 2005 "Even when they have digital readouts, I can't understand them." --MegaTokyo
Fixed pkg-descr. Fixed shar archive follows : # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # gjiten/ # gjiten/distinfo # gjiten/Makefile # gjiten/pkg-descr # gjiten/pkg-plist # echo c - gjiten/ mkdir -p gjiten/ > /dev/null 2>&1 echo x - gjiten/distinfo sed 's/^X//' >gjiten/distinfo << '471b8a372f2c566ae4996f87af59204e' XSHA256 (gjiten-2.6.tar.gz) = f6c0cc69e1e59ed8c3a946a1ee3e4a5e2e1deb16890bfc5f67c055adb10a71dd XSIZE (gjiten-2.6.tar.gz) = 564845 471b8a372f2c566ae4996f87af59204e echo x - gjiten/Makefile sed 's/^X//' >gjiten/Makefile << '4d0f395ad9154e4ad764910a2e5358c9' X# $FreeBSD: $ X# X XPORTNAME= gjiten XPORTVERSION= 2.6 XCATEGORIES= japanese gnome XMASTER_SITES= http://gjiten.sourceforge.net/ X XMAINTAINER= stephane.lapie@darkbsd.org XCOMMENT= Gjiten is a Japanese dictionary program for GNOME X XOPTIONS_DEFINE= UTF8 KANJIPAD XUTF8_DESC= Use UTF-8 edict dictionaries XKANJIPAD_DESC= Use Kanjipad X X.include <bsd.port.options.mk> X X.if ${PORT_OPTIONS:MUTF8} XEDICT_FILE= ${LOCALBASE}/share/dict/edict-utf-8/edict XRUN_DEPENDS+= ${EDICT_FILE}:${PORTSDIR}/japanese/edict-utf-8 X.else XEDICT_FILE= ${LOCALBASE}/share/dict/edict/edict XRUN_DEPENDS+= ${EDICT_FILE}:${PORTSDIR}/japanese/edict X.endif X X.if ${PORT_OPTIONS:MKANJIPAD} XRUN_DEPENDS+= ${LOCALBASE}/bin/kanjipad:${PORTSDIR}/japanese/kanjipad X.endif X XUSE_GNOME= gtk20 gconf2 libglade libgnomeui XUSE_GMAKE= yes XINSTALLS_OMF= yes XGNU_CONFIGURE= yes XCPPFLAGS+= -I${LOCALBASE}/include XLDFLAGS+= -L${LOCALBASE}/lib X XMAN1= gjiten.1 X X.include <bsd.port.mk> 4d0f395ad9154e4ad764910a2e5358c9 echo x - gjiten/pkg-descr sed 's/^X//' >gjiten/pkg-descr << 'ab7b9bcb3dd33b984adeab2017b634eb' XGjiten is a Japanese dictionary program for GNOME. X XGjiten also has a kanji dictionary. Any combination of stroke count, Xradicals and search key can be used for kanji lookups. X XWWW: http://gjiten.sourceforge.net/ ab7b9bcb3dd33b984adeab2017b634eb echo x - gjiten/pkg-plist sed 's/^X//' >gjiten/pkg-plist << 'aa6b76a4913a46d6d4bfd2a5889d0189' Xbin/gjiten Xetc/gconf/schemas/gjiten-dicfiles.schemas Xetc/gconf/schemas/gjiten.schemas Xshare/application-registry/gjiten.desktop Xshare/applications/gjiten.desktop Xshare/doc/gjiten/gjiten-doc.ja.html Xshare/gjiten/gjiten-settings.glade Xshare/gjiten/radkfile.utf8 Xshare/gjiten/vconj.utf8 Xshare/gnome/help/gjiten/C/gjiten.xml Xshare/gnome/help/gjiten/C/legal.xml Xshare/locale/de/LC_MESSAGES/gjiten.mo Xshare/locale/de_CH/LC_MESSAGES/gjiten.mo Xshare/locale/ja/LC_MESSAGES/gjiten.mo Xshare/omf/gjiten/gjiten-C.omf Xshare/pixmaps/gjiten/gjiten-logo.png Xshare/pixmaps/jiten.png Xshare/pixmaps/kanjidic.png Xshare/pixmaps/kanjipad.png Xshare/pixmaps/left_ptr_question.png X@dirrm share/pixmaps/gjiten X@dirrm share/omf/gjiten X@dirrm share/gjiten X@dirrm share/doc/gjiten aa6b76a4913a46d6d4bfd2a5889d0189 exit
- Fixed all errors reported by portlint -abt (except the fact there is only one mirror) - Added proper handling for dictionary files - Added proper handling for docs - Added proper handling for NLS - Added proper handling for Gnome schemas Shar file follows : # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # gjiten/ # gjiten/distinfo # gjiten/Makefile # gjiten/pkg-descr # gjiten/pkg-plist # echo c - gjiten/ mkdir -p gjiten/ > /dev/null 2>&1 echo x - gjiten/distinfo sed 's/^X//' >gjiten/distinfo << '471b8a372f2c566ae4996f87af59204e' XSHA256 (gjiten-2.6.tar.gz) = f6c0cc69e1e59ed8c3a946a1ee3e4a5e2e1deb16890bfc5f67c055adb10a71dd XSIZE (gjiten-2.6.tar.gz) = 564845 471b8a372f2c566ae4996f87af59204e echo x - gjiten/Makefile sed 's/^X//' >gjiten/Makefile << '4d0f395ad9154e4ad764910a2e5358c9' X# New ports collection makefile for: gjiten X# Date created: 03 Sep 2012 X# Whom: Stephane Lapie <stephane.lapie@darkbsd.org> X# X# $FreeBSD: $ X# X XPORTNAME= gjiten XPORTVERSION= 2.6 XCATEGORIES= japanese gnome XMASTER_SITES= http://gjiten.sourceforge.net/ X XMAINTAINER= stephane.lapie@darkbsd.org XCOMMENT= Gjiten is a Japanese dictionary program for GNOME X XOPTIONS_DEFINE= UTF8 KANJIPAD DOCS NLS XUTF8_DESC= Use UTF-8 edict dictionaries XKANJIPAD_DESC= Use Kanjipad X XUSE_GNOME= gtk20 gconf2 libglade libgnomeui XUSE_GMAKE= yes XINSTALLS_OMF= yes XGNU_CONFIGURE= yes XCPPFLAGS+= -I${LOCALBASE}/include XLDFLAGS+= -L${LOCALBASE}/lib X XPORTDOCS= gjiten-doc.ja.html XMAN1= gjiten.1 XGCONF_SCHEMAS= gjiten-dicfiles.schemas gjiten.schemas X X.include <bsd.port.options.mk> X X.if ${PORT_OPTIONS:MNLS} XUSE_GETTEXT= yes XPLIST_SUB+= NLS="" X.else XUSE_GETTEXT= no XPLIST_SUB+= NLS="@comment " XMAKE_ENV+= USE_NLS=no X.endif X X.if ${PORT_OPTIONS:MUTF8} XEDICT_DIR= ${LOCALBASE}/share/dict/edict-utf-8 XEDICT_FILE= ${EDICT_DIR}/edict XRUN_DEPENDS+= ${EDICT_FILE}:${PORTSDIR}/japanese/edict-utf-8 X.else XEDICT_DIR= ${LOCALBASE}/share/dict/edict XEDICT_FILE= ${EDICT_DIR}/edict XRUN_DEPENDS+= ${EDICT_FILE}:${PORTSDIR}/japanese/edict \ X ${LOCALBASE}/bin/iconv:${PORTSDIR}/converters/libiconv X.endif X XDICTIONARIES= kanjidic edict compdic XGJITEN_DICS= ${DATADIR}/dics/ X X.if ${PORT_OPTIONS:MKANJIPAD} XRUN_DEPENDS+= ${LOCALBASE}/bin/kanjipad:${PORTSDIR}/japanese/kanjipad X.endif X Xpost-install: X.if ${PORT_OPTIONS:MDOCS} X @${INSTALL} -d ${DOCSDIR} X.for f in ${PORTDOCS} X ${INSTALL_DATA} ${WRKSRC}/help/ja/${f} ${DOCSDIR} X.endfor X.endif X @${INSTALL} -d ${GJITEN_DICS} X.if ${PORT_OPTIONS:MUTF8} X.for f in ${DICTIONARIES} X ${INSTALL_DATA} ${EDICT_DIR}/${f} ${GJITEN_DICS} X.endfor X.else X.for f in ${DICTIONARIES} X ${LOCALBASE}/bin/iconv -c -f EUC-JP -t UTF-8 ${EDICT_DIR}/${f} -o ${GJITEN_DICS} X.endfor X.endif X -@update-desktop-database X X.include <bsd.port.mk> 4d0f395ad9154e4ad764910a2e5358c9 echo x - gjiten/pkg-descr sed 's/^X//' >gjiten/pkg-descr << 'ab7b9bcb3dd33b984adeab2017b634eb' XGjiten is a Japanese dictionary program for GNOME. X XGjiten also has a kanji dictionary. Any combination of stroke count, Xradicals and search key can be used for kanji lookups. X XWWW: http://gjiten.sourceforge.net/ ab7b9bcb3dd33b984adeab2017b634eb echo x - gjiten/pkg-plist sed 's/^X//' >gjiten/pkg-plist << 'aa6b76a4913a46d6d4bfd2a5889d0189' Xbin/gjiten Xshare/application-registry/gjiten.desktop Xshare/applications/gjiten.desktop X%%DATADIR%%/dics/compdic X%%DATADIR%%/dics/edict X%%DATADIR%%/dics/kanjidic X%%DATADIR%%/gjiten-settings.glade X%%DATADIR%%/radkfile.utf8 X%%DATADIR%%/vconj.utf8 Xshare/gnome/help/gjiten/C/gjiten.xml Xshare/gnome/help/gjiten/C/legal.xml X%%NLS%%share/locale/de/LC_MESSAGES/gjiten.mo X%%NLS%%share/locale/de_CH/LC_MESSAGES/gjiten.mo X%%NLS%%share/locale/ja/LC_MESSAGES/gjiten.mo Xshare/omf/gjiten/gjiten-C.omf Xshare/pixmaps/gjiten/gjiten-logo.png Xshare/pixmaps/jiten.png Xshare/pixmaps/kanjidic.png Xshare/pixmaps/kanjipad.png Xshare/pixmaps/left_ptr_question.png X@dirrm share/pixmaps/gjiten X@dirrm share/omf/gjiten X@dirrm share/gjiten/dics X@dirrm share/gjiten X@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true X@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true aa6b76a4913a46d6d4bfd2a5889d0189 exit -- Stephane LAPIE, EPITA SRS, Promo 2005 "Even when they have digital readouts, I can't understand them." --MegaTokyo
Added the proper build dependency for xmlto. Moved iconv as a build dependency. Updated the shar file : # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # gjiten/ # gjiten/distinfo # gjiten/Makefile # gjiten/pkg-descr # gjiten/pkg-plist # echo c - gjiten/ mkdir -p gjiten/ > /dev/null 2>&1 echo x - gjiten/distinfo sed 's/^X//' >gjiten/distinfo << '471b8a372f2c566ae4996f87af59204e' XSHA256 (gjiten-2.6.tar.gz) = f6c0cc69e1e59ed8c3a946a1ee3e4a5e2e1deb16890bfc5f67c055adb10a71dd XSIZE (gjiten-2.6.tar.gz) = 564845 471b8a372f2c566ae4996f87af59204e echo x - gjiten/Makefile sed 's/^X//' >gjiten/Makefile << '4d0f395ad9154e4ad764910a2e5358c9' X# New ports collection makefile for: gjiten X# Date created: 03 Sep 2012 X# Whom: Stephane Lapie <stephane.lapie@darkbsd.org> X# X# $FreeBSD: $ X# X XPORTNAME= gjiten XPORTVERSION= 2.6 XCATEGORIES= japanese gnome XMASTER_SITES= http://gjiten.sourceforge.net/ X XMAINTAINER= stephane.lapie@darkbsd.org XCOMMENT= Gjiten is a Japanese dictionary program for GNOME X XOPTIONS_DEFINE= UTF8 KANJIPAD DOCS NLS XUTF8_DESC= Use UTF-8 edict dictionaries XKANJIPAD_DESC= Use Kanjipad X XUSE_GNOME= gtk20 gconf2 libglade libgnomeui XUSE_GMAKE= yes XINSTALLS_OMF= yes XGNU_CONFIGURE= yes XCPPFLAGS+= -I${LOCALBASE}/include XLDFLAGS+= -L${LOCALBASE}/lib X XPORTDOCS= gjiten-doc.ja.html XMAN1= gjiten.1 XGCONF_SCHEMAS= gjiten-dicfiles.schemas gjiten.schemas X X.include <bsd.port.options.mk> X X.if ${PORT_OPTIONS:MNLS} XUSE_GETTEXT= yes XPLIST_SUB+= NLS="" X.else XPLIST_SUB+= NLS="@comment " XMAKE_ENV+= USE_NLS=no X.endif X X.if ${PORT_OPTIONS:MUTF8} XEDICT_DIR= ${LOCALBASE}/share/dict/edict-utf-8 XEDICT_FILE= ${EDICT_DIR}/edict XRUN_DEPENDS+= ${EDICT_FILE}:${PORTSDIR}/japanese/edict-utf-8 X.else XEDICT_DIR= ${LOCALBASE}/share/dict/edict XEDICT_FILE= ${EDICT_DIR}/edict XRUN_DEPENDS+= ${EDICT_FILE}:${PORTSDIR}/japanese/edict XBUILD_DEPENDS+= ${LOCALBASE}/bin/iconv:${PORTSDIR}/converters/libiconv X.endif X XDICTIONARIES= kanjidic edict compdic XGJITEN_DICS= ${DATADIR}/dics/ X X.if ${PORT_OPTIONS:MKANJIPAD} XRUN_DEPENDS+= ${LOCALBASE}/bin/kanjipad:${PORTSDIR}/japanese/kanjipad X.endif X XBUILD_DEPENDS+= ${LOCALBASE}/bin/xmlto:${PORTSDIR}/textproc/xmlto X Xpost-install: X.if ${PORT_OPTIONS:MDOCS} X @${INSTALL} -d ${DOCSDIR} X.for f in ${PORTDOCS} X ${INSTALL_DATA} ${WRKSRC}/help/ja/${f} ${DOCSDIR} X.endfor X.endif X @${INSTALL} -d ${GJITEN_DICS} X.if ${PORT_OPTIONS:MUTF8} X.for f in ${DICTIONARIES} X ${INSTALL_DATA} ${EDICT_DIR}/${f} ${GJITEN_DICS} X.endfor X.else X.for f in ${DICTIONARIES} X ${LOCALBASE}/bin/iconv -c -f EUC-JP -t UTF-8 ${EDICT_DIR}/${f} -o ${GJITEN_DICS} X.endfor X.endif X -@update-desktop-database X X.include <bsd.port.mk> 4d0f395ad9154e4ad764910a2e5358c9 echo x - gjiten/pkg-descr sed 's/^X//' >gjiten/pkg-descr << 'ab7b9bcb3dd33b984adeab2017b634eb' XGjiten is a Japanese dictionary program for GNOME. X XGjiten also has a kanji dictionary. Any combination of stroke count, Xradicals and search key can be used for kanji lookups. X XWWW: http://gjiten.sourceforge.net/ ab7b9bcb3dd33b984adeab2017b634eb echo x - gjiten/pkg-plist sed 's/^X//' >gjiten/pkg-plist << 'aa6b76a4913a46d6d4bfd2a5889d0189' Xbin/gjiten Xshare/application-registry/gjiten.desktop Xshare/applications/gjiten.desktop X%%DATADIR%%/dics/compdic X%%DATADIR%%/dics/edict X%%DATADIR%%/dics/kanjidic X%%DATADIR%%/gjiten-settings.glade X%%DATADIR%%/radkfile.utf8 X%%DATADIR%%/vconj.utf8 Xshare/gnome/help/gjiten/C/gjiten.xml Xshare/gnome/help/gjiten/C/legal.xml X%%NLS%%share/locale/de/LC_MESSAGES/gjiten.mo X%%NLS%%share/locale/de_CH/LC_MESSAGES/gjiten.mo X%%NLS%%share/locale/ja/LC_MESSAGES/gjiten.mo Xshare/omf/gjiten/gjiten-C.omf Xshare/pixmaps/gjiten/gjiten-logo.png Xshare/pixmaps/jiten.png Xshare/pixmaps/kanjidic.png Xshare/pixmaps/kanjipad.png Xshare/pixmaps/left_ptr_question.png X@dirrm share/pixmaps/gjiten X@dirrm share/omf/gjiten X@dirrm share/gjiten/dics X@dirrm share/gjiten X@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true X@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true aa6b76a4913a46d6d4bfd2a5889d0189 exit
Fixed the Makefile for post-install for iconv'ing dictionaries. Updated shar file: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # gjiten/ # gjiten/distinfo # gjiten/Makefile # gjiten/pkg-descr # gjiten/pkg-plist # echo c - gjiten/ mkdir -p gjiten/ > /dev/null 2>&1 echo x - gjiten/distinfo sed 's/^X//' >gjiten/distinfo << '471b8a372f2c566ae4996f87af59204e' XSHA256 (gjiten-2.6.tar.gz) = f6c0cc69e1e59ed8c3a946a1ee3e4a5e2e1deb16890bfc5f67c055adb10a71dd XSIZE (gjiten-2.6.tar.gz) = 564845 471b8a372f2c566ae4996f87af59204e echo x - gjiten/Makefile sed 's/^X//' >gjiten/Makefile << '4d0f395ad9154e4ad764910a2e5358c9' X# New ports collection makefile for: gjiten X# Date created: 03 Sep 2012 X# Whom: Stephane Lapie <stephane.lapie@darkbsd.org> X# X# $FreeBSD: $ X# X XPORTNAME= gjiten XPORTVERSION= 2.6 XCATEGORIES= japanese gnome XMASTER_SITES= http://gjiten.sourceforge.net/ X XMAINTAINER= stephane.lapie@darkbsd.org XCOMMENT= Gjiten is a Japanese dictionary program for GNOME X XOPTIONS_DEFINE= UTF8 KANJIPAD DOCS NLS XUTF8_DESC= Use UTF-8 edict dictionaries XKANJIPAD_DESC= Use Kanjipad X XUSE_GNOME= gtk20 gconf2 libglade libgnomeui XUSE_GMAKE= yes XINSTALLS_OMF= yes XGNU_CONFIGURE= yes XCPPFLAGS+= -I${LOCALBASE}/include XLDFLAGS+= -L${LOCALBASE}/lib X XPORTDOCS= gjiten-doc.ja.html XMAN1= gjiten.1 XGCONF_SCHEMAS= gjiten-dicfiles.schemas gjiten.schemas X X.include <bsd.port.options.mk> X X.if ${PORT_OPTIONS:MNLS} XUSE_GETTEXT= yes XPLIST_SUB+= NLS="" X.else XPLIST_SUB+= NLS="@comment " XMAKE_ENV+= USE_NLS=no X.endif X X.if ${PORT_OPTIONS:MUTF8} XEDICT_DIR= ${LOCALBASE}/share/dict/edict-utf-8 XEDICT_FILE= ${EDICT_DIR}/edict XRUN_DEPENDS+= ${EDICT_FILE}:${PORTSDIR}/japanese/edict-utf-8 X.else XEDICT_DIR= ${LOCALBASE}/share/dict/edict XEDICT_FILE= ${EDICT_DIR}/edict XRUN_DEPENDS+= ${EDICT_FILE}:${PORTSDIR}/japanese/edict XBUILD_DEPENDS+= ${LOCALBASE}/bin/iconv:${PORTSDIR}/converters/libiconv X.endif X XDICTIONARIES= kanjidic edict compdic XGJITEN_DICS= ${DATADIR}/dics/ X X.if ${PORT_OPTIONS:MKANJIPAD} XRUN_DEPENDS+= ${LOCALBASE}/bin/kanjipad:${PORTSDIR}/japanese/kanjipad X.endif X XBUILD_DEPENDS+= ${LOCALBASE}/bin/xmlto:${PORTSDIR}/textproc/xmlto X Xpost-install: X.if ${PORT_OPTIONS:MDOCS} X @${INSTALL} -d ${DOCSDIR} X.for f in ${PORTDOCS} X ${INSTALL_DATA} ${WRKSRC}/help/ja/${f} ${DOCSDIR} X.endfor X.endif X @${INSTALL} -d ${GJITEN_DICS} X.if ${PORT_OPTIONS:MUTF8} X.for f in ${DICTIONARIES} X ${INSTALL_DATA} ${EDICT_DIR}/${f} ${GJITEN_DICS} X.endfor X.else X.for f in ${DICTIONARIES} X ${LOCALBASE}/bin/iconv -c -f EUC-JP -t UTF-8 ${EDICT_DIR}/${f} > ${GJITEN_DICS}/${f} X.endfor X.endif X -@update-desktop-database X X.include <bsd.port.mk> 4d0f395ad9154e4ad764910a2e5358c9 echo x - gjiten/pkg-descr sed 's/^X//' >gjiten/pkg-descr << 'ab7b9bcb3dd33b984adeab2017b634eb' XGjiten is a Japanese dictionary program for GNOME. X XGjiten also has a kanji dictionary. Any combination of stroke count, Xradicals and search key can be used for kanji lookups. X XWWW: http://gjiten.sourceforge.net/ ab7b9bcb3dd33b984adeab2017b634eb echo x - gjiten/pkg-plist sed 's/^X//' >gjiten/pkg-plist << 'aa6b76a4913a46d6d4bfd2a5889d0189' Xbin/gjiten Xshare/application-registry/gjiten.desktop Xshare/applications/gjiten.desktop X%%DATADIR%%/dics/compdic X%%DATADIR%%/dics/edict X%%DATADIR%%/dics/kanjidic X%%DATADIR%%/gjiten-settings.glade X%%DATADIR%%/radkfile.utf8 X%%DATADIR%%/vconj.utf8 Xshare/gnome/help/gjiten/C/gjiten.xml Xshare/gnome/help/gjiten/C/legal.xml X%%NLS%%share/locale/de/LC_MESSAGES/gjiten.mo X%%NLS%%share/locale/de_CH/LC_MESSAGES/gjiten.mo X%%NLS%%share/locale/ja/LC_MESSAGES/gjiten.mo Xshare/omf/gjiten/gjiten-C.omf Xshare/pixmaps/gjiten/gjiten-logo.png Xshare/pixmaps/jiten.png Xshare/pixmaps/kanjidic.png Xshare/pixmaps/kanjipad.png Xshare/pixmaps/left_ptr_question.png X@dirrm share/pixmaps/gjiten X@dirrm share/omf/gjiten X@dirrm share/gjiten/dics X@dirrm share/gjiten X@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true X@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true aa6b76a4913a46d6d4bfd2a5889d0189 exit -- Stephane LAPIE, EPITA SRS, Promo 2005 "Even when they have digital readouts, I can't understand them." --MegaTokyo
Fixed remaining directories after removal (mainly locales and gnome related ones), using @dirrmtry (which should hopefully preserve them if they are not needed anymore). Fixed shar archive : # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # gjiten/ # gjiten/distinfo # gjiten/Makefile # gjiten/pkg-descr # gjiten/pkg-plist # echo c - gjiten/ mkdir -p gjiten/ > /dev/null 2>&1 echo x - gjiten/distinfo sed 's/^X//' >gjiten/distinfo << '471b8a372f2c566ae4996f87af59204e' XSHA256 (gjiten-2.6.tar.gz) = f6c0cc69e1e59ed8c3a946a1ee3e4a5e2e1deb16890bfc5f67c055adb10a71dd XSIZE (gjiten-2.6.tar.gz) = 564845 471b8a372f2c566ae4996f87af59204e echo x - gjiten/Makefile sed 's/^X//' >gjiten/Makefile << '4d0f395ad9154e4ad764910a2e5358c9' X# New ports collection makefile for: gjiten X# Date created: 03 Sep 2012 X# Whom: Stephane Lapie <stephane.lapie@darkbsd.org> X# X# $FreeBSD: $ X# X XPORTNAME= gjiten XPORTVERSION= 2.6 XCATEGORIES= japanese gnome XMASTER_SITES= http://gjiten.sourceforge.net/ X XMAINTAINER= stephane.lapie@darkbsd.org XCOMMENT= Gjiten is a Japanese dictionary program for GNOME X XOPTIONS_DEFINE= UTF8 KANJIPAD DOCS NLS XUTF8_DESC= Use UTF-8 edict dictionaries XKANJIPAD_DESC= Use Kanjipad X XUSE_GNOME= gtk20 gconf2 libglade libgnomeui XUSE_GMAKE= yes XINSTALLS_OMF= yes XGNU_CONFIGURE= yes XCPPFLAGS+= -I${LOCALBASE}/include XLDFLAGS+= -L${LOCALBASE}/lib X XPORTDOCS= gjiten-doc.ja.html XMAN1= gjiten.1 XGCONF_SCHEMAS= gjiten-dicfiles.schemas gjiten.schemas X X.include <bsd.port.options.mk> X X.if ${PORT_OPTIONS:MNLS} XUSE_GETTEXT= yes XPLIST_SUB+= NLS="" X.else XPLIST_SUB+= NLS="@comment " XMAKE_ENV+= USE_NLS=no X.endif X X.if ${PORT_OPTIONS:MUTF8} XEDICT_DIR= ${LOCALBASE}/share/dict/edict-utf-8 XEDICT_FILE= ${EDICT_DIR}/edict XRUN_DEPENDS+= ${EDICT_FILE}:${PORTSDIR}/japanese/edict-utf-8 X.else XEDICT_DIR= ${LOCALBASE}/share/dict/edict XEDICT_FILE= ${EDICT_DIR}/edict XRUN_DEPENDS+= ${EDICT_FILE}:${PORTSDIR}/japanese/edict XBUILD_DEPENDS+= ${LOCALBASE}/bin/iconv:${PORTSDIR}/converters/libiconv X.endif X XDICTIONARIES= kanjidic edict compdic XGJITEN_DICS= ${DATADIR}/dics/ X X.if ${PORT_OPTIONS:MKANJIPAD} XRUN_DEPENDS+= ${LOCALBASE}/bin/kanjipad:${PORTSDIR}/japanese/kanjipad X.endif X XBUILD_DEPENDS+= ${LOCALBASE}/bin/xmlto:${PORTSDIR}/textproc/xmlto X Xpost-install: X.if ${PORT_OPTIONS:MDOCS} X @${INSTALL} -d ${DOCSDIR} X.for f in ${PORTDOCS} X ${INSTALL_DATA} ${WRKSRC}/help/ja/${f} ${DOCSDIR} X.endfor X.endif X @${INSTALL} -d ${GJITEN_DICS} X.if ${PORT_OPTIONS:MUTF8} X.for f in ${DICTIONARIES} X ${INSTALL_DATA} ${EDICT_DIR}/${f} ${GJITEN_DICS} X.endfor X.else X.for f in ${DICTIONARIES} X ${LOCALBASE}/bin/iconv -c -f EUC-JP -t UTF-8 ${EDICT_DIR}/${f} > ${GJITEN_DICS}/${f} X.endfor X.endif X -@update-desktop-database X X.include <bsd.port.mk> 4d0f395ad9154e4ad764910a2e5358c9 echo x - gjiten/pkg-descr sed 's/^X//' >gjiten/pkg-descr << 'ab7b9bcb3dd33b984adeab2017b634eb' XGjiten is a Japanese dictionary program for GNOME. X XGjiten also has a kanji dictionary. Any combination of stroke count, Xradicals and search key can be used for kanji lookups. X XWWW: http://gjiten.sourceforge.net/ ab7b9bcb3dd33b984adeab2017b634eb echo x - gjiten/pkg-plist sed 's/^X//' >gjiten/pkg-plist << 'aa6b76a4913a46d6d4bfd2a5889d0189' Xbin/gjiten Xshare/application-registry/gjiten.desktop Xshare/applications/gjiten.desktop X%%DATADIR%%/dics/compdic X%%DATADIR%%/dics/edict X%%DATADIR%%/dics/kanjidic X%%DATADIR%%/gjiten-settings.glade X%%DATADIR%%/radkfile.utf8 X%%DATADIR%%/vconj.utf8 Xshare/gnome/help/gjiten/C/gjiten.xml Xshare/gnome/help/gjiten/C/legal.xml X%%NLS%%share/locale/de/LC_MESSAGES/gjiten.mo X%%NLS%%share/locale/de_CH/LC_MESSAGES/gjiten.mo X%%NLS%%share/locale/ja/LC_MESSAGES/gjiten.mo Xshare/omf/gjiten/gjiten-C.omf Xshare/pixmaps/gjiten/gjiten-logo.png Xshare/pixmaps/jiten.png Xshare/pixmaps/kanjidic.png Xshare/pixmaps/kanjipad.png Xshare/pixmaps/left_ptr_question.png X@dirrm share/pixmaps/gjiten X@dirrm share/omf/gjiten X@dirrm share/gjiten/dics X@dirrm share/gjiten X@dirrmtry share/locale/de_CH/LC_MESSAGES X@dirrmtry share/locale/de_CH X@dirrmtry share/gnome/help/gjiten/C X@dirrmtry share/gnome/help/gjiten X@dirrmtry share/gnome/help X@dirrmtry share/gnome X@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true X@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true aa6b76a4913a46d6d4bfd2a5889d0189 exit -- Stephane LAPIE, EPITA SRS, Promo 2005 "Even when they have digital readouts, I can't understand them." --MegaTokyo
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 _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed New port added. Thanks!
Author: culot (ports committer) Date: Sun Sep 16 12:32:58 2012 New Revision: 39563 URL: http://svn.freebsd.org/changeset/doc/39563 Log: Add Stephane Lapie <stephane.lapie@darkbsd.org> for japanese/gjiten. PR: ports/171226 Modified: head/en_US.ISO8859-1/articles/contributors/contrib.additional.sgml Modified: head/en_US.ISO8859-1/articles/contributors/contrib.additional.sgml ============================================================================== --- head/en_US.ISO8859-1/articles/contributors/contrib.additional.sgml Sun Sep 16 07:10:51 2012 (r39562) +++ head/en_US.ISO8859-1/articles/contributors/contrib.additional.sgml Sun Sep 16 12:32:58 2012 (r39563) @@ -9516,6 +9516,11 @@ </listitem> <listitem> + <para>Stephane Lapie + <email>stephane.lapie@darkbsd.org</email></para> + </listitem> + + <listitem> <para>Stephen Clawson <email>sclawson@marker.cs.utah.edu</email></para> </listitem> _______________________________________________ svn-doc-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-doc-all To unsubscribe, send any mail to "svn-doc-all-unsubscribe@freebsd.org"