summaryrefslogtreecommitdiff
path: root/www/webcheck/Makefile
blob: a5dc2ea8aec0358add2f833ce7d2d22d796990d9 (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
35
36
37
38
39
# New ports collection makefile for: webcheck
# Date created:        10 May, 2002
# Whom:                Mike Meyer <mwm@mired.org>
#
# $FreeBSD$
#

PORTNAME=	webcheck
PORTVERSION=	1.0
CATEGORIES=	www python
MASTER_SITES=	http://www.mired.org/webcheck/
EXTRACT_SUFX=	.bz2

MAINTAINER=	mwm@mired.org

USE_PYTHON=	YES
USE_BZIP2=	YES

do-install:
	@${MKDIR} ${DATADIR}
	${CP} ${WRKSRC}/*.py ${DATADIR}
	${CP} ${WRKSRC}/*.css ${DATADIR}
.for d in plugins schemes
	@${MKDIR} ${DATADIR}/${d}
	${CP} ${WRKSRC}/${d}/*.py ${DATADIR}/${d}
.endfor
	${LN} -sf ${DATADIR}/webcheck.py ${PREFIX}/bin/webcheck
.ifndef NOPORTDOCS
	@${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/USAGE ${DOCSDIR}

do-build:
	${AWK} '/^Running Webcheck/ { output=1 } output' \
		< ${WRKSRC}/INSTALL > ${WRKSRC}/USAGE
.else
NO_BUILD=	yes
.endif

.include <bsd.port.mk>