summaryrefslogtreecommitdiff
path: root/www/waccess/Makefile
blob: 42348320cf0909346734d7ecb18fe0597c649cf3 (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
# 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

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>