openbsd-ports/www/perlbal/Makefile
sthen a6b48be34f import perlbal, mostly from dlg@, ok dlg
Perlbal is a single-threaded event-based server supporting HTTP
load balancing, web serving, and a mix of the two.
2009-10-02 09:26:21 +00:00

33 lines
786 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2009/10/02 09:26:21 sthen Exp $
COMMENT= Perl-based reverse proxy load balancer and web server
MODULES= cpan
DISTNAME= Perlbal-1.72
CATEGORIES= www
CPAN_AUTHOR= DORMANDO
# Perl
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
RUN_DEPENDS= ::net/p5-Danga-Socket \
::net/p5-Net-Netmask \
::www/p5-libwww \
::devel/p5-BSD-Resource
BUILD_DEPENDS= ${RUN_DEPENDS}
pre-configure:
${SUBST_CMD} ${WRKSRC}/perlbal
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/p5-Perlbal
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/p5-Perlbal
${INSTALL_DATA} ${WRKSRC}/conf/* ${PREFIX}/share/examples/p5-Perlbal
cd ${WRKSRC}/doc && pax -rw * ${PREFIX}/share/doc/p5-Perlbal
.include <bsd.port.mk>