aboutsummaryrefslogtreecommitdiff
path: root/www/crawl/Makefile
blob: 5bb6eda02e121650f73a1192655a9c02bfb31fb4 (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
32
33
34
35
36
37
38
# New ports collection makefile for:	crawl
# Date created:				20 June 2001
# Whom:					Pete Fritchman <petef@databits.net>
#
# $FreeBSD$
#

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

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A small, efficient web crawler with advanced features

BUILD_DEPENDS=	${LOCALBASE}/lib/libevent.a:${PORTSDIR}/devel/libevent
LIB_DEPENDS=	db3.3:${PORTSDIR}/databases/db3

GNU_CONFIGURE=	yes
USE_REINPLACE=	yes
CONFIGURE_ARGS+=	--with-libevent=${LOCALBASE} --program-transform-name=''

MAN1=	crawl.1

.include <bsd.port.pre.mk>

post-patch:
	@${REINPLACE_CMD} -e 's,/usr/include/db2,${LOCALBASE}/include/db3,g' \
		-e 's,db2,db3,g' ${WRKSRC}/configure.in

post-install:
.if !defined(NOPORTDOCS)
	@${MKDIR} ${EXAMPLESDIR}
	${INSTALL_DATA} ${WRKSRC}/crawl.conf ${EXAMPLESDIR}
.endif

.include <bsd.port.post.mk>