# $Id: Portfile 90445 2012-03-05 22:08:09Z cal@macports.org $

PortSystem          1.0
PortGroup           python27 1.0
name                rednotebook
version             1.2.0
categories          office
license             GPL-2+
maintainers         nomaintainer
description         Diary and journal application
long_description \
   RedNotebook is a graphical diary and journal helping you keep track of \
   notes and thoughts. It includes calendar navigation, customizable \
   templates, export functionality and word clouds. You can also format, \
   tag and search your entries.

platforms           darwin
supported_archs     noarch

homepage            http://rednotebook.sourceforge.net
master_sites        sourceforge

dist_subdir         ${name}
checksums           sha1    cd2e2c41264c5367898cdcef8980ce47759272a0 \
                    rmd160  815c818f3cfc260f9a2b4dbfd221d1bb0f6e64f5

# Set to nothing so there is no suffix (otherwise it would be rednotebook-2.7)
python.link_binaries_suffix

depends_lib         port:py27-gtk port:py27-yaml port:py27-webkitgtk

post-destroot {
   eval move [glob ${destroot}${python.prefix}/share/*] \
      ${destroot}${prefix}/share
   xinstall -m 644 -W ${worksrcpath} AUTHORS CHANGELOG LICENSE README \
      ${destroot}${prefix}/share/doc/${name}
}

livecheck.type      freecode

