2005-10-07 16:07:04 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.20 2005/10/07 20:07:04 brad Exp $
|
2004-10-01 02:23:40 -04:00
|
|
|
|
|
|
|
SHARED_ONLY= Yes
|
|
|
|
|
|
|
|
COMMENT= "secure, fast, compliant, and very flexible web-server"
|
|
|
|
|
2005-10-02 20:53:50 -04:00
|
|
|
DISTNAME= lighttpd-1.4.5
|
2005-10-07 16:07:04 -04:00
|
|
|
PKGNAME= ${DISTNAME}p1
|
2004-10-01 02:23:40 -04:00
|
|
|
CATEGORIES= www net
|
|
|
|
|
|
|
|
MAINTAINER= Brad Smith <brad@openbsd.org>
|
|
|
|
|
2004-12-11 20:39:30 -05:00
|
|
|
HOMEPAGE= http://www.lighttpd.net/
|
2004-10-01 02:23:40 -04:00
|
|
|
|
2005-10-07 16:07:04 -04:00
|
|
|
LIB_DEPENDS+= pcre::devel/pcre
|
2004-10-01 02:23:40 -04:00
|
|
|
|
2004-10-17 11:11:46 -04:00
|
|
|
# BSD
|
2004-10-01 02:23:40 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2005-10-03 09:27:52 -04:00
|
|
|
WANTLIB= c m z
|
2004-10-01 02:23:40 -04:00
|
|
|
|
|
|
|
MASTER_SITES= ${HOMEPAGE}download/
|
|
|
|
|
2005-08-11 00:38:44 -04:00
|
|
|
USE_LIBTOOL= Yes
|
2004-10-01 02:23:40 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
2005-08-11 00:38:44 -04:00
|
|
|
CONFIGURE_ARGS+= --without-openssl \
|
2005-10-07 16:07:04 -04:00
|
|
|
--without-bzip2 \
|
2005-06-17 10:47:57 -04:00
|
|
|
--libdir="${PREFIX}/lib/lighttpd"
|
2004-10-01 02:23:40 -04:00
|
|
|
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/lighttpd
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/lighttpd.conf \
|
|
|
|
${PREFIX}/share/examples/lighttpd
|
|
|
|
|
2005-07-16 12:54:14 -04:00
|
|
|
post-configure:
|
|
|
|
@perl -pi -e "s,/usr/bin/rrdtool,${LOCALBASE}/bin/rrdtool," \
|
|
|
|
${WRKSRC}/doc/lighttpd.conf
|
|
|
|
|
2004-10-01 02:23:40 -04:00
|
|
|
.include <bsd.port.mk>
|