1997-03-02 13:26:18 -05:00
|
|
|
|
# New ports collection makefile for: wwwstat
|
1999-09-10 16:46:59 -04:00
|
|
|
|
# Date created: So 2 M-A<>r 1997 18:10:49 MET$)B
|
1997-03-02 13:26:18 -05:00
|
|
|
|
# Whom: Andreas Klemm <andreas@klemm.gtn.com>
|
|
|
|
|
#
|
1999-08-30 22:43:35 -04:00
|
|
|
|
# $FreeBSD$
|
1997-03-02 13:26:18 -05:00
|
|
|
|
#
|
|
|
|
|
|
2000-04-09 20:07:29 -04:00
|
|
|
|
PORTNAME= wwwstat
|
2001-01-16 12:33:20 -05:00
|
|
|
|
PORTVERSION= 2.01
|
2003-07-17 16:39:08 -04:00
|
|
|
|
PORTREVISION= 1
|
1997-05-06 10:28:43 -04:00
|
|
|
|
CATEGORIES= www
|
2005-10-03 02:57:11 -04:00
|
|
|
|
MASTER_SITES= ftp://ftp.ics.uci.edu/pub/websoft/wwwstat/ \
|
1999-05-06 18:09:11 -04:00
|
|
|
|
ftp://ftp.gwdg.de/pub/misc/www-stat/websoft/wwwstat/
|
2004-04-10 13:26:55 -04:00
|
|
|
|
DISTNAME= ${PORTNAME}-2.0
|
1997-03-02 13:26:18 -05:00
|
|
|
|
|
|
|
|
|
PATCH_SITES= ${MASTER_SITES}
|
|
|
|
|
PATCHFILES= patch-2.01.txt
|
|
|
|
|
|
2003-07-03 12:43:27 -04:00
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 01:14:21 -05:00
|
|
|
|
COMMENT= Webserver logfile analysis package
|
1997-03-02 13:26:18 -05:00
|
|
|
|
|
2003-11-07 04:12:58 -05:00
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/etc/apache/httpd.conf:${PORTSDIR}/${APACHE_PORT}
|
1997-03-02 13:26:18 -05:00
|
|
|
|
|
1997-10-13 17:06:15 -04:00
|
|
|
|
USE_PERL5= yes
|
2005-09-19 07:52:14 -04:00
|
|
|
|
APACHE_COMPAT= yes
|
1999-03-22 12:45:22 -05:00
|
|
|
|
MAKE_ENV+= PERL5=${PERL5}
|
1997-03-04 00:51:50 -05:00
|
|
|
|
DIST_SUBDIR= wwwstat
|
1997-03-02 13:26:18 -05:00
|
|
|
|
MAN1= wwwstat.1 splitlog.1
|
1999-05-06 18:09:11 -04:00
|
|
|
|
SITEPERL= ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}
|
1997-03-02 13:26:18 -05:00
|
|
|
|
|
|
|
|
|
do-install:
|
1999-09-10 16:46:59 -04:00
|
|
|
|
@if [ ! -d ${SITEPERL} ]; then \
|
|
|
|
|
${MKDIR} ${SITEPERL}; \
|
|
|
|
|
fi
|
1997-03-02 13:26:18 -05:00
|
|
|
|
@${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
|
1999-05-06 18:09:11 -04:00
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/wwwstat.rc ${SITEPERL}
|
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/splitlog.rc ${SITEPERL}
|
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/domains.pl ${SITEPERL}
|
1997-03-02 13:26:18 -05:00
|
|
|
|
@${INSTALL_MAN} ${WRKSRC}/wwwstat.1 ${PREFIX}/man/man1
|
|
|
|
|
@${INSTALL_MAN} ${WRKSRC}/splitlog.1 ${PREFIX}/man/man1
|
|
|
|
|
@${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:"
|
1999-05-06 18:09:11 -04:00
|
|
|
|
@${ECHO_MSG} " ${SITEPERL}"
|
1997-03-02 13:26:18 -05:00
|
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|