summaryrefslogtreecommitdiff
path: root/www/crawl/Makefile
blob: 2a7083f6a36792436e4d9cd9f180db687058e99c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# New ports collection makefile for:	crawl
# Date created:				20 June 2001
# Whom:					Pete Fritchman <petef@databits.net>
#
# $FreeBSD$
#

PORTNAME=	crawl
PORTVERSION=	0.3
PORTREVISION=	1
CATEGORIES=	www
MASTER_SITES=	http://www.monkey.org/~provos/

MAINTAINER=	petef@FreeBSD.org

BUILD_DEPENDS=	${LOCALBASE}/lib/libevent.a:${PORTSDIR}/devel/libevent
LIB_DEPENDS=	md5.1:${PORTSDIR}/www/libwww \
		db3.3:${PORTSDIR}/databases/db3

WRKSRC=		${WRKDIR}/${PORTNAME}

USE_AUTOCONF=	yes
CONFIGURE_ARGS=	--with-libevent=${LOCALBASE}
CONFIGURE_ENV=	LIBS="${LDFLAGS} -L${LOCALBASE}/lib -lmd5"

MAN1=	crawl.1

post-patch:
	@${PERL} -pi -e 's,-ldb,-ldb3,g' ${WRKSRC}/configure.in

.include <bsd.port.mk>