# $Id: Portfile,v 1.18 2005/12/22 22:13:48 toby Exp $ PortSystem 1.0 name shttpd version 1.31 categories www maintainers toby@opendarwin.org description embeddable MIT-licensed web server long_description \ SHTTPD is simple, easy to use, embeddable web server with CGI, \ SSL, cookies support. It is written in C, as one single source \ file shttpd.c. It compiles both in UNIX and Windows environments. \ It gives very small footprint when linked against uclibc or \ dietlibc. It is a good choice to serve Web based GUI for various \ applications, where other sophisticated servers like Apache, IIS \ etc are too big, hard to install and configure or overcomplicated. \ It is good for implementing a web interface for daemons. Ideal for \ web-oriented software demos. Beginner (and not just beginner) web \ developers may find it very useful as well: shttpd serves PHP, \ Perl and other CGI applications without any additional \ configuration. Regardless its small size, shttpd is fully \ functional and is ready to be used in production environment. homepage http://shttpd.sourceforge.net/ platforms darwin master_sites sourceforge checksums sha1 e944a75a11209f1c3d30e74555344d6d543c11fb configure {} build.cmd gcc build.target build.args -Wall -g -DCONFIG=\\"${prefix}/etc/shttpd.conf\\" shttpd.c -o shttpd destroot { xinstall ${worksrcpath}/shttpd ${destroot}${prefix}/bin xinstall ${worksrcpath}/shttpd.1 ${destroot}${prefix}/share/man/man1 xinstall ${worksrcpath}/shttpd.pem ${destroot}${prefix}/etc }