# -*- 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 PortGroup github 1.0 github.setup zedshaw mongrel2 1.8.1 v license BSD categories www platforms darwin maintainers nomaintainer description The Language Agnostic Web Server long_description \ Mongrel2 is an application, language, and network architecture agnostic \ web server that focuses on web applications using modern browser \ technologies. checksums rmd160 a3c69d86555149a2ced7811d3be3b11bbae4f485 \ sha256 271c17f18db432d5d2af450efcefea05833f8eacc7389a5e56856cd92fc643ce depends_lib path:lib/libzmq.dylib:zmq22 \ port:sqlite3 patchfiles patch-Makefile.diff \ patch-tools-procer-Makefile.diff use_configure no variant universal {} build.args-append PREFIX=${prefix} \ CC=${configure.cc} \ OPTFLAGS="${configure.cflags} ${configure.cppflags} [get_canonical_archflags cc]" \ OPTLIBS="${configure.ldflags} [get_canonical_archflags ld]" destroot.args-append PREFIX=${prefix} post-destroot { xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} xinstall -m 755 -d ${destroot}${prefix}/share/examples/${name} xinstall -m 644 ${worksrcpath}/LICENSE ${destroot}${prefix}/share/doc/${name} xinstall -m 644 ${worksrcpath}/docs/manual/book.wiki ${destroot}${prefix}/share/doc/${name}/book.html xinstall -m 644 ${worksrcpath}/tests/config.sqlite ${destroot}${prefix}/share/examples/${name}/test-config.sqlite eval file copy [glob ${worksrcpath}/examples/*] ${destroot}${prefix}/share/examples/${name} }