aboutsummaryrefslogtreecommitdiff
path: root/net/prosearch
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2014-08-28 02:37:47 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2014-08-28 02:37:47 +0000
commit072cec8c42b4a978e2f5ea4600c980130b3316be (patch)
treecfac527cf7f5a88fedd721a0e9c126449800b7c7 /net/prosearch
parent592e990fa7fd9990965141788c8deaa86110438d (diff)
Notes
Diffstat (limited to 'net/prosearch')
-rw-r--r--net/prosearch/Makefile17
-rw-r--r--net/prosearch/distinfo4
-rw-r--r--net/prosearch/pkg-plist9
3 files changed, 13 insertions, 17 deletions
diff --git a/net/prosearch/Makefile b/net/prosearch/Makefile
index fbfea0ae4d94..7b581dcc2047 100644
--- a/net/prosearch/Makefile
+++ b/net/prosearch/Makefile
@@ -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>
diff --git a/net/prosearch/distinfo b/net/prosearch/distinfo
index 51fd690dcc1c..41889d355215 100644
--- a/net/prosearch/distinfo
+++ b/net/prosearch/distinfo
@@ -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
diff --git a/net/prosearch/pkg-plist b/net/prosearch/pkg-plist
index c69af55d8fe9..e8341ed4f124 100644
--- a/net/prosearch/pkg-plist
+++ b/net/prosearch/pkg-plist
@@ -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