2002-05-15 15:33:01 +00:00
|
|
|
# New ports collection makefile for: webcheck
|
|
|
|
# Date created: 10 May, 2002
|
|
|
|
# Whom: Mike Meyer <mwm@mired.org>
|
1998-09-21 05:42:14 +00:00
|
|
|
#
|
1999-08-31 02:43:35 +00:00
|
|
|
# $FreeBSD$
|
1998-09-21 05:42:14 +00:00
|
|
|
#
|
|
|
|
|
2002-05-15 15:33:01 +00:00
|
|
|
PORTNAME= webcheck
|
2001-02-05 15:33:58 +00:00
|
|
|
PORTVERSION= 1.0
|
1998-11-04 02:37:38 +00:00
|
|
|
CATEGORIES= www python
|
2000-06-23 13:22:00 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SUNSITE}
|
2002-05-15 15:33:01 +00:00
|
|
|
EXTRACT_SUFX= .bz2
|
1998-09-21 05:42:14 +00:00
|
|
|
|
2001-07-19 16:34:13 +00:00
|
|
|
MAINTAINER= mwm@mired.org
|
1998-09-21 05:42:14 +00:00
|
|
|
|
2002-05-20 01:29:05 +00:00
|
|
|
BROKEN= "Does not fetch"
|
|
|
|
|
2001-07-19 16:34:13 +00:00
|
|
|
USE_PYTHON= YES
|
1998-09-21 05:42:14 +00:00
|
|
|
|
|
|
|
do-install:
|
2002-05-15 15:33:01 +00:00
|
|
|
@${MKDIR} ${DATADIR}
|
|
|
|
${CP} ${WRKSRC}/*.py ${DATADIR}
|
|
|
|
${CP} ${WRKSRC}/*.css ${DATADIR}
|
2000-09-17 21:19:30 +00:00
|
|
|
.for d in plugins schemes
|
2002-05-15 15:33:01 +00:00
|
|
|
@${MKDIR} ${DATADIR}/${d}
|
|
|
|
${CP} ${WRKSRC}/${d}/*.py ${DATADIR}/${d}
|
2000-09-17 21:19:30 +00:00
|
|
|
.endfor
|
2002-05-15 15:33:01 +00:00
|
|
|
${LN} -sf ${DATADIR}/webcheck.py ${PREFIX}/bin/webcheck
|
2001-07-13 01:51:30 +00:00
|
|
|
.ifndef NOPORTDOCS
|
2002-05-15 15:33:01 +00:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
2001-07-13 01:51:30 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/USAGE ${DOCSDIR}
|
|
|
|
|
|
|
|
do-build:
|
2002-05-15 15:33:01 +00:00
|
|
|
${AWK} '/^Running Webcheck/ { output=1 } output' \
|
2001-07-13 01:51:30 +00:00
|
|
|
< ${WRKSRC}/INSTALL > ${WRKSRC}/USAGE
|
|
|
|
.else
|
2002-05-15 15:33:01 +00:00
|
|
|
NO_BUILD= yes
|
2001-07-13 01:51:30 +00:00
|
|
|
.endif
|
1998-09-21 05:42:14 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|