source: trunk/dports/games/kanatest/Portfile

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

kanatest: license

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
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
2# $Id: Portfile 111981 2013-10-08 02:21:34Z ryandesign@macports.org $
3
4PortSystem      1.0
5
6name            kanatest
7version         0.4.8
8categories      games education
9license         GPL-2+
10platforms       darwin
11maintainers     nomaintainer
12description     Kanatest is a Japanese kana (Hiragana and Katakana) simple flashcard tool.
13
14long_description \
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.
22
23homepage        http://clayo.org/kanatest/
24master_sites    ${homepage}
25
26checksums       md5     b97b0521314f634e454354cb7ba2013d \
27                sha1    4f316b28898d37597230c918d6ec01b491d66a35 \
28                rmd160  40862600bffe34e57a231003ab5597e6ac3436fb
29
30depends_build   port:pkgconfig
31depends_lib     port:gettext \
32                path:lib/pkgconfig/glib-2.0.pc:glib2 \
33                port:gtk2 \
34                port:libiconv \
35                port:libxml2
36
37build.args      MSGFMT=${prefix}/bin/msgfmt \
38                XGETTEXT=${prefix}/bin/xgettext \
39                MSGMERGE=${prefix}/bin/msgmerge
40
41destroot.args   ${build.args}
42
43post-destroot {
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}
48}
Note: See TracBrowser for help on using the repository browser.