mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
18393e4480
A high performance multi-threaded web server
37 lines
858 B
Makefile
37 lines
858 B
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: hydra
|
|
# Date created: Apr 2, 2003
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= hydra
|
|
PORTVERSION= 0.1.3
|
|
CATEGORIES= www
|
|
MASTER_SITES= ftp://ftp.hellug.gr/pub/software/hydra/ \
|
|
http://hydra.hellug.gr/download/ \
|
|
ftp://ftp.planetmirror.com/pub/hydra/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= A high performance multi-threaded web server
|
|
|
|
LIB_DEPENDS= gnutls.8:${PORTSDIR}/security/gnutls
|
|
|
|
USE_REINPLACE= yes
|
|
GNU_CONFIGURE= yes
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e "s,-pthread,${PTHREAD_LIBS},g" ${WRKSRC}/configure
|
|
.for file in src/defines.h examples/hydra.conf
|
|
@${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX},g" ${WRKSRC}/${file}
|
|
.endfor
|
|
|
|
post-install:
|
|
@${MKDIR} ${PREFIX}/etc/hydra
|
|
.for file in hydra.conf mime.types
|
|
${INSTALL_DATA} ${WRKSRC}/examples/${file} ${PREFIX}/etc/hydra
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|