View | Details | Raw Unified | Return to bug 51696 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-5 / +12 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	crawl
8
PORTNAME=	crawl
9
PORTVERSION=	0.3
9
PORTVERSION=	0.3
10
PORTREVISION=	1
10
PORTREVISION=	2
11
CATEGORIES=	www
11
CATEGORIES=	www
12
MASTER_SITES=	http://www.monkey.org/~provos/
12
MASTER_SITES=	http://www.monkey.org/~provos/
13
13
Lines 15-34 Link Here
15
COMMENT=	A small, efficient web crawler with advanced features
15
COMMENT=	A small, efficient web crawler with advanced features
16
16
17
BUILD_DEPENDS=	${LOCALBASE}/lib/libevent.a:${PORTSDIR}/devel/libevent
17
BUILD_DEPENDS=	${LOCALBASE}/lib/libevent.a:${PORTSDIR}/devel/libevent
18
LIB_DEPENDS=	md5.1:${PORTSDIR}/www/libwww \
18
LIB_DEPENDS=	db3.3:${PORTSDIR}/databases/db3
19
		db3.3:${PORTSDIR}/databases/db3
20
19
21
WRKSRC=		${WRKDIR}/${PORTNAME}
20
WRKSRC=		${WRKDIR}/${PORTNAME}
22
21
23
USE_REINPLACE=	yes
22
USE_REINPLACE=	yes
24
USE_AUTOCONF=	yes
23
USE_AUTOCONF=	yes
25
CONFIGURE_ARGS=	--with-libevent=${LOCALBASE}
24
CONFIGURE_ARGS=	--with-libevent=${LOCALBASE}
26
CONFIGURE_ENV=	LIBS="${LDFLAGS} -L${LOCALBASE}/lib -lmd5"
25
CONFIGURE_ENV=	LIBS="${LDFLAGS} -lmd"
26
CFLAGS+=	-D__FUNCTION__='""'
27
27
28
MAN1=	crawl.1
28
MAN1=	crawl.1
29
29
30
post-patch:
30
post-patch:
31
	@${REINPLACE_CMD} -e 's,-ldb,-ldb3,g' ${WRKSRC}/configure.in
31
	@${REINPLACE_CMD} -e 's,/usr/include/db2,${LOCALBASE}/include/db3,g ; \
32
		s,db2,db3,g' ${WRKSRC}/configure.in
32
	${CHMOD} u+w ${WRKSRC}/*
33
	${CHMOD} u+w ${WRKSRC}/*
34
35
post-install:
36
.if !defined(NOPORTDOCS)
37
	@${MKDIR} ${EXAMPLESDIR}
38
	${INSTALL_DATA} ${WRKSRC}/crawl.conf ${EXAMPLESDIR}
39
.endif
33
40
34
.include <bsd.port.mk>
41
.include <bsd.port.mk>

Return to bug 51696