Add Monkey HTTP Daemon, a small, powerful, and fast Web server written in C.
Features include language support, GET, POST, and HEAD methods, CGI, PHP4 , a
config file (optional for every user), a mime.types file, virtual hosts, the
ability to deny URLs and IPs, to run as a different user (such as nobody),
serve users home directories, resume, and more.
PR: ports/58290
Submitted by: Clement Laforet <sheepkiller@cultdeadsheep.org>
2003-12-05 21:48:42 +01:00
|
|
|
# New ports collection makefile for: monkey
|
|
|
|
# Date created: Mon Oct 20 2003
|
|
|
|
# Whom: Clement Laforet <sheepkiller@cultdeadsheep.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= monkey
|
2004-06-10 23:08:30 +02:00
|
|
|
PORTVERSION= 0.8.4
|
2004-06-11 10:22:40 +02:00
|
|
|
PORTREVISION= 1
|
Add Monkey HTTP Daemon, a small, powerful, and fast Web server written in C.
Features include language support, GET, POST, and HEAD methods, CGI, PHP4 , a
config file (optional for every user), a mime.types file, virtual hosts, the
ability to deny URLs and IPs, to run as a different user (such as nobody),
serve users home directories, resume, and more.
PR: ports/58290
Submitted by: Clement Laforet <sheepkiller@cultdeadsheep.org>
2003-12-05 21:48:42 +01:00
|
|
|
CATEGORIES= www
|
|
|
|
MASTER_SITES= http://monkeyd.sourceforge.net/versions/
|
2004-06-11 10:22:40 +02:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-2
|
Add Monkey HTTP Daemon, a small, powerful, and fast Web server written in C.
Features include language support, GET, POST, and HEAD methods, CGI, PHP4 , a
config file (optional for every user), a mime.types file, virtual hosts, the
ability to deny URLs and IPs, to run as a different user (such as nobody),
serve users home directories, resume, and more.
PR: ports/58290
Submitted by: Clement Laforet <sheepkiller@cultdeadsheep.org>
2003-12-05 21:48:42 +01:00
|
|
|
|
2004-01-13 16:04:51 +01:00
|
|
|
MAINTAINER= clement@FreeBSD.org
|
Add Monkey HTTP Daemon, a small, powerful, and fast Web server written in C.
Features include language support, GET, POST, and HEAD methods, CGI, PHP4 , a
config file (optional for every user), a mime.types file, virtual hosts, the
ability to deny URLs and IPs, to run as a different user (such as nobody),
serve users home directories, resume, and more.
PR: ports/58290
Submitted by: Clement Laforet <sheepkiller@cultdeadsheep.org>
2003-12-05 21:48:42 +01:00
|
|
|
COMMENT= A small, powerful, and fast Web server written in C
|
|
|
|
|
|
|
|
LIB_DEPENDS= execinfo.1:${PORTSDIR}/devel/libexecinfo
|
|
|
|
|
|
|
|
USE_GMAKE= yes
|
|
|
|
ALL_TARGET= default
|
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --prefix=${PREFIX} \
|
|
|
|
--bindir=${PREFIX}/sbin \
|
|
|
|
--cgibin=${PREFIX}/www/cgi-bin \
|
|
|
|
--sysconfdir=${PREFIX}/etc/monkey \
|
|
|
|
--datadir=${PREFIX}/www/data \
|
|
|
|
--logdir=/var/log \
|
|
|
|
--lang=en
|
|
|
|
|
|
|
|
CONFIGURE_ENV+= EXTRA_CFLAGS="${CFLAGS}" PTHREAD_LIBS="${PTHREAD_LIBS}"
|
|
|
|
|
|
|
|
CFLAGS+= ${PTHREAD_CFLAGS} -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${INSTALL_SCRIPT} ${FILESDIR}/monkey.sh ${PREFIX}/etc/rc.d/monkey.sh.sample
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|