1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00
freebsd-ports/www/crawl/Makefile
Mathieu Arnold f037e39601 USE_BDB cleanup.
- USE_BDB=4x+ -> USES=bdb.
- USE_BDB=yes -> USES=bdb.
- USE_BDB=xx  -> USES=bdb:xx.

Other modernisations when I see them.

PR:		209183
Sponsored by:	Absolight
2016-08-08 13:46:50 +00:00

34 lines
821 B
Makefile

# 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:devel/libevent2
USES= bdb pkgconfig
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>