# $Id: Portfile,v 1.17 2005/10/10 10:34:48 toby Exp $ PortSystem 1.0 name shttpd version 1.27 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 http://puzzle.dl.sourceforge.net/shttpd/ sourceforge checksums sha1 ab90cd6b5c8ec3db03ea8b9c5332073d1bc47ec6 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.conf ${destroot}${prefix}/etc xinstall ${worksrcpath}/shttpd.pem ${destroot}${prefix}/etc }