Smart Cache Loader is most configurable web batch downloader in world! If you

have a very specific needs to grab some portions of web site -- this is
right tool for you! This program can be also used as web crawler if you
need to crawl defined parts of www site(s).

WWW:	http://scloader.sourceforge.net/

PR:		ports/111595
Submitted by:	Radim Kolar <hsn at sanatana.dharma>
This commit is contained in:
Martin Wilke 2007-04-16 11:16:16 +00:00
parent aef9526033
commit 9f38b79aa5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=190102
5 changed files with 63 additions and 0 deletions

View file

@ -1069,6 +1069,7 @@
SUBDIR += sams
SUBDIR += sarg
SUBDIR += sbox-dtc
SUBDIR += scloader
SUBDIR += scout
SUBDIR += screem
SUBDIR += script4rss

49
www/scloader/Makefile Normal file
View file

@ -0,0 +1,49 @@
# New ports collection makefile for: scloader
# Date created: 2007-04-13
# Whom: Radim Kolar <hsn@sanatana.dharma>
#
# $FreeBSD$
#
PORTNAME= scloader
PORTVERSION= 0.28
#PORTREVISION= 0
CATEGORIES= www java
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= loader${PORTVERSION:C/\.//}
MAINTAINER= hsn@sendmail.cz
COMMENT= Configurable web graber
USE_ZIP= yes
USE_JAVA= yes
USE_DOS2UNIX= yes
NO_WRKSUBDIR= yes
NO_BUILD= yes
PLIST_FILES= bin/${PORTNAME} %%JAVAJARDIR%%/scloader.jar
PORTDOCS= README history todo
DOS2UNIX_REGEX= .+\.[^j][^a][^r]$
do-configure:
${SED} -e "s|%%JAVA%%|${LOCALBASE}/bin/java|" \
-e "s|%%JAVAJARDIR%%|${JAVAJARDIR}|" \
${FILESDIR}/${PORTNAME}.sh > ${WRKDIR}/${PORTNAME}
do-install:
${INSTALL} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/scloader.jar ${JAVAJARDIR}
.ifndef NOPORTDOCS
${MKDIR} ${DOCSDIR}
.for i in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
${INSTALL_DATA} ${WRKSRC}/doc/manual.html ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/samples/loader.cnf ${DOCSDIR}
PORTDOCS+= manual.html loader.cnf
.endif
.include <bsd.port.mk>

3
www/scloader/distinfo Normal file
View file

@ -0,0 +1,3 @@
MD5 (loader028.zip) = 417ff719bc85fba3d35d453c236ee869
SHA256 (loader028.zip) = 34c1a99e1ba31e38a8a40595c6ddf26835121a63d3e9a5caa819051ca3af5956
SIZE (loader028.zip) = 104481

View file

@ -0,0 +1,3 @@
#! /bin/sh
exec "%%JAVA%%" -jar "%%JAVAJARDIR%%/scloader.jar" $@

7
www/scloader/pkg-descr Normal file
View file

@ -0,0 +1,7 @@
Smart Cache Loader is most configurable web batch downloader in world! If you
have a very specific needs to grab some portions of web site -- this is
right tool for you! This program can be also used as web crawler if you
need to crawl defined parts of www site(s).
WWW: http://scloader.sourceforge.net/