diff -Naur lighttpd.orig/Portfile lighttpd/Portfile
old
|
new
|
|
17 | 17 | depends_lib lib:libpcre:pcre \ |
18 | 18 | lib:libz.1:zlib |
19 | 19 | |
20 | | configure.args --mandir=${prefix}/share/man |
| 20 | configure.args --mandir=${prefix}/share/man |
| 21 | configure.args-append --libdir=${prefix}/libexec/lighttpd |
21 | 22 | |
22 | 23 | variant mysql { |
23 | 24 | depends_lib-append lib:libmysqlclient:mysql4 |
… |
… |
|
49 | 50 | --with-memcache |
50 | 51 | } |
51 | 52 | |
| 53 | variant server { |
| 54 | set pidfile "${prefix}/var/run/lighttpd.pid" |
| 55 | set conffile "${prefix}/etc/lighttpd/lighttpd.conf" |
| 56 | |
| 57 | startupitem.create yes |
| 58 | startupitem.start "${prefix}/sbin/lighttpd -f ${conffile}" |
| 59 | startupitem.stop "kill -TERM `cat ${pidfile}`" |
| 60 | } |