freebsd-ports/www/wwwstat/Makefile
Bill Fumerola 21a6e947eb Fix packaging for this port by doing Good Things with the location of
site_perl by using bsd.port.mk's variables, instead of hard coding.

Also: apache now only installs httpd.conf, so depending on srm.conf is
a really bad idea.

Initiated by:	bento's logs
1999-05-06 22:09:11 +00:00

46 lines
1.5 KiB
Makefile

# 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>
#
# $Id: Makefile,v 1.10 1999/03/22 17:45:21 andreas Exp $
#
DISTNAME= wwwstat-2.01
CATEGORIES= www
MASTER_SITES= ftp://www.ics.uci.edu/pub/websoft/wwwstat/ \
ftp://ftp.gwdg.de/pub/misc/www-stat/websoft/wwwstat/
DISTFILES= wwwstat-2.0.tar.gz
PATCH_SITES= ${MASTER_SITES}
PATCHFILES= patch-2.01.txt
MAINTAINER= andreas@FreeBSD.ORG
RUN_DEPENDS= ${PREFIX}/etc/apache/httpd.conf:${PORTSDIR}/www/apache13
USE_PERL5= yes
MAKE_ENV+= PERL5=${PERL5}
DIST_SUBDIR= wwwstat
WRKSRC= ${WRKDIR}/wwwstat-2.0
MAN1= wwwstat.1 splitlog.1
SITEPERL= ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}
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_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
@${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}"
.include <bsd.port.mk>