2011-11-30 12:13:59 +01:00
|
|
|
# $NetBSD: Makefile,v 1.29 2011/11/30 11:13:59 drochner Exp $
|
Initial import of lighttpd-1.4.3 as www/lighttpd.
LightTPD is a secure, fast, compliant, and very flexible web-server
which designed and optimized for for high-performance environments.
With a small memory footprint compared to other webservers, effective
management of the CPU load, and advanced feature set (FastCGI, CGI,
Auth, Output-Compression, URL-Rewriting and many more), LightTPD is
the perfect solution for every server that is suffering load problems.
This is loosely based on the lighttpd package from pkgsrc-wip by
Piotr Stolc <socrtp@soclab.eu.org>.
2005-09-04 08:37:05 +02:00
|
|
|
|
2011-07-14 21:59:45 +02:00
|
|
|
DISTNAME= lighttpd-1.4.29
|
2011-11-30 12:13:59 +01:00
|
|
|
PKGREVISION= 2
|
Initial import of lighttpd-1.4.3 as www/lighttpd.
LightTPD is a secure, fast, compliant, and very flexible web-server
which designed and optimized for for high-performance environments.
With a small memory footprint compared to other webservers, effective
management of the CPU load, and advanced feature set (FastCGI, CGI,
Auth, Output-Compression, URL-Rewriting and many more), LightTPD is
the perfect solution for every server that is suffering load problems.
This is loosely based on the lighttpd package from pkgsrc-wip by
Piotr Stolc <socrtp@soclab.eu.org>.
2005-09-04 08:37:05 +02:00
|
|
|
CATEGORIES= www
|
2010-02-08 15:47:54 +01:00
|
|
|
MASTER_SITES= http://download.lighttpd.net/lighttpd/releases-1.4.x/
|
2011-04-05 10:29:26 +02:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
Initial import of lighttpd-1.4.3 as www/lighttpd.
LightTPD is a secure, fast, compliant, and very flexible web-server
which designed and optimized for for high-performance environments.
With a small memory footprint compared to other webservers, effective
management of the CPU load, and advanced feature set (FastCGI, CGI,
Auth, Output-Compression, URL-Rewriting and many more), LightTPD is
the perfect solution for every server that is suffering load problems.
This is loosely based on the lighttpd package from pkgsrc-wip by
Piotr Stolc <socrtp@soclab.eu.org>.
2005-09-04 08:37:05 +02:00
|
|
|
|
2005-10-11 17:44:00 +02:00
|
|
|
MAINTAINER= joerg@NetBSD.org
|
Initial import of lighttpd-1.4.3 as www/lighttpd.
LightTPD is a secure, fast, compliant, and very flexible web-server
which designed and optimized for for high-performance environments.
With a small memory footprint compared to other webservers, effective
management of the CPU load, and advanced feature set (FastCGI, CGI,
Auth, Output-Compression, URL-Rewriting and many more), LightTPD is
the perfect solution for every server that is suffering load problems.
This is loosely based on the lighttpd package from pkgsrc-wip by
Piotr Stolc <socrtp@soclab.eu.org>.
2005-09-04 08:37:05 +02:00
|
|
|
HOMEPAGE= http://www.lighttpd.net/
|
2005-09-28 14:26:54 +02:00
|
|
|
COMMENT= Fast, light-footprint HTTP server
|
2011-04-05 10:29:26 +02:00
|
|
|
LICENSE= modified-bsd
|
Initial import of lighttpd-1.4.3 as www/lighttpd.
LightTPD is a secure, fast, compliant, and very flexible web-server
which designed and optimized for for high-performance environments.
With a small memory footprint compared to other webservers, effective
management of the CPU load, and advanced feature set (FastCGI, CGI,
Auth, Output-Compression, URL-Rewriting and many more), LightTPD is
the perfect solution for every server that is suffering load problems.
This is loosely based on the lighttpd package from pkgsrc-wip by
Piotr Stolc <socrtp@soclab.eu.org>.
2005-09-04 08:37:05 +02:00
|
|
|
|
2007-11-23 20:12:08 +01:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
Initial import of lighttpd-1.4.3 as www/lighttpd.
LightTPD is a secure, fast, compliant, and very flexible web-server
which designed and optimized for for high-performance environments.
With a small memory footprint compared to other webservers, effective
management of the CPU load, and advanced feature set (FastCGI, CGI,
Auth, Output-Compression, URL-Rewriting and many more), LightTPD is
the perfect solution for every server that is suffering load problems.
This is loosely based on the lighttpd package from pkgsrc-wip by
Piotr Stolc <socrtp@soclab.eu.org>.
2005-09-04 08:37:05 +02:00
|
|
|
USE_LIBTOOL= yes
|
2006-07-07 17:49:30 +02:00
|
|
|
SHLIBTOOL_OVERRIDE= # empty
|
Initial import of lighttpd-1.4.3 as www/lighttpd.
LightTPD is a secure, fast, compliant, and very flexible web-server
which designed and optimized for for high-performance environments.
With a small memory footprint compared to other webservers, effective
management of the CPU load, and advanced feature set (FastCGI, CGI,
Auth, Output-Compression, URL-Rewriting and many more), LightTPD is
the perfect solution for every server that is suffering load problems.
This is loosely based on the lighttpd package from pkgsrc-wip by
Piotr Stolc <socrtp@soclab.eu.org>.
2005-09-04 08:37:05 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS+= --libdir=${PREFIX}/lib/${PKGBASE}
|
|
|
|
CONFIGURE_ARGS+= --with-pcre
|
|
|
|
|
|
|
|
DOCDIR= ${PREFIX}/share/doc/${PKGBASE}
|
|
|
|
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
|
|
|
|
PKG_SYSCONFSUBDIR= ${PKGBASE}
|
|
|
|
RCD_SCRIPTS= lighttpd
|
2007-11-23 20:12:08 +01:00
|
|
|
|
Initial import of lighttpd-1.4.3 as www/lighttpd.
LightTPD is a secure, fast, compliant, and very flexible web-server
which designed and optimized for for high-performance environments.
With a small memory footprint compared to other webservers, effective
management of the CPU load, and advanced feature set (FastCGI, CGI,
Auth, Output-Compression, URL-Rewriting and many more), LightTPD is
the perfect solution for every server that is suffering load problems.
This is loosely based on the lighttpd package from pkgsrc-wip by
Piotr Stolc <socrtp@soclab.eu.org>.
2005-09-04 08:37:05 +02:00
|
|
|
.include "options.mk"
|
|
|
|
|
2011-04-05 10:29:26 +02:00
|
|
|
CNFS_cmd= ${SED} -ne "s,^share/examples/lighttpd/,,p" PLIST
|
|
|
|
CNFS= ${CNFS_cmd:sh}
|
|
|
|
.for file in ${CNFS}
|
|
|
|
CONF_FILES+= ${EGDIR}/${file:Q} ${PKG_SYSCONFDIR}/${file:Q}
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
INSTALLATION_DIRS= ${DOCDIR} ${EGDIR} ${EGDIR}/conf.d ${EGDIR}/vhosts.d
|
|
|
|
OWN_DIRS= ${PKG_SYSCONFDIR}/conf.d
|
|
|
|
OWN_DIRS+= ${PKG_SYSCONFDIR}/vhosts.d
|
Initial import of lighttpd-1.4.3 as www/lighttpd.
LightTPD is a secure, fast, compliant, and very flexible web-server
which designed and optimized for for high-performance environments.
With a small memory footprint compared to other webservers, effective
management of the CPU load, and advanced feature set (FastCGI, CGI,
Auth, Output-Compression, URL-Rewriting and many more), LightTPD is
the perfect solution for every server that is suffering load problems.
This is loosely based on the lighttpd package from pkgsrc-wip by
Piotr Stolc <socrtp@soclab.eu.org>.
2005-09-04 08:37:05 +02:00
|
|
|
|
|
|
|
post-install:
|
2011-04-05 10:29:26 +02:00
|
|
|
set -e; cd ${WRKSRC}/doc; \
|
2011-07-14 21:59:45 +02:00
|
|
|
for f in *.css outdated/*.dot outdated/*.txt; do \
|
2011-04-05 10:29:26 +02:00
|
|
|
${INSTALL_DATA} $$f ${DESTDIR}${DOCDIR}; \
|
|
|
|
done; \
|
|
|
|
for f in config/*.conf scripts/*.sh; do \
|
|
|
|
${INSTALL_DATA} $$f ${DESTDIR}${EGDIR}; \
|
|
|
|
done; \
|
|
|
|
for f in config/conf.d/*.conf config/conf.d/mod.*; do \
|
|
|
|
${INSTALL_DATA} $$f ${DESTDIR}${EGDIR}/conf.d; \
|
|
|
|
done; \
|
|
|
|
${INSTALL_DATA} config/vhosts.d/*.template ${DESTDIR}${EGDIR}/vhosts.d
|
Initial import of lighttpd-1.4.3 as www/lighttpd.
LightTPD is a secure, fast, compliant, and very flexible web-server
which designed and optimized for for high-performance environments.
With a small memory footprint compared to other webservers, effective
management of the CPU load, and advanced feature set (FastCGI, CGI,
Auth, Output-Compression, URL-Rewriting and many more), LightTPD is
the perfect solution for every server that is suffering load problems.
This is loosely based on the lighttpd package from pkgsrc-wip by
Piotr Stolc <socrtp@soclab.eu.org>.
2005-09-04 08:37:05 +02:00
|
|
|
|
2011-04-05 10:29:26 +02:00
|
|
|
.include "../../devel/pcre/buildlink3.mk"
|
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
|
|
.include "../../mk/dlopen.buildlink3.mk"
|
Initial import of lighttpd-1.4.3 as www/lighttpd.
LightTPD is a secure, fast, compliant, and very flexible web-server
which designed and optimized for for high-performance environments.
With a small memory footprint compared to other webservers, effective
management of the CPU load, and advanced feature set (FastCGI, CGI,
Auth, Output-Compression, URL-Rewriting and many more), LightTPD is
the perfect solution for every server that is suffering load problems.
This is loosely based on the lighttpd package from pkgsrc-wip by
Piotr Stolc <socrtp@soclab.eu.org>.
2005-09-04 08:37:05 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|