# -*- 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

PortSystem          1.0

name                bournal
version             1.5
categories          office
platforms           any
maintainers         perlhacker.org:sepp
license             GPL-3+
supported_archs     noarch

description         bash script journal

long_description    Bournal is a bash script that allows you to write, search \
                    and edit encrypted journal entries. Bournal has no internet \
                    capabilities, and it will probably sass you so hard your \
                    mother will weep.

homepage            http://becauseinter.net/bournal/
master_sites        ${homepage}

checksums           sha1    b6483696293bd56e467541201bd1f3fa67d0dfd7 \
                    rmd160  087c355dca401de8a84cdc7f88359a972bc5e250

use_configure       no

patchfiles          patch-bournal.diff

build {}

destroot {
    xinstall -m 640 ${worksrcpath}/bournal.1.gz ${destroot}${prefix}/share/man/man1
    xinstall -m 755 -W ${worksrcpath} bournal bournal-convert ${destroot}${prefix}/bin

    set docdir ${destroot}${prefix}/share/doc/${name}
    xinstall -d ${docdir}
    xinstall -m 644 -W ${worksrcpath} LICENSE README changelog.txt ${docdir}
}
