# $Id: Portfile 30837 2007-11-08 09:19:19Z ryandesign@macports.org $

PortSystem          1.0

name                fdupes
version             1.40
categories          sysutils
maintainers         nomaintainer
description         identify and/or delete duplicate files
long_description    ${name} identifies and/or deletes duplicate files in specified directories.
homepage            http://premium.caribe.net/~adrian2/fdupes.html
master_sites        http://premium.caribe.net/~adrian2/programs/
platforms           darwin

checksums           md5 11de9ab4466089b6acbb62816b30b189 \
                    sha1 e1bce9bdf50d7bf700dda3eb8a3d218b181b3931 \
                    rmd160 0abd2f0dfee38cb333c1069363a65f8ab37e18dd

use_configure       no
build.target        ${name}

post-patch {
    reinplace "s|/usr/local/bin|${destroot}${prefix}/bin|g" ${worksrcpath}/Makefile
    reinplace "s|/usr/local/man|${destroot}${prefix}/share/man|g" ${worksrcpath}/Makefile
}
