# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4

PortSystem              1.0

name                    uif2iso
version                 0.1.7c
revision                3

categories              sysutils
platforms               darwin
maintainers             nomaintainer
description             converts UIF images to ISO images
long_description        ${description}

homepage                http://aluigi.org/mytoolz.htm#uif2iso
master_sites            http://aluigi.org/mytoolz/
distname                uif2iso
use_zip                 yes

checksums               md5     2eb9797ec463c38253014d45591a7043 \
                        sha1    30590093219119c0f1bff22898b38c64323c9387 \
                        rmd160  f835113a86ef662a93289d08263a5040b4f87df9

use_configure           no
dist_subdir             ${name}/${version}_${revision}
worksrcdir              src

depends_lib             port:zlib

patchfiles              Types.h.patch

build.env               CC=${configure.cc} CFLAGS=${configure.cc_archflags}

destroot {
	xinstall -m 755 ${worksrcpath}/uif2iso ${destroot}${prefix}/bin
	xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
	xinstall -m 644 ${workpath}/uif2iso.txt ${destroot}${prefix}/share/doc/${name}
}
