# -*- 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$

PortSystem          1.0

name                tklib
version             0.6
categories          devel
license             BSD
platforms           darwin
maintainers         nomaintainer
supported_archs     noarch

description         A companion to Tcllib, for Tk related packages.

long_description    $description

homepage            http://core.tcl.tk/tklib/home

master_sites        http://core.tcl.tk/${name}/tarball/${distfiles}?uuid=[regsub {\.} $distname {-}]&dummy=

checksums           sha1    079713e212610b3b281b099f7685d386ed8ba48c \
                    rmd160  66f5b5341eca81f3180a91dd83b4a58fc07177f8

configure.args      --mandir=${prefix}/share/man

depends_lib         port:tcl \
                    port:tk

post-destroot {
    reinplace "1s,#!bin,#!/bin," ${destroot}${prefix}/bin/dia
    file attributes ${destroot}${prefix}/bin/bitmap-editor -permissions "+x"
}