Update to 0.4.

This commit is contained in:
Pete Fritchman 2003-12-21 18:39:12 +00:00
parent dbd5d61799
commit a8c91e1d26
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=96341
4 changed files with 25 additions and 19 deletions

View file

@ -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)

View file

@ -1 +1 @@
MD5 (crawl-0.3.tar.gz) = 5281f076276f65b62bfb0e994c1bbb81
MD5 (crawl-0.4.tar.gz) = b1cce00b14d29eb715d3537fac75309e

View file

@ -0,0 +1,10 @@
--- Makefile.in.orig Sat May 17 20:50:51 2003
+++ Makefile.in Sun Dec 21 12:19:52 2003
@@ -159,7 +154,6 @@
$(MAKE) $(srcdir)/stamp-h.in; \
else :; fi
$(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h
- cd $(top_srcdir) && $(AUTOHEADER)
@echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null
mostlyclean-hdr:

View file

@ -1,9 +1,11 @@
--- configure.in.orig Wed Jun 20 14:41:44 2001
+++ configure.in Wed Jun 20 17:30:07 2001
@@ -38,11 +38,11 @@
;;
$FreeBSD$
--- configure.orig Sun Dec 21 12:18:11 2003
+++ configure Sun Dec 21 12:18:28 2003
@@ -2545,11 +2545,11 @@
*)
AC_MSG_RESULT($withval)
echo "$as_me:$LINENO: result: $withval" >&5
echo "${ECHO_T}$withval" >&6
- if test -f $withval/event.h -a -f $withval/libevent.a; then
+ if test -f $withval/include/event.h -a -f $withval/lib/libevent.a; then
owd=`pwd`
@ -13,5 +15,5 @@
+ EVENTINC="-I$withval/include"
+ EVENTLIB="-L$withval/lib -levent"
else
AC_ERROR(event.h or libevent.a not found in $withval)
fi
{ { echo "$as_me:$LINENO: error: event.h or libevent.a not found in $withval" >&5
echo "$as_me: error: event.h or libevent.a not found in $withval" >&2;}