1: Upgrade to 0.19.4.

2: Stagify.

PR:		ports/193071
Submitted by:	<proler gmail.com>
This commit is contained in:
Vanilla I. Shu 2014-08-28 02:37:47 +00:00
parent 592e990fa7
commit 072cec8c42
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=366366
3 changed files with 13 additions and 17 deletions

View File

@ -1,9 +1,7 @@
# $FreeBSD$
PORTNAME= prosearch
PORTVERSION= 0.19.2
PORTREVISION= 1
#PORTREVISION= 1
PORTVERSION= 0.19.4
CATEGORIES= net www
MASTER_SITES= http://pro.setun.net/search/download/ SF/pro-search/pro-search/${PORTVERSION}
@ -16,7 +14,7 @@ SUB_FILES= pkg-message
SUB_LIST= SEARCHDIR=${SEARCHDIR}
NO_BUILD= yes
SEARCHDIR?= www/search
PLIST_SUB+= SEARCHDIR=${SEARCHDIR}
PLIST_SUB+= SEARCHDIR=${SEARCHDIR} WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}"
SAMBA_PORT?= net/samba36
@ -38,7 +36,6 @@ SPHINX_DESC= sphinx fulltext search engine
# NGINX "With web server deps (NGINX)" off
NO_STAGE= yes
.include <bsd.port.options.mk>
RUN_DEPENDS+=\
@ -135,13 +132,7 @@ p5-DBD-SQLite>=0:${PORTSDIR}/databases/p5-DBD-SQLite
WRKSRC= ${WRKDIR}/search
do-install:
@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${PREFIX}/${SEARCHDIR}/
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${SEARCHDIR}
@${CHMOD} +x ${PREFIX}/${SEARCHDIR}/crawler.pl ${PREFIX}/${SEARCHDIR}/010.search.purge ${PREFIX}/${SEARCHDIR}/*.sh.* ${PREFIX}/${SEARCHDIR}/web/*.*cgi
@${ECHO_CMD} @exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} \
${SEARCHDIR:S|^${PREFIX}/|%D/|} >> ${TMPPLIST}
post-install:
@${CAT} ${PKGMESSAGE}
@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${SEARCHDIR}
@${CHMOD} +x ${STAGEDIR}${PREFIX}/${SEARCHDIR}/crawler.pl ${STAGEDIR}${PREFIX}/${SEARCHDIR}/010.search.purge ${STAGEDIR}${PREFIX}/${SEARCHDIR}/*.sh.* ${STAGEDIR}${PREFIX}/${SEARCHDIR}/web/*.*cgi
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (prosearch-0.19.2.tar.bz2) = 3bf5b90a1f8d66a20cc699ed487708a719e31f6217aa1856f009565d33ffe9fb
SIZE (prosearch-0.19.2.tar.bz2) = 400435
SHA256 (prosearch-0.19.4.tar.bz2) = a7a81a11fd9cf4e779748eab76c6266d2945e3cd2649c42d08a69037791dc698
SIZE (prosearch-0.19.4.tar.bz2) = 422617

View File

@ -1,3 +1,5 @@
@owner %%WWWOWN%%
@group %%WWWGRP%%
%%SEARCHDIR%%/tools/prosearch/files/pkg-message.in
%%SEARCHDIR%%/tools/prosearch/pkg-descr
%%SEARCHDIR%%/tools/prosearch/pkg-plist
@ -23,12 +25,13 @@
%%SEARCHDIR%%/lib/lib.js
%%SEARCHDIR%%/lib/search1.js
%%SEARCHDIR%%/lib/player.js
%%SEARCHDIR%%/lib/jquery-1.7.1.min.js
%%SEARCHDIR%%/lib/jquery-1.10.1.min.js
%%SEARCHDIR%%/lib/psmisc.pm
%%SEARCHDIR%%/lib/psweb.pm
%%SEARCHDIR%%/lib/lib.css
%%SEARCHDIR%%/lib/pssql.pm
%%SEARCHDIR%%/t/json.t
%%SEARCHDIR%%/t/psmisc.t
%%SEARCHDIR%%/WHATSNEW
%%SEARCHDIR%%/search.sh.dist
%%SEARCHDIR%%/config.pl.dist
@ -80,7 +83,7 @@
%%SEARCHDIR%%/web/lib/lib.js
%%SEARCHDIR%%/web/lib/search1.js
%%SEARCHDIR%%/web/lib/player.js
%%SEARCHDIR%%/web/lib/jquery-1.7.1.min.js
%%SEARCHDIR%%/web/lib/jquery-1.10.1.min.js
%%SEARCHDIR%%/web/lib/psmisc.pm
%%SEARCHDIR%%/web/lib/psweb.pm
%%SEARCHDIR%%/web/lib/lib.css
@ -107,6 +110,8 @@
%%SEARCHDIR%%/COPYING
%%SEARCHDIR%%/crawler.pl
%%SEARCHDIR%%/confdef.pl
@group
@owner
@dirrm %%SEARCHDIR%%/tools/prosearch/files
@dirrm %%SEARCHDIR%%/tools/prosearch
@dirrm %%SEARCHDIR%%/tools