# -*- 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
PortGroup           makefile 1.0

name                altermime
version             0.3.11
revision            0

categories          mail
license             Permissive
maintainers         nomaintainer
description         integrated email manipulation utility
long_description    \
    alterMIME is an integrated email/mailpack manipulation utility. It adds \
    and modifies headers, adds disclaimers, and changes or removes embedded \
    attachments.

homepage            https://www.pldaniels.com/altermime/
master_sites        ${homepage}

checksums           rmd160  a1132343ffd3a6257ebcd500240790dfa988dfbb \
                    sha256  475ed2710587d24f11d00dafa5c3f6df8ac79e13b8c5d54d2ea35576b579fd97 \
                    size    89962

patchfiles          patch-Makefile.diff

destroot {
    xinstall -m 0755 -d ${destroot}${prefix}/share/doc/${name}
    xinstall -m 0755 ${worksrcpath}/${name} ${destroot}${prefix}/bin
    xinstall -m 0644 -W ${worksrcpath} CHANGELOG INSTALL LICENCE README \
        ${destroot}${prefix}/share/doc/${name}/
}
