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

name                Pantomime-Framework
version             1.2.0pre1
categories          mail devel
# Parts are under the Elm license
license             GPL-2+ Noncommercial Restrictive
maintainers         nomaintainer

description         a framework for supporing POP, IMAP3, and SMTP

long_description    Pantomime is a framework that implements support for POP, \
                    IMAP3, and SMTP. It's fast and easy to use.

homepage            http://www.collaboration-world.com/cgi-bin/project/index.cgi?pid=3
master_sites        http://www.collaboration-world.com/pantomime.data/releases/Stable/

distfiles           Pantomime-${version}${extract.suffix}

checksums           md5 2f3ddc10177013960e732cd35fd9373e \
                    sha1 b8e7caa2d1f51a3387ed0fb96b5140a24ef33aea

worksrcdir          Pantomime

xcode.project       Pantomime.xcode
xcode.destroot.type framework

if {${os.major} >= 10} {
    post-patch {
        file copy -force ${filespath}/project.pbxproj ${worksrcpath}/${xcode.project}
        file copy ${filespath}/Info-Pantomime__Upgraded_.plist ${worksrcpath}
    }
    xcode.target    Pantomime\ (Upgraded)
}
