aboutsummaryrefslogtreecommitdiff
path: root/www/crawl/Makefile
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2003-12-21 18:39:12 +0000
committerPete Fritchman <petef@FreeBSD.org>2003-12-21 18:39:12 +0000
commita8c91e1d261d9d9557d8b9b6bc18dc6a409d87ea (patch)
tree691ab3064e0c0d1f9c98394ca3c24890391eba5d /www/crawl/Makefile
parentdbd5d617998c0d43f0563976a0772b03937ff801 (diff)
downloadports-a8c91e1d261d9d9557d8b9b6bc18dc6a409d87ea.tar.gz
ports-a8c91e1d261d9d9557d8b9b6bc18dc6a409d87ea.zip
Notes
Diffstat (limited to 'www/crawl/Makefile')
-rw-r--r--www/crawl/Makefile16
1 files changed, 5 insertions, 11 deletions
diff --git a/www/crawl/Makefile b/www/crawl/Makefile
index bcd03617cc83..1a4bdb161f08 100644
--- a/www/crawl/Makefile
+++ b/www/crawl/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= crawl
-PORTVERSION= 0.3
-PORTREVISION= 2
+PORTVERSION= 0.4
CATEGORIES= www
MASTER_SITES= http://www.monkey.org/~provos/
@@ -17,20 +16,15 @@ COMMENT= A small, efficient web crawler with advanced features
BUILD_DEPENDS= ${LOCALBASE}/lib/libevent.a:${PORTSDIR}/devel/libevent
LIB_DEPENDS= db3.3:${PORTSDIR}/databases/db3
-WRKSRC= ${WRKDIR}/${PORTNAME}
-
+GNU_CONFIGURE= yes
USE_REINPLACE= yes
-USE_AUTOCONF= yes
-CONFIGURE_ARGS= --with-libevent=${LOCALBASE}
-CONFIGURE_ENV= LIBS="${LDFLAGS} -lmd"
-CFLAGS+= -D__FUNCTION__='""'
+CONFIGURE_ARGS+= --with-libevent=${LOCALBASE} --program-transform-name=''
MAN1= crawl.1
post-patch:
- @${REINPLACE_CMD} -e 's,/usr/include/db2,${LOCALBASE}/include/db3,g ; \
- s,db2,db3,g' ${WRKSRC}/configure.in
- ${CHMOD} u+w ${WRKSRC}/*
+ @${REINPLACE_CMD} -e 's,/usr/include/db2,${LOCALBASE}/include/db3,g' \
+ -e 's,db2,db3,g' ${WRKSRC}/configure.in
post-install:
.if !defined(NOPORTDOCS)