summaryrefslogtreecommitdiff
path: root/www/awstats
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2005-01-19 12:49:33 +0000
committerminskim <minskim@pkgsrc.org>2005-01-19 12:49:33 +0000
commit13586a79d734b3f519917b35e759fa3acbe81f81 (patch)
treed756594269b36056067cb270d7ab97e429af9f5a /www/awstats
parentc84ba8761eb2b75c9a9996e04499f5e82c3704a3 (diff)
downloadpkgsrc-13586a79d734b3f519917b35e759fa3acbe81f81.tar.gz
Correct PLIST and file permission. Noted by salo@.
Bump PKGREVISION.
Diffstat (limited to 'www/awstats')
-rw-r--r--www/awstats/Makefile34
-rw-r--r--www/awstats/PLIST9
2 files changed, 38 insertions, 5 deletions
diff --git a/www/awstats/Makefile b/www/awstats/Makefile
index b289d6242ed..be6749053e3 100644
--- a/www/awstats/Makefile
+++ b/www/awstats/Makefile
@@ -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 @@ REPLACE_PERL= tools/*.pl \
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 --git a/www/awstats/PLIST b/www/awstats/PLIST
index 5173244ef09..c29ee31ca7e 100644
--- a/www/awstats/PLIST
+++ b/www/awstats/PLIST
@@ -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.gif
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