Created attachment 181081 [details] patch for www/lighttpd description of the patch. Fix post-patch target not working. Use ${ETCDIR} instead of ${PREFIX}/etc/lighttpd. Several changes to start service more quickly... Add user ${WWWOWN} and group ${WWWGRP} for environment that they are removed. Make directory ${WWWDIR} for server_root. Make directories /var/log/${PORTNAME}, /var/run/${PORTNAME}, /var/run/${PORTNAME}/sockets and /var/cache/${PORTNAME}. Those directories are used ${WWWOWN}'s process. server.document-root is not changed from ${PREFIX}/www/data. " + " is respect original config file. Use -tt instead of -t for configtest.
Created attachment 181082 [details] build log
Looks fine.
committed, thanks
A commit references this bug: Author: arved Date: Tue Nov 21 15:33:36 UTC 2017 New revision: 454615 URL: https://svnweb.freebsd.org/changeset/ports/454615 Log: Fix post-patch target Use ${ETCDIR} instead of ${PREFIX}/etc/lighttpd. PR: 218028 Submitted by: Tatsuki Makino Approved by: maintainer Changes: head/www/lighttpd/Makefile head/www/lighttpd/files/lighttpd.in head/www/lighttpd/pkg-plist