openbsd-ports/www/lighttpd/Makefile

44 lines
991 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.20 2005/10/07 20:07:04 brad Exp $
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
PKGNAME= ${DISTNAME}p1
CATEGORIES= www net
MAINTAINER= Brad Smith <brad@openbsd.org>
2004-12-11 20:39:30 -05:00
HOMEPAGE= http://www.lighttpd.net/
LIB_DEPENDS+= pcre::devel/pcre
# BSD
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
MASTER_SITES= ${HOMEPAGE}download/
USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --without-openssl \
--without-bzip2 \
--libdir="${PREFIX}/lib/lighttpd"
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
.include <bsd.port.mk>