aboutsummaryrefslogtreecommitdiff
path: root/www/crawl/Makefile
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2003-05-05 03:16:00 +0000
committerPete Fritchman <petef@FreeBSD.org>2003-05-05 03:16:00 +0000
commitf8db1e781167c9398ccbffe6b446111a8c8db6c2 (patch)
tree12759dd18b4ec03d85f85f717f0bbd1f8f52db2c /www/crawl/Makefile
parentf7e3a6f2f48de576dff694aa64d90ab299400734 (diff)
downloadports-f8db1e781167c9398ccbffe6b446111a8c8db6c2.tar.gz
ports-f8db1e781167c9398ccbffe6b446111a8c8db6c2.zip
Notes
Diffstat (limited to 'www/crawl/Makefile')
-rw-r--r--www/crawl/Makefile17
1 files changed, 12 insertions, 5 deletions
diff --git a/www/crawl/Makefile b/www/crawl/Makefile
index ac5e8a3b8e00..bcd03617cc83 100644
--- a/www/crawl/Makefile
+++ b/www/crawl/Makefile
@@ -7,7 +7,7 @@
PORTNAME= crawl
PORTVERSION= 0.3
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= www
MASTER_SITES= http://www.monkey.org/~provos/
@@ -15,20 +15,27 @@ MAINTAINER= petef@FreeBSD.org
COMMENT= A small, efficient web crawler with advanced features
BUILD_DEPENDS= ${LOCALBASE}/lib/libevent.a:${PORTSDIR}/devel/libevent
-LIB_DEPENDS= md5.1:${PORTSDIR}/www/libwww \
- db3.3:${PORTSDIR}/databases/db3
+LIB_DEPENDS= db3.3:${PORTSDIR}/databases/db3
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_REINPLACE= yes
USE_AUTOCONF= yes
CONFIGURE_ARGS= --with-libevent=${LOCALBASE}
-CONFIGURE_ENV= LIBS="${LDFLAGS} -L${LOCALBASE}/lib -lmd5"
+CONFIGURE_ENV= LIBS="${LDFLAGS} -lmd"
+CFLAGS+= -D__FUNCTION__='""'
MAN1= crawl.1
post-patch:
- @${REINPLACE_CMD} -e 's,-ldb,-ldb3,g' ${WRKSRC}/configure.in
+ @${REINPLACE_CMD} -e 's,/usr/include/db2,${LOCALBASE}/include/db3,g ; \
+ s,db2,db3,g' ${WRKSRC}/configure.in
${CHMOD} u+w ${WRKSRC}/*
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/crawl.conf ${EXAMPLESDIR}
+.endif
+
.include <bsd.port.mk>