# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 89094 2012-01-19 08:19:10Z ryandesign@macports.org $

PortSystem          1.0
PortGroup           github 1.0
PortGroup           cmake 1.0

github.setup        Gnurou tagainijisho 0.9.2
license             GPL-3+
categories          aqua education japanese
platforms           darwin
maintainers         strasweb.fr:rudloff openmaintainer

description         A free Japanese dictionary and study assistant

long_description    Tagaini Jisho is a free, open-source Japanese \
                    dictionary and kanji lookup tool that is available \
                    for Windows, Mac OS X and Linux and aims at \
                    becoming your Japanese study assistant. It allows \
                    you to quickly search for entries and mark those \
                    that you wish to study, along with tags and \
                    personal notes. \
                    It also let you train entries you are studying \
                    and follows your progression in remembering them. \
                    Finally, it makes it easy to review entries you \
                    did not remember by listing them on screen \
                    or printing them on a small booklet.

homepage            http://www.tagaini.net/
master_sites        http://cloud.github.com/downloads/Gnurou/${name}/

checksums           rmd160  9e4919ec055e1532a72f236302bca6b3dade80b8 \
                    sha256  fbdcbdf3674eb3ce04cd85679b20a65ba767942dcdaa0565024b5e93723bc92d

depends_lib         port:qt4-mac

patchfiles          patch-CMakeLists.txt.diff \
                    patch-pack-CMakeLists.txt.diff

configure.pre_args  -DCMAKE_INSTALL_PREFIX=${applications_dir}
