# $Id: Portfile 110997 2013-09-13 00:25:26Z jmr@macports.org $ PortSystem 1.0 name mathopd version 1.5p4 categories www license BSD maintainers nomaintainer 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 ${homepage}dist/ checksums md5 38b7bfd66b4bd18d4cb41b4ce4703e58 worksrcdir ${distname}/src patchfiles getline.diff post-patch { reinplace "s|LIBS = -lcrypt||" ${worksrcpath}/Makefile } use_configure no build.args CC="${configure.cc}" \ CFLAGS="${configure.cflags} ${configure.cc_archflags} -Wall -Wextra" \ LDFLAGS="${configure.ld_archflags}" destroot.destdir PREFIX=${destroot}${prefix} 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." }