summaryrefslogblamecommitdiff
path: root/www/waccess/Makefile
blob: 3b9e04c38368b0c36e911d22559cafb35412f49c (plain) (tree)
1
2
3
4
5
6
7
8
9







                                        
                   



                                                           
                                                     

                   
                   




                   
                                                                            










                                                                
# 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
USE_REINPLACE=	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>