Index: head/www/larbin/Makefile =================================================================== --- head/www/larbin/Makefile (revision 433207) +++ head/www/larbin/Makefile (revision 433208) @@ -1,71 +1,71 @@ # Created by: Hiten Pandya # $FreeBSD$ PORTNAME= larbin PORTVERSION= 2.6.3 PORTREVISION= 2 CATEGORIES= www MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= HTTP crawler with an easy interface LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= bash:shells/bash \ makedepend:devel/makedepend USES= gmake shebangfix SHEBANG_FILES= configure GNU_CONFIGURE= yes MAKE_JOBS_UNSAFE= yes SUB_FILES= pkg-message PORTDOCS= * PLIST_FILES= bin/larbin etc/larbin.conf.sample OPTIONS_DEFINE= DOCS pre-everything:: @${ECHO_MSG} "=====================================================================" @${ECHO_MSG} "" @${ECHO_MSG} "Make sure you have a look at the larbin documentation available at:" @${ECHO_MSG} " http://larbin.sourceforge.net/custom-eng.html." @${ECHO_MSG} "" @${ECHO_MSG} "=====================================================================" post-extract: @(cd ${WRKSRC}/src/utils && ${MV} string.h mystring.h) post-patch: @${REINPLACE_CMD} -e \ '/CC=/s|echo|${TRUE:T}| ; \ /CXX=/s|echo|${TRUE:T}| ; \ /-lpthread/d' ${WRKSRC}/configure @${REINPLACE_CMD} -e \ 's|CFLAGS:=-O3|CFLAGS+=| ; \ s|CXXFLAGS:=|CXXFLAGS+=| ; \ s|-O3|| ; \ s|-I-||' ${WRKSRC}/src/larbin.make @${REINPLACE_CMD} -e \ '/delete \[\] tab/s|^|//|' ${WRKSRC}/src/utils/histogram.cc @${FIND} ${WRKSRC}/src -name "*.cc" -or -name "*.h" | ${XARGS} \ ${REINPLACE_CMD} -e \ 's|utils/string.h|utils/mystring.h| ; \ s||| ; \ s||| ; \ s|\([[:blank:]]\)cerr|\1std::cerr|g ; \ s|\([[:blank:]]\)cout|\1std::cout|g ; \ s|\([[:blank:]]\)endl|\1std::endl|g' do-install: - (cd ${WRKSRC} && ${INSTALL_PROGRAM} larbin \ - ${STAGEDIR}${PREFIX}/bin) - (cd ${WRKSRC} && ${INSTALL_DATA} larbin.conf \ - ${STAGEDIR}${PREFIX}/etc/larbin.conf.sample) + ${INSTALL_PROGRAM} ${WRKSRC}/larbin ${STAGEDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/larbin.conf ${STAGEDIR}${PREFIX}/etc/larbin.conf.sample + +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} - (cd ${WRKSRC}/doc && ${INSTALL_DATA} * \ - ${STAGEDIR}${DOCSDIR}) + ${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR} .include Index: head/www/larbin/files/patch-adns_internal.h =================================================================== --- head/www/larbin/files/patch-adns_internal.h (revision 433207) +++ head/www/larbin/files/patch-adns_internal.h (revision 433208) @@ -1,11 +1,11 @@ ---- adns/internal.h.orig Thu Mar 3 16:00:32 2005 -+++ adns/internal.h Thu Mar 3 16:02:10 2005 -@@ -567,7 +567,7 @@ +--- adns/internal.h.orig 2002-01-02 10:44:52 UTC ++++ adns/internal.h +@@ -567,7 +567,7 @@ typedef enum { } parsedomain_flags; adns_status adns__parse_domain(adns_state ads, int serv, adns_query qu, - vbuf *vb, parsedomain_flags flags, + vbuf *vb, adns_queryflags flags, const byte *dgram, int dglen, int *cbyte_io, int max); /* vb must already have been initialised; it will be reset if necessary. * If there is truncation, vb->used will be set to 0; otherwise Index: head/www/larbin/pkg-descr =================================================================== --- head/www/larbin/pkg-descr (revision 433207) +++ head/www/larbin/pkg-descr (revision 433208) @@ -1,20 +1,20 @@ Larbin is a powerful web crawler (also called [web] robot, spider...). It is intended to fetch a large number of web pages to fill the database of a search engine. With a network fast enough, Larbin is able to fetch more than 100 million pages on a standard PC. Larbin was initially developed for the XYLEME project in the VERSO team at INRIA. The goal of Larbin was to go and fetch XML pages on the web to fill the database of an xml-oriented search engine. The following can be done with Larbin: o A crawler for a search engine o A crawler for a specialized search enginer (xml, images, mp3...) o Statistics on the web (about servers or page contents) Larbin is created by: Sebastien Ailleret -WWW: http://larbin.sourceforge.net +WWW: http://larbin.sourceforge.net/ WWW: http://www.sourceforge.net/projects/larbin -WWW: http://www.ailleret.com +WWW: http://www.ailleret.com/