aboutsummaryrefslogtreecommitdiffstats
path: root/www/crawl/Makefile
blob: d66212b2834b4fd12883c7149aea7afdf9f3fb32 (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
# Created by: Pete Fritchman <petef@databits.net>
# $FreeBSD$

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

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

LICENSE=    BSD4CLAUSE

LIB_DEPENDS=    libevent.so:${PORTSDIR}/devel/libevent2

USES=       pkgconfig

USE_BDB=    yes
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --with-libevent --program-transform-name=''
CONFIGURE_ENV=  EVENTINC="`pkgconf --cflags libevent`" EVENTLIB="`pkgconf --libs libevent`"

OPTIONS_DEFINE= EXAMPLES

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

post-install:
    @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
    ${INSTALL_DATA} ${WRKSRC}/crawl.conf ${STAGEDIR}${EXAMPLESDIR}

.include <bsd.port.mk>