summaryrefslogtreecommitdiffstats
path: root/www/waccess/Makefile
blob: 26f61ac960c0d4c934acbc5e66d2a175ded7178a (plain)
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
# ports collection makefile for: waccess
# Date Created:		3 August 2001
# Whom:			tundra
#
# $FreeBSD$
#

PORTNAME=	waccess
PORTVERSION=	2.0
CATEGORIES=	www textproc
MASTER_SITES=	http://www.tundraware.com/Software/waccess/

MAINTAINER=	tundra@tundraware.com
COMMENT=	Quick-N-Dirty Web Access Log Analyzer

USE_PYTHON=	yes

MAN1=	waccess.1
MANCOMPRESSED=	yes

post-patch:
	@${REINPLACE_CMD} -e 's,^#!/usr/local/bin/python,#!${PYTHON_CMD},' \
		${WRKSRC}/waccess

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/waccess ${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/waccess.1.gz ${PREFIX}/man/man1
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/waccess-license.txt ${DOCSDIR}
.endif

.include <bsd.port.mk>
OpenPOWER on IntegriCloud