freebsd-ports/www/monkey/Makefile
Xin LI eaa6e7aade Security update to 0.9.3.
Security:	vid 4465c897-ee5c-11de-b6ef-00215c6a37bb
Sponsored by:	iXsystems, Inc.
2009-12-21 18:20:29 +00:00

37 lines
917 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.3
CATEGORIES= www
MASTER_SITES= http://www.monkey-project.com/versions/
MAINTAINER= ports@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>
post-install:
@${INSTALL_SCRIPT} ${FILESDIR}/monkey.sh ${PREFIX}/etc/rc.d/monkey.sh.sample
.include <bsd.port.post.mk>