1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/www/wwwstat/Makefile
Olli Hauer 431f3a147a - add stage support
- use PERL instead of PERL5 in scripts
- rename patch files
- move text displayed with ECHO_MSG into pkg-message
2014-04-15 14:51:31 +00:00

36 lines
915 B
Makefile

# $FreeBSD$
PORTNAME= wwwstat
PORTVERSION= 2.01
PORTREVISION= 5
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
LICENSE= ART10
USE_APACHE_RUN= 22+
USES= perl5
MAKE_ENV+= PERL=${PERL}
SUB_FILES= pkg-message
SUB_LIST= SITE_PERL=${SITE_PERL}
BIN_FILES= monthly oldlog2new splitlog wwwerrs wwwstat
SPERL_FILES= domains.pl splitlog.rc wwwstat.rc
MAN1_FILES= wwwstat.1 splitlog.1
do-install:
@${INSTALL_SCRIPT} ${BIN_FILES:S|^|${WRKSRC}/|} ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${SITE_PERL}
@${INSTALL_DATA} ${SPERL_FILES:S|^|${WRKSRC}/|} ${STAGEDIR}${SITE_PERL}
@${INSTALL_MAN} ${MAN1_FILES:S|^|${WRKSRC}/|} ${STAGEDIR}${PREFIX}/man/man1
.include <bsd.port.mk>