openbsd-ports/www/yaws/Makefile
jasper ec1a42aa3c import yaws 1.89
Yaws is a HTTP high perfomance 1.1 webserver particularly well suited
for dynamic-content web applications. Two separate modes of operations
are supported:

    * Standalone mode where Yaws runs as a regular webserver daemon.
      This is the default mode.
    * Embedded mode where Yaws runs as an embedded webserver in another
      Erlang application.

Yaws is entirely written in Erlang, and furthermore it is a
multithreaded webserver where one Erlang lightweight process is used to
handle each client.

ok aja@
2010-12-22 18:38:03 +00:00

52 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2010/12/22 18:38:03 jasper Exp $
COMMENT-main= high performance webserver written in Erlang, libraries
COMMENT-web= high performance webserver written in Erlang, docroot
VERSION= 1.89
DISTNAME= yaws-${VERSION}
PKGNAME-main= yaws-${VERSION}
PKGNAME-web= yaws-web-${VERSION}
CATEGORIES= www
MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>
HOMEPAGE= http://yaws.hyber.org/
# BSD-3
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE}/download/
MULTI_PACKAGES = -main -web
BUILD_DEPENDS= ${RUN_DEPENDS} \
textproc/latex2html
RUN_DEPENDS= lang/erlang
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --disable-pam \
--disable-sendfile
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
RUN_DEPENDS-web= ${BASE_PKGPATH},-main
USE_GMAKE= Yes
NO_REGRESS= Yes
PREFIX-web= /var
pre-configure:
${SUBST_CMD} ${WRKSRC}/configure
# Remove left-over patch file.
pre-install:
@rm -f ${WRKSRC}/www/doc.yaws.orig
.include <bsd.port.mk>