Ticket #15474: Portfile-shttpd.diff
File Portfile-shttpd.diff, 2.1 KB (added by valenok@…, 16 years ago) |
---|
-
Portfile
old new 2 2 3 3 PortSystem 1.0 4 4 name shttpd 5 version 1. 345 version 1.41 6 6 categories www 7 7 maintainers nomaintainer 8 description embeddable MIT-licensed web server8 description Beerware-licensed web server 9 9 long_description \ 10 10 SHTTPD is simple, easy to use, embeddable web server with CGI, \ 11 SSL, cookies support. It is written in C, as one single source \ 12 file shttpd.c. It compiles both in UNIX and Windows environments. \ 13 It gives very small footprint when linked against uclibc or \ 11 SSL, Digest Authorization, resumed download, aliases, IP-based \ 12 ACLs. It gives very small footprint when linked against uclibc or \ 14 13 dietlibc. It is a good choice to serve Web based GUI for various \ 15 14 applications, where other sophisticated servers like Apache, IIS \ 16 15 etc are too big, hard to install and configure or overcomplicated. \ … … 18 17 web-oriented software demos. Beginner (and not just beginner) web \ 19 18 developers may find it very useful as well: shttpd serves PHP, \ 20 19 Perl and other CGI applications without any additional \ 21 configuration. Regardless its small size, shttpd is fully \22 functional and is readyto be used in production environment.20 configuration. SHTTPD is mature and stable product, and is ready \ 21 to be used in production environment. 23 22 homepage http://shttpd.sourceforge.net/ 24 23 platforms darwin 25 24 master_sites sourceforge 26 checksums sha1 596ce7b0aa480b3450b6574ac128e9f6513fb12825 checksums sha1 a3f23c3d06997d1c73771848d0db73fac421e46f 27 26 28 use_configure 27 use_configure no 29 28 30 build.cmd gcc31 build.target 32 build.args -Wall -g -DCONFIG=\\"${prefix}/etc/shttpd.conf\\" shttpd.c -o shttpd29 worksrcdir ${name}-${version}/src 30 build.target unix 31 build.args "CFLAGS=\"-W -Wall -O2\"" 33 32 34 33 destroot { 35 34 xinstall ${worksrcpath}/shttpd ${destroot}${prefix}/bin 36 35 xinstall ${worksrcpath}/shttpd.1 ${destroot}${prefix}/share/man/man1 37 xinstall ${worksrcpath}/shttpd.pem ${destroot}${prefix}/etc38 36 }