mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-01 01:17:02 +00:00
38 lines
833 B
Makefile
38 lines
833 B
Makefile
# New ports collection makefile for: crawl
|
|
# Date created: 20 June 2001
|
|
# Whom: Pete Fritchman <petef@databits.net>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= crawl
|
|
PORTVERSION= 0.4
|
|
PORTREVISION= 4
|
|
CATEGORIES= www
|
|
MASTER_SITES= http://www.monkey.org/~provos/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= A small, efficient web crawler with advanced features
|
|
|
|
LIB_DEPENDS= event-1.3b:${PORTSDIR}/devel/libevent
|
|
|
|
USE_BDB= yes
|
|
GNU_CONFIGURE= 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,${BDB_INCLUDE_DIR},g' \
|
|
-e 's,db2,${BDB_LIB_NAME},g' ${WRKSRC}/configure.in
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/crawl.conf ${EXAMPLESDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|