# -*- 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                base-64
version             1.3
categories          mail
platforms           darwin
license             GPL-2
maintainers         nomaintainer

description         command line RFC 3548-compliant base 64 encoder and decoder
long_description    Base64 is a command line tool that implements an \
                    RFC 3548-compliant base 64 encoder and decoder. When encoding \
                    it can wrap encoded lines to a specified column, and when \
                    decoding can optionally ignore non-alphabet characters.

homepage            https://josefsson.org/base64/
master_sites        ${homepage}/releases/
distname            base64-${version}

checksums           rmd160  70ff48ad43aa0cf2026bc67070cb6fc863660a94 \
                    sha256  d137bd437acc3f9b535bbd5e32f62c5624a4d9c7b4905fa3cf8dca105064a236 \
                    size    218875

depends_lib         port:gettext

configure.args      --mandir=${prefix}/share/man
configure.ldflags-append \
                    "-lintl"
configure.cflags-append \
                    "-I${prefix}/include"

test.run            yes
test.target         check
