- utilize USE_BDB

This commit is contained in:
Yen-Ming Lee 2006-12-18 15:15:00 +00:00
parent fdc9107dbd
commit 8600a14cc3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=180082

View file

@ -14,9 +14,9 @@ MASTER_SITES= http://www.monkey.org/~provos/
MAINTAINER= ports@FreeBSD.org
COMMENT= A small, efficient web crawler with advanced features
LIB_DEPENDS= db3.3:${PORTSDIR}/databases/db3 \
event-1.2a:${PORTSDIR}/devel/libevent
LIB_DEPENDS= event-1.2a:${PORTSDIR}/devel/libevent
USE_BDB= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-libevent=${LOCALBASE} --program-transform-name=''
@ -25,8 +25,8 @@ 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
@${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)