Ticket #13450: Portfile-lighttpd.diff
File Portfile-lighttpd.diff, 1.4 KB (added by nerdling (Jeremy Lavergne), 15 years ago) |
---|
-
www/lighttpd/Portfile
1 # -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4 1 2 # $Id$ 2 3 3 4 PortSystem 1.0 … … 17 18 rmd160 0762e55c52cbc8e5c20faecc45817db5885462d4 18 19 depends_lib port:pcre \ 19 20 port:zlib 20 patchfiles patch-doc-lighttpd.conf 21 patchfiles patch-doc-lighttpd.conf.diff 21 22 22 23 post-patch { 23 24 reinplace "s|__PREFIX|${prefix}|g" "${worksrcpath}/doc/lighttpd.conf" 24 25 } 25 26 26 27 configure.args --mandir=${prefix}/share/man … … 36 37 startupitem.start "${prefix}/sbin/lighttpd -f ${lighttpd_config}" 37 38 startupitem.stop "kill \$(cat \$PIDFILE)" 38 39 40 destroot.keepdirs ${destroot}${prefix}/var/log/lighttpd \ 41 ${destroot}${prefix}/www/htdocs \ 42 ${destroot}${prefix}/var/run/lighttpd \ 43 ${destroot}${prefix}/var/lib/lighttpd \ 44 ${destroot}${prefix}/var/cache/lighttpd/compress 39 45 post-destroot { 40 46 file mkdir "${destroot}${prefix}/etc/${name}/" 41 47 xinstall -m 644 -v "${worksrcpath}/doc/lighttpd.conf" \