pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/awstats Correct PLIST and file permission. Noted ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4d9263b946b0
branches:  trunk
changeset: 487729:4d9263b946b0
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Wed Jan 19 12:49:33 2005 +0000

description:
Correct PLIST and file permission.  Noted by salo@.

Bump PKGREVISION.

diffstat:

 www/awstats/Makefile |  34 ++++++++++++++++++++++++++++++----
 www/awstats/PLIST    |   9 ++++++++-
 2 files changed, 38 insertions(+), 5 deletions(-)

diffs (86 lines):

diff -r fafbf3f1b037 -r 4d9263b946b0 www/awstats/Makefile
--- a/www/awstats/Makefile      Wed Jan 19 12:22:36 2005 +0000
+++ b/www/awstats/Makefile      Wed Jan 19 12:49:33 2005 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.11 2005/01/18 13:37:26 minskim Exp $
+# $NetBSD: Makefile,v 1.12 2005/01/19 12:49:33 minskim Exp $
 #
 
 DISTNAME=      awstats-6.3
+PKGREVISION=   1
 CATEGORIES=    www
 MASTER_SITES=  http://awstats.sourceforge.net/files/
 EXTRACT_SUFX=  .tgz
@@ -22,16 +23,41 @@
 do-install:
        ${INSTALL_DATA_DIR} ${PREFIX}/awstats
        ${INSTALL_SCRIPT_DIR} ${PREFIX}/awstats/bin
+       ${INSTALL_SCRIPT_DIR} ${PREFIX}/awstats/cgi-bin
+       ${INSTALL_DATA_DIR} ${PREFIX}/awstats/cgi-bin/plugins
        ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/awstats
        ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/awstats
        ${INSTALL_SCRIPT} ${WRKSRC}/tools/*.pl ${PREFIX}/awstats/bin
+       ${INSTALL_SCRIPT} ${WRKSRC}/wwwroot/cgi-bin/*.pl                \
+               ${PREFIX}/awstats/cgi-bin
        ${INSTALL_DATA} ${WRKSRC}/wwwroot/cgi-bin/awstats.model.conf    \
                ${PREFIX}/share/examples/awstats/awstats.conf
-       ${RM} ${WRKSRC}/wwwroot/cgi-bin/awstats.model.conf
        ${INSTALL_DATA} ${WRKSRC}/wwwroot/cgi-bin/plugins/example/example.pm \
                ${PREFIX}/share/examples/awstats/example.pm
-       ${RM} -fr ${WRKSRC}/wwwroot/cgi-bin/plugins/example
-       cd ${WRKSRC}/wwwroot && ${PAX} -rwpppm . ${PREFIX}/awstats/
+       ${INSTALL_DATA} ${WRKSRC}/wwwroot/cgi-bin/plugins/*.pm          \
+               ${PREFIX}/awstats/cgi-bin/plugins
+.for d in lang lib
+       cd ${WRKSRC}/wwwroot/cgi-bin                                    \
+               && ${PAX} -rwpppm $d ${PREFIX}/awstats/cgi-bin/
+       ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/awstats/cgi-bin/$d
+       ${FIND} ${PREFIX}/awstats/cgi-bin/$d -type d -print     \
+               | ${XARGS} ${CHMOD} ${PKGDIRMODE}
+       ${FIND} ${PREFIX}/awstats/cgi-bin/$d -type f -print     \
+               | ${XARGS} ${CHMOD} ${SHAREMODE}
+.endfor
+.for d in classes css icon js
+       cd ${WRKSRC}/wwwroot && ${PAX} -rwpppm $d ${PREFIX}/awstats/
+       ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/awstats/$d
+       ${FIND} ${PREFIX}/awstats/$d -type d -print     \
+               | ${XARGS} ${CHMOD} ${PKGDIRMODE}
+       ${FIND} ${PREFIX}/awstats/$d -type f -print     \
+               | ${XARGS} ${CHMOD} ${SHAREMODE}
+.endfor
        cd ${WRKSRC}/docs && ${PAX} -rwpppm . ${PREFIX}/share/doc/html/awstats/
+       ${CHOWN} -R ${DOCOWN}:${DOCGRP} ${PREFIX}/share/doc/html/awstats/
+       ${FIND} ${PREFIX}/share/doc/html/awstats/ -type d -print        \
+               | ${XARGS} ${CHMOD} ${PKGDIRMODE}
+       ${FIND} ${PREFIX}/share/doc/html/awstats/ -type f -print        \
+               | ${XARGS} ${CHMOD} ${DOCMODE}
 
 .include "../../mk/bsd.pkg.mk"
diff -r fafbf3f1b037 -r 4d9263b946b0 www/awstats/PLIST
--- a/www/awstats/PLIST Wed Jan 19 12:22:36 2005 +0000
+++ b/www/awstats/PLIST Wed Jan 19 12:49:33 2005 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.7 2005/01/18 13:37:26 minskim Exp $
+@comment $NetBSD: PLIST,v 1.8 2005/01/19 12:49:33 minskim Exp $
 awstats/bin/awstats_buildstaticpages.pl
 awstats/bin/awstats_configure.pl
 awstats/bin/awstats_exportlib.pl
@@ -571,11 +571,18 @@
 share/doc/html/awstats/images/awstats_logo5.png
 share/doc/html/awstats/images/awstats_logo6.png
 share/doc/html/awstats/images/license_chart.png
+share/doc/html/awstats/images/screen_shot_1.gif
 share/doc/html/awstats/images/screen_shot_1.jpg
 share/doc/html/awstats/images/screen_shot_1.png
 share/doc/html/awstats/images/screen_shot_2.png
 share/doc/html/awstats/images/screen_shot_3.png
 share/doc/html/awstats/images/screen_shot_4.png
+share/doc/html/awstats/images/screen_shot_5.png
+share/doc/html/awstats/images/screen_shot_large_1.jpg
+share/doc/html/awstats/images/screen_shot_large_2.jpg
+share/doc/html/awstats/images/screen_shot_large_3.jpg
+share/doc/html/awstats/images/screen_shot_large_4.jpg
+share/doc/html/awstats/images/screen_shot_large_5.jpg
 share/doc/html/awstats/images/star.png
 share/doc/html/awstats/index.html
 share/doc/html/awstats/pad_awstats.htm



Home | Main Index | Thread Index | Old Index