1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00
freebsd-ports/www/calamaris-devel/Makefile
2016-06-23 04:12:49 +00:00

41 lines
1.4 KiB
Makefile

# Created by: Dmitry Sivachenko <mitya@yandex-team.ru>
# $FreeBSD$
PORTNAME= calamaris
PORTVERSION= 2.99.4.5
CATEGORIES= www textproc
MASTER_SITES= http://cord.de/files/calamaris/
PKGNAMESUFFIX= -devel
MAINTAINER= demon@FreeBSD.org
COMMENT= Perl script to produce statistics out of Squid log files
LICENSE= GPLv2
RUN_DEPENDS= p5-GD-Graph>=0:graphics/p5-GD-Graph \
p5-NetAddr-IP>=0:net-mgmt/p5-NetAddr-IP
CONFLICTS_INSTALL= calamaris-[0-9]*
USES= shebangfix perl5
NO_BUILD= yes
SHEBANG_FILES= calamaris calamaris-cache-convert
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/calamaris-cache-convert ${STAGEDIR}${PREFIX}/bin
${MKDIR} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}
${INSTALL_DATA} ${WRKSRC}/calAxestype.pm ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}
${INSTALL_DATA} ${WRKSRC}/calAxestype3d.pm ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}
${INSTALL_DATA} ${WRKSRC}/calBars3d.pm ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}
${INSTALL_DATA} ${WRKSRC}/calamaris.conf ${STAGEDIR}${PREFIX}/etc/calamaris.conf.sample
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/EXAMPLES ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/EXAMPLES.v3 ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>