# -*- 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 89920 2012-02-15 16:01:51Z ryandesign@macports.org $

PortSystem          1.0

name                mime
version             1.1
revision            1
categories          textproc
license             BSD
platforms           darwin
maintainers         nomaintainer

description         library for decoding mime messages

long_description    ${description}

homepage            http://resnet.uoregon.edu/~gurney_j/jmpc/
master_sites        ${homepage}dist/

checksums           md5     3eadecc9116b93882914c8d610e9e737 \
                    rmd160  2b863a37be4f0851c2d5b04232582f55f78d3427 \
                    sha256  8cacc812dab74773bced2f19415b2f4ffc47395d080386df916d9375c41365ad

patchfiles          patch-Makefile.in \
                    patch-message.c

variant universal {}

build.args          CC="${configure.cc} [get_canonical_archflags cc]"

destroot.destdir    prefix=${destroot}${prefix}

livecheck.type      regex
livecheck.regex     >${name}</a><td>v(\[^<\]+)
