aboutsummaryrefslogtreecommitdiff
path: root/www/wwwstat
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2009-05-11 06:06:20 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2009-05-11 06:06:20 +0000
commit24ee6ff7a0aaffef9d5affa16c879e6b7b8e0844 (patch)
treef63b12e42d1d21075565c6835cdc566bdcbce2c0 /www/wwwstat
parentd18ac9fb20e3ad37c0041bfb519b6128608814c6 (diff)
downloadports-24ee6ff7a0aaffef9d5affa16c879e6b7b8e0844.tar.gz
ports-24ee6ff7a0aaffef9d5affa16c879e6b7b8e0844.zip
Notes
Diffstat (limited to 'www/wwwstat')
-rw-r--r--www/wwwstat/Makefile24
-rw-r--r--www/wwwstat/distinfo12
-rw-r--r--www/wwwstat/pkg-plist6
3 files changed, 18 insertions, 24 deletions
diff --git a/www/wwwstat/Makefile b/www/wwwstat/Makefile
index 6c196ae4ca7c..d749bf739249 100644
--- a/www/wwwstat/Makefile
+++ b/www/wwwstat/Makefile
@@ -7,7 +7,7 @@
PORTNAME= wwwstat
PORTVERSION= 2.01
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= www
MASTER_SITES= ftp://ftp.ics.uci.edu/pub/websoft/wwwstat/ \
ftp://ftp.gwdg.de/pub/misc/www-stat/websoft/wwwstat/
@@ -16,35 +16,29 @@ DISTNAME= ${PORTNAME}-2.0
PATCH_SITES= ${MASTER_SITES}
PATCHFILES= patch-2.01.txt
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= pgollucci@FreeBSD.org
COMMENT= Webserver logfile analysis package
-RUN_DEPENDS= ${LOCALBASE}/etc/apache/httpd.conf:${PORTSDIR}/${APACHE_PORT}
-
+USE_APACHE= 1.3
USE_PERL5= yes
-APACHE_COMPAT= yes
MAKE_ENV+= PERL5=${PERL5}
-DIST_SUBDIR= wwwstat
-MAN1= wwwstat.1 splitlog.1
-SITEPERL= ${PREFIX}/${SITE_PERL_REL}/${PERL_ARCH}
+
+MAN1= wwwstat.1 splitlog.1
do-install:
- @if [ ! -d ${SITEPERL} ]; then \
- ${MKDIR} ${SITEPERL}; \
- fi
@${INSTALL_SCRIPT} ${WRKSRC}/wwwstat ${PREFIX}/bin
@${INSTALL_SCRIPT} ${WRKSRC}/splitlog ${PREFIX}/bin
@${INSTALL_SCRIPT} ${WRKSRC}/monthly ${PREFIX}/bin
@${INSTALL_SCRIPT} ${WRKSRC}/wwwerrs ${PREFIX}/bin
@${INSTALL_SCRIPT} ${WRKSRC}/oldlog2new ${PREFIX}/bin
- @${INSTALL_DATA} ${WRKSRC}/wwwstat.rc ${SITEPERL}
- @${INSTALL_DATA} ${WRKSRC}/splitlog.rc ${SITEPERL}
- @${INSTALL_DATA} ${WRKSRC}/domains.pl ${SITEPERL}
@${INSTALL_MAN} ${WRKSRC}/wwwstat.1 ${PREFIX}/man/man1
@${INSTALL_MAN} ${WRKSRC}/splitlog.1 ${PREFIX}/man/man1
+ @${INSTALL_DATA} ${WRKSRC}/wwwstat.rc ${SITE_PERL}
+ @${INSTALL_DATA} ${WRKSRC}/splitlog.rc ${SITE_PERL}
+ @${INSTALL_DATA} ${WRKSRC}/domains.pl ${SITE_PERL}
@${ECHO_MSG} "Edit the wwwstat.rc and splitlog.rc file ..."
@${ECHO_MSG} "If needed, edit wwwstat and splitlog directly ..."
@${ECHO_MSG} "These files are located in:"
- @${ECHO_MSG} " ${SITEPERL}"
+ @${ECHO_MSG} " ${SITE_PERL}"
.include <bsd.port.mk>
diff --git a/www/wwwstat/distinfo b/www/wwwstat/distinfo
index bf566028e855..ca42453fa048 100644
--- a/www/wwwstat/distinfo
+++ b/www/wwwstat/distinfo
@@ -1,6 +1,6 @@
-MD5 (wwwstat/wwwstat-2.0.tar.gz) = de42bfca14e3aad9a345ae1c9a4740b6
-SHA256 (wwwstat/wwwstat-2.0.tar.gz) = 978f41949f596478d223b0e4e31d9ab21d6779cd22f0cf7e0117da964aa9a896
-SIZE (wwwstat/wwwstat-2.0.tar.gz) = 113342
-MD5 (wwwstat/patch-2.01.txt) = 85a3e314dfcd74f5119fac280cd2668c
-SHA256 (wwwstat/patch-2.01.txt) = 623c483c48550e4084e354feb6e3de32a0e4011b3891442c3f92fa0e69776f0b
-SIZE (wwwstat/patch-2.01.txt) = 3277
+MD5 (wwwstat-2.0.tar.gz) = de42bfca14e3aad9a345ae1c9a4740b6
+SHA256 (wwwstat-2.0.tar.gz) = 978f41949f596478d223b0e4e31d9ab21d6779cd22f0cf7e0117da964aa9a896
+SIZE (wwwstat-2.0.tar.gz) = 113342
+MD5 (patch-2.01.txt) = 85a3e314dfcd74f5119fac280cd2668c
+SHA256 (patch-2.01.txt) = 623c483c48550e4084e354feb6e3de32a0e4011b3891442c3f92fa0e69776f0b
+SIZE (patch-2.01.txt) = 3277
diff --git a/www/wwwstat/pkg-plist b/www/wwwstat/pkg-plist
index e5178924d5c5..0e991128dd14 100644
--- a/www/wwwstat/pkg-plist
+++ b/www/wwwstat/pkg-plist
@@ -3,6 +3,6 @@ bin/oldlog2new
bin/splitlog
bin/wwwerrs
bin/wwwstat
-%%SITE_PERL%%/%%PERL_ARCH%%/domains.pl
-%%SITE_PERL%%/%%PERL_ARCH%%/splitlog.rc
-%%SITE_PERL%%/%%PERL_ARCH%%/wwwstat.rc
+%%SITE_PERL%%/domains.pl
+%%SITE_PERL%%/splitlog.rc
+%%SITE_PERL%%/wwwstat.rc