# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $ # Based on: http://www.openbsd.org/cgi-bin/cvsweb/ports/textproc/par/Makefile PortSystem 1.0 name par version 1.52 categories textproc platforms darwin maintainers prairienet.org:qbarnes description paragraph reflow for email long_description ${description} homepage http://www.nicemice.net/${name}/ master_sites ${homepage} distname [string totitle $name][string map {. {}} $version] checksums md5 4ccacd824171ba2c2f14fb8aba78b9bf configure { file copy ${worksrcpath}/protoMakefile ${worksrcpath}/Makefile reinplace "s|\$(CC) \$<|\$(CC) \$(CFLAGS) \$<|" ${worksrcpath}/Makefile } build.target destroot { xinstall -m 555 "${worksrcpath}/${name}" "${destroot}${prefix}/bin/" xinstall -m 444 "${worksrcpath}/${name}.1" "${destroot}${prefix}/share/man/man1/" }