mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-30 01:15:52 +00:00
63f3e3b0d4
- s/USE_APACHE= 20+/USE_APACHE= 22+/ - unify s/YES/yes/ - cleanup APACHE_VERSION <= 22 usage - add entry to MOVED with hat apache@
47 lines
1.3 KiB
Makefile
47 lines
1.3 KiB
Makefile
# New ports collection makefile for: wwwstat
|
|
# Date created: 1997-04-02
|
|
# Whom: Andreas Klemm <andreas@klemm.gtn.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= wwwstat
|
|
PORTVERSION= 2.01
|
|
PORTREVISION= 4
|
|
CATEGORIES= www
|
|
MASTER_SITES= ftp://ftp.ics.uci.edu/pub/websoft/wwwstat/ \
|
|
ftp://ftp.gwdg.de/pub/misc/www-stat/websoft/wwwstat/
|
|
DISTNAME= ${PORTNAME}-2.0
|
|
|
|
PATCH_SITES= ${MASTER_SITES}
|
|
PATCHFILES= patch-2.01.txt
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Webserver logfile analysis package
|
|
|
|
MAKE_JOBS_SAFE= yes
|
|
|
|
USE_APACHE= 22+
|
|
USE_PERL5= yes
|
|
MAKE_ENV+= PERL5=${PERL5}
|
|
|
|
MAN1= wwwstat.1 splitlog.1
|
|
|
|
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
|
|
@${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} " ${SITE_PERL}"
|
|
|
|
.include <bsd.port.mk>
|