# -*- 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                pbtomake
version             4.0
categories          devel
license             none
maintainers         nomaintainer

description         Project Builder pbproj file to standard Makefile converter

long_description    ${name} is an application to convert from an Apple \
                    Project Builder pbproj file to standard Makefile. It \
                    will convert simple projects to allow them to be built \
                    on other platforms.

homepage            http://members.bellatlantic.net/~vze35xda/software.html
master_sites        http://members.bellatlantic.net/~vze35xda/Load/
distname            TOMAKE-Xcode2.1
dist_subdir         ${name}/${version}
use_zip             yes

checksums           rmd160  73889dec7306cd3d435fe85e531fe2d81309ae4f \
                    sha256  9a2a3a8dcc7bdac58fca88fde21bd9676b2fb4c31a178b2da74a7a3227bee0bd

build.dir           ${worksrcpath}/Source/PBTOMAKE

xcode.destroot.path ${prefix}/bin

post-destroot {
    set docdir ${prefix}/share/doc/${name}
    xinstall -d ${destroot}${docdir}
    xinstall -m 644 -W ${worksrcpath} \
        Docs/article.rtf \
        Docs/articleII.rtf \
        Docs/readme.rtf \
        pbtomake.pdf \
        ${destroot}${docdir}
}
