1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00
freebsd-ports/www/monkey/Makefile
Clement Laforet 8f0fd74d8e - Update to 0.9.1
This release fixes two security problems.

Security: http://secunia.com/advisories/14953
2005-05-22 10:26:08 +00:00

42 lines
997 B
Makefile

# New ports collection makefile for: monkey
# Date created: Mon Oct 20 2003
# Whom: Clement Laforet <sheepkiller@cultdeadsheep.org>
#
# $FreeBSD$
#
PORTNAME= monkey
PORTVERSION= 0.9.1
CATEGORIES= www
MASTER_SITES= http://monkeyd.sourceforge.net/versions/
MAINTAINER= clement@FreeBSD.org
COMMENT= A small, powerful, and fast Web server written in C
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
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
BROKEN= "Does not compile on FreeBSD 4.x"
.endif
post-install:
@${INSTALL_SCRIPT} ${FILESDIR}/monkey.sh ${PREFIX}/etc/rc.d/monkey.sh.sample
.include <bsd.port.post.mk>