1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00
freebsd-ports/www/perlbal/Makefile
Baptiste Daroussin db18706044 - fix rc script: use --config instead of -f and --daemon instead of & [1]
while here:
- move configuration to perlbal subdirectory (as upstream recommands)
- s,/etc/perlbal,${PREFIX}/etc/perlbal,g in doc and code for consistency
- add a new dependency on p5-IO-AIO

PR:		ports/156559
Submitted by:	Dean Matzkov <bapabooiee _at_ gmail.com>
2011-04-23 07:32:55 +00:00

74 lines
1.9 KiB
Makefile

# New ports collection makefile for: perlbal
# Date created: 2005-08-08
# Whom: Jacques Marneweck <jacques@php.net>
#
# $FreeBSD$
#
PORTNAME= Perlbal
PORTVERSION= 1.78
PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:DORMANDO
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Reverse-proxy load balancer and webserver
RUN_DEPENDS= p5-BSD-Resource>=0:${PORTSDIR}/devel/p5-BSD-Resource \
p5-Danga-Socket>=1.44:${PORTSDIR}/devel/p5-Danga-Socket \
p5-libwww>=0:${PORTSDIR}/www/p5-libwww \
p5-Net-Netmask>=0:${PORTSDIR}/net-mgmt/p5-Net-Netmask \
p5-IO-AIO>=0:${PORTSDIR}/devel/p5-IO-AIO
BUILD_DEPENDS= ${RUN_DEPENDS}
PERL_CONFIGURE= yes
USE_RC_SUBR= perlbal
MAN1= perlbal.1
MAN3= Perlbal.3 \
Perlbal::Plugin::Palimg.3 \
Perlbal::Plugin::Cgilike.3 \
Perlbal::Plugin::Include.3 \
Perlbal::Plugin::Redirect.3 \
Perlbal::Plugin::MaxContentLength.3 \
Perlbal::Test.3 \
Perlbal::Util.3 \
Perlbal::FAQ.3 \
Perlbal::Manual.3 \
Perlbal::Manual::Configuration.3 \
Perlbal::Manual::Contributing.3 \
Perlbal::Manual::Credits.3 \
Perlbal::Manual::Debugging.3 \
Perlbal::Manual::FailOver.3 \
Perlbal::Manual::HighPriority.3 \
Perlbal::Manual::Hooks.3 \
Perlbal::Manual::Install.3 \
Perlbal::Manual::Internals.3 \
Perlbal::Manual::LoadBalancer.3 \
Perlbal::Manual::Logging.3 \
Perlbal::Manual::Management.3 \
Perlbal::Manual::Plugins.3 \
Perlbal::Manual::ReverseProxy.3 \
Perlbal::Manual::Roles.3 \
Perlbal::Manual::Selector.3 \
Perlbal::Manual::WebServer.3
post-patch:
@${REINPLACE_CMD} 's,/etc/perlbal,${PREFIX}/etc/perlbal,g' \
${WRKSRC}/lib/Perlbal/Manual/Configuration.pod \
${WRKSRC}/lib/Perlbal/Plugin/Include.pm \
${WRKSRC}/perlbal
@${RM} ${WRKSRC}/lib/Perlbal/Manual/Configuration.pod.bak \
${WRKSRC}/lib/Perlbal/Plugin/Include.pm.bak \
.ifndef NOPORTDOCS
post-install:
${MKDIR} ${DOCSDIR}
${CP} -R ${WRKSRC}/doc/ ${DOCSDIR}
.endif
.include <bsd.port.mk>