# $Id: Portfile,v 1.1 2004/01/17 06:18:11 toby Exp $ PortSystem 1.0 name mathopd version 1.5 categories www maintainers toby@opendarwin.org description small, yet very fast HTTP server long_description \ Mathopd is a very small, yet very fast HTTP server for UN*X \ systems. Mathopd is designed specifically to handle a large \ number of connections with minimal fuss. It contains no \ unnecessary add-ons, but it does the trick for most things. homepage http://www.mathopd.org/ platforms darwin master_sites http://www.mathopd.org/dist/ checksums md5 b2c91e318143dab3b62826ebc56f9064 worksrcdir ${distname}/src use_configure no destroot.destdir PREFIX=${destroot}${prefix} patch { reinplace "s|LIBS = -lcrypt||" ${worksrcpath}/Makefile } post-destroot { file mkdir ${destroot}${prefix}/share/doc file copy ${worksrcpath}/../doc ${destroot}${prefix}/share/doc/mathopd } post-install { ui_msg "" ui_msg "Documentation installed into ${prefix}/share/doc/mathopd/" ui_msg "Mathopd will require some configuration before it can be used." }