diff options
author | minskim <minskim@pkgsrc.org> | 2005-01-19 12:49:33 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2005-01-19 12:49:33 +0000 |
commit | 69ed8fa675b168a81dc7d592bde1de3d928dcf77 (patch) | |
tree | d756594269b36056067cb270d7ab97e429af9f5a | |
parent | ef054cfc809dc3fa4fce550894ed55cd128bfc19 (diff) | |
download | pkgsrc-69ed8fa675b168a81dc7d592bde1de3d928dcf77.tar.gz |
Correct PLIST and file permission. Noted by salo@.
Bump PKGREVISION.
-rw-r--r-- | www/awstats/Makefile | 34 | ||||
-rw-r--r-- | www/awstats/PLIST | 9 |
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 |