# $Id: Portfile 67691 2010-05-16 05:56:25Z perry@macports.org $

PortSystem          1.0

name                port_cutleaves
version             0.1.3
revision            1
categories          sysutils
maintainers         perry openmaintainer
platforms           darwin

description         Uninstall leaves.
long_description    Inspired by FreeBSD's pkg_cutleaves, port_cutleaves is \
                    an interactive script that eases the uninstallation of \
                    leaves - installed ports that are unrequested and have \
                    no dependents.
homepage            http://svn.macports.org/repository/macports/contrib/port_cutleaves/

livecheck.type      none

master_sites        macports

checksums           md5     2167f486432f92e118e1ec922a57df76 \
                    sha1    de98fa0997eac4629a078e830d0de9b3e27561f0 \
                    rmd160  ea8559f2c960f2f9ca83ed5b1b785bbd9578d1d2

patchfiles          patch-port_cutleaves.diff

post-patch {
    reinplace "s|@prefix@|${prefix}|" ${worksrcpath}/port_cutleaves
}
