# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 name nostromo version 1.9.3 revision 2 categories www license ISC platforms darwin maintainers nomaintainer description nhttpd is a simple, fast and secure HTTP server long_description ${name} provides nhttpd, a simple, fast and secure HTTP server. homepage http://www.nazgul.ch/dev_nostromo.html master_sites http://www.nazgul.ch/dev checksums sha1 962085f807c7b42e615fbea13d4cc347660f8454 \ rmd160 2099287e18c7703e63d225f7e37c1cb23db2ffc2 depends_lib path:lib/libssl.dylib:openssl use_configure no variant universal {} build.args CC="${configure.cc}" \ CCFLAGS="${configure.cflags} [get_canonical_archflags cc] -Wall -Wextra -Wstrict-prototypes -c" \ LDFLAGS="${configure.ldflags} [get_canonical_archflags ld]" platform darwin { patchfiles-append patch-src-libbsd-GNUmakefile.diff \ patch-src-libmy-GNUmakefile.diff \ patch-src-nhttpd-GNUmakefile.diff \ patch-src-tools-GNUmakefile.diff } destroot { xinstall -W ${worksrcpath}/src nhttpd/nhttpd tools/crypt ${destroot}${prefix}/sbin/ xinstall -W ${worksrcpath} -m 644 src/nhttpd/nhttpd.cat8 ${destroot}${prefix}/share/man/man6/nhttpd.6 xinstall -d ${destroot}${prefix}/share/examples/${name} ${destroot}${prefix}/share/doc/${name} xinstall -W ${worksrcpath} -m 644 ChangeLog README ${destroot}${prefix}/share/doc/${name} xinstall -W ${worksrcpath} htdocs/cgi-bin/printenv ${destroot}${prefix}/share/examples/${name}/ xinstall -W ${worksrcpath} -m 444 conf/mimes ${destroot}${prefix}/share/examples/${name}/ xinstall -W ${worksrcpath} -m 644 \ conf/nhttpd.conf-dist \ htdocs/index.html \ htdocs/nostromo.gif \ icons/dir.gif \ icons/file.gif \ ${destroot}${prefix}/share/examples/${name}/ } livecheck.type regex livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix}