freebsd-ports/www/calamaris/Makefile

33 lines
807 B
Makefile
Raw Normal View History

# New ports collection makefile for: calmaris
2002-06-05 21:09:56 +02:00
# Date created: 25 December 1998
# Whom: Dima Sivachenko <dima@Chg.RU>
#
1999-08-31 04:43:35 +02:00
# $FreeBSD$
#
PORTNAME= calamaris
2003-05-15 09:14:30 +02:00
PORTVERSION= 2.58
CATEGORIES= www textproc
2001-08-13 21:52:24 +02:00
MASTER_SITES= http://cord.de/tools/squid/calamaris/
MAINTAINER= demon@FreeBSD.org
2003-02-22 10:13:13 +01:00
COMMENT= A perl script to produce statistics out of Squid log files
USE_PERL5= yes
NO_BUILD= yes
MAN1= calamaris.1
post-patch:
@ ${PERL} -pi -e 's#/usr/bin/perl#${PERL5}#' ${WRKSRC}/calamaris
do-install:
@ ${INSTALL_MAN} ${WRKSRC}/calamaris.1 ${PREFIX}/man/man1/calamaris.1
@ ${INSTALL_SCRIPT} ${WRKSRC}/calamaris ${PREFIX}/bin/calamaris
.if !defined(NOPORTDOCS)
@ ${MKDIR} ${DOCSDIR}
@ ${INSTALL_DATA} ${WRKSRC}/EXAMPLES ${DOCSDIR}
@ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.mk>