# $Id: Portfile,v 1.1 2004/08/30 18:28:01 mww Exp $ PortSystem 1.0 name libpub version 0.35 categories devel platforms darwin maintainers mww@opendarwin.org description library of C functions for various purposes. long_description ${description} homepage http://liw.iki.fi/liw/programs master_sites http://liw.iki.fi/liw/download/ distname publib-${version} checksums md5 843a8914a103d39a40219944f167c75b patchfiles patch-cfg.c \ patch-lsm_check_entry.c worksrcdir ${worksrcdir}/framework build.args prefix=${prefix} pre-destroot { reinplace "s|install:|install: all|g" ${worksrcpath}/Makefile } destroot.destdir prefix=${destroot}${prefix} \ mandir=${destroot}${prefix}/share/man post-destroot { system "find ${workpath} -name \\*.3 -exec install -m 644 {} \ ${destroot}${prefix}/share/man/man3 \\;" file delete ${destroot}${prefix}/share/man/man3/hash.3 }