# $Id: Portfile 47750 2009-03-05 03:51:00Z blb@macports.org $

PortSystem          1.0
name                sfind
version             1.2
categories          sysutils
maintainers         nomaintainer
description         POSIX.1-2001 compliant implementation of find
long_description \
   sfind is a highly portable and fully POSIX.1-2001 compliant \
   implementation of the "find" utility.

platforms           darwin

homepage            http://developer.berlios.de/projects/sfind/
master_sites        ftp://ftp.berlios.de/pub/sfind/
use_bzip2           yes

checksums           md5     e2d94c97fd14554b743a62c295ca4bfe \
                    sha1    79dd5086ad083ddded66e60748803e71a645e821 \
                    rmd160  d1a0da3809f57d67bf166972e45a4880e1ae05b2

depends_build       port:smake

use_configure       no

build.cmd           smake

destroot.destdir    INS_BASE=${destroot}${prefix} \
                    MANDIR=share/man \
                    INSUSR=`id -u` INSGRP=`id -g`
post-destroot {
   file delete -force ${destroot}${prefix}/lib \
      ${destroot}${prefix}/include \
      ${destroot}${prefix}/share/man/man5
}

