summaryrefslogtreecommitdiff
path: root/sysutils/vlogger/Makefile
blob: 6e2543ee55343a12d874dc9455ef54fe9b326944 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# New ports collection makefile for:	sysutils/vlogger
# Date created:		18 August 2011
# Whom:			Linh Pham <question+fbsdports@closedsrc.org>
#
# $FreeBSD$
#

PORTNAME=	vlogger
PORTVERSION=	1.3
CATEGORIES=	sysutils perl5
MASTER_SITES=	http://n0rp.chemlab.org/${PORTNAME}/

MAINTAINER=	question+fbsdports@closedsrc.org
COMMENT=	Logging utility for Apache servers with many virtual hosts

LICENSE=	GPLv2

RUN_DEPENDS=	p5-DBI>=0:${PORTSDIR}/databases/p5-DBI

USES=		perl5
NO_BUILD=	yes

MAN1=		${PORTNAME}.1

do-install:
	@${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}

post-install:
	${MKDIR} ${EXAMPLESDIR} ${DATADIR}
	@${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-dbi.conf ${EXAMPLESDIR}/${PORTNAME}-dbi.conf
	@${INSTALL_DATA} ${WRKSRC}/mysql_create.sql ${DATADIR}/mysql_create.sql
	@${INSTALL_MAN} ${WRKSRC}/${MAN1} ${PREFIX}/man/man1/${MAN1}

.include <bsd.port.mk>