source: trunk/dports/games/kanatest/Portfile

Last change on this file was 111981, checked in by jmr@…, 5 years ago

kanatest: license

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
RevLine 
[49817]1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
[28297]2# $Id: Portfile 111981 2013-10-08 02:21:34Z jmr@macports.org $
3
[28880]4PortSystem      1.0
[28297]5
[28880]6name            kanatest
[49817]7version         0.4.8
[28880]8categories      games education
[111981]9license         GPL-2+
[28880]10platforms       darwin
[74826]11maintainers     nomaintainer
[28880]12description     Kanatest is a Japanese kana (Hiragana and Katakana) simple flashcard tool.
[28297]13
[28301]14long_description \
[28880]15    Kanatest is a Japanese kana (hiragana and katakana) simple flashcard tool. It offers fourteen \
16    lessons and three drill modes: hiragana, katakana, and mixed mode. The tool displays randomly \
17    selected kana characters (respecting mode and lesson) and waits for the user answer (expected \
18    as the romaji equivalent). This process continues until all questions are answered or all \
19    questions are answered correctly (depending on options). At the end of test, information about \
20    drilling time and correctness ratio is displayed. The results are stored, and a user can review \
21    his performance at any time.
[28301]22
[60859]23homepage        http://clayo.org/kanatest/
[28880]24master_sites    ${homepage}
[28297]25
[49817]26checksums       md5     b97b0521314f634e454354cb7ba2013d \
27                sha1    4f316b28898d37597230c918d6ec01b491d66a35 \
28                rmd160  40862600bffe34e57a231003ab5597e6ac3436fb
[28297]29
[29167]30depends_build   port:pkgconfig
[28880]31depends_lib     port:gettext \
[58271]32                path:lib/pkgconfig/glib-2.0.pc:glib2 \
[28880]33                port:gtk2 \
34                port:libiconv \
[29167]35                port:libxml2
[28297]36
[29167]37build.args      MSGFMT=${prefix}/bin/msgfmt \
38                XGETTEXT=${prefix}/bin/xgettext \
39                MSGMERGE=${prefix}/bin/msgmerge
40
41destroot.args   ${build.args}
42
[28297]43post-destroot {
[28880]44    set docdir ${prefix}/share/doc/${name}-${version}
45    xinstall -d ${destroot}${docdir}
46    xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING ChangeLog README \
47        ${destroot}${docdir}
[28297]48}
Note: See TracBrowser for help on using the repository browser.