1997-03-02 18:26:18 +00:00
|
|
|
|
# New ports collection makefile for: wwwstat
|
|
|
|
|
# Version required: 2.01
|
|
|
|
|
# Date created: So 2 M<>r 1997 18:10:49 MET
|
|
|
|
|
# Whom: Andreas Klemm <andreas@klemm.gtn.com>
|
|
|
|
|
#
|
1999-08-31 02:43:35 +00:00
|
|
|
|
# $FreeBSD$
|
1997-03-02 18:26:18 +00:00
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
DISTNAME= wwwstat-2.01
|
1997-05-06 14:28:43 +00:00
|
|
|
|
CATEGORIES= www
|
1999-05-06 22:09:11 +00:00
|
|
|
|
MASTER_SITES= ftp://www.ics.uci.edu/pub/websoft/wwwstat/ \
|
|
|
|
|
ftp://ftp.gwdg.de/pub/misc/www-stat/websoft/wwwstat/
|
1997-03-02 18:26:18 +00:00
|
|
|
|
DISTFILES= wwwstat-2.0.tar.gz
|
|
|
|
|
|
|
|
|
|
PATCH_SITES= ${MASTER_SITES}
|
|
|
|
|
PATCHFILES= patch-2.01.txt
|
|
|
|
|
|
|
|
|
|
MAINTAINER= andreas@FreeBSD.ORG
|
|
|
|
|
|
1999-05-06 22:09:11 +00:00
|
|
|
|
RUN_DEPENDS= ${PREFIX}/etc/apache/httpd.conf:${PORTSDIR}/www/apache13
|
1997-03-02 18:26:18 +00:00
|
|
|
|
|
1997-10-13 21:06:15 +00:00
|
|
|
|
USE_PERL5= yes
|
1999-03-22 17:45:22 +00:00
|
|
|
|
MAKE_ENV+= PERL5=${PERL5}
|
1997-03-04 05:51:50 +00:00
|
|
|
|
DIST_SUBDIR= wwwstat
|
1997-03-02 18:26:18 +00:00
|
|
|
|
WRKSRC= ${WRKDIR}/wwwstat-2.0
|
|
|
|
|
MAN1= wwwstat.1 splitlog.1
|
1999-05-06 22:09:11 +00:00
|
|
|
|
SITEPERL= ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}
|
1997-03-02 18:26:18 +00:00
|
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
|
@${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 22:09:11 +00:00
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/wwwstat.rc ${SITEPERL}
|
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/splitlog.rc ${SITEPERL}
|
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/domains.pl ${SITEPERL}
|
1997-03-02 18:26:18 +00: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 22:09:11 +00:00
|
|
|
|
@${ECHO_MSG} " ${SITEPERL}"
|
1997-03-02 18:26:18 +00:00
|
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|