1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

www/scloader: add options a license

PR:		190825
Submitted by:	maintainer
This commit is contained in:
William Grzybowski 2014-06-24 18:14:49 +00:00
parent 06fcc750ce
commit 2f938c2037
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=359117
2 changed files with 13 additions and 9 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= scloader
PORTVERSION= 0.32
PORTREVISION= 1
CATEGORIES= www java
MASTER_SITES= SF
DISTNAME= loader${PORTVERSION:C/\.//}
@ -10,6 +11,8 @@ DISTNAME= loader${PORTVERSION:C/\.//}
MAINTAINER= hsn@sendmail.cz
COMMENT= Configurable web graber/spider
LICENSE= GPLv2
USES= dos2unix zip
USE_JAVA= yes
JAVA_VERSION= 1.6+
@ -18,10 +21,14 @@ NO_WRKSUBDIR= yes
NO_BUILD= yes
PLIST_FILES= bin/${PORTNAME} %%JAVAJARDIR%%/scloader.jar
PORTDOCS= README history todo
DOS2UNIX_REGEX= .+\.[^j][^a][^r]$
OPTIONS_DEFINE= DOCS EXAMPLES
PORTDOCS= README history todo manual.html
PORTEXAMPLES= loader.cnf
do-configure:
${SED} -e "s|%%JAVA%%|${LOCALBASE}/bin/java|" \
-e "s|%%JAVAJARDIR%%|${JAVAJARDIR}|" \
@ -29,16 +36,13 @@ do-configure:
do-install:
${INSTALL} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${MKDIR} ${STAGEDIR}${JAVAJARDIR}
${INSTALL_DATA} ${WRKSRC}/scloader.jar ${STAGEDIR}${JAVAJARDIR}
.ifndef NOPORTDOCS
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ${PORTDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in README history todo
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor
${INSTALL_DATA} ${WRKSRC}/doc/manual.html ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/samples/loader.cnf ${STAGEDIR}${DOCSDIR}
PORTDOCS+= manual.html loader.cnf
.endif
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/samples/loader.cnf ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>

View File

@ -4,4 +4,4 @@ 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/
WWW: http://scloader.sourceforge.net