2002-05-15 17:33:01 +02:00
|
|
|
# New ports collection makefile for: webcheck
|
|
|
|
# Date created: 10 May, 2002
|
|
|
|
# Whom: Mike Meyer <mwm@mired.org>
|
1998-09-21 07:42:14 +02:00
|
|
|
#
|
1999-08-31 04:43:35 +02:00
|
|
|
# $FreeBSD$
|
1998-09-21 07:42:14 +02:00
|
|
|
#
|
|
|
|
|
2002-05-15 17:33:01 +02:00
|
|
|
PORTNAME= webcheck
|
2001-02-05 16:33:58 +01:00
|
|
|
PORTVERSION= 1.0
|
1998-11-04 03:37:38 +01:00
|
|
|
CATEGORIES= www python
|
2002-05-20 13:20:11 +02:00
|
|
|
MASTER_SITES= http://www.mired.org/webcheck/
|
2002-05-15 17:33:01 +02:00
|
|
|
EXTRACT_SUFX= .bz2
|
1998-09-21 07:42:14 +02:00
|
|
|
|
2001-07-19 18:34:13 +02:00
|
|
|
MAINTAINER= mwm@mired.org
|
2003-02-21 15:08:24 +01:00
|
|
|
COMMENT= View structure of a web site, get a list of problems like broken links
|
1998-09-21 07:42:14 +02:00
|
|
|
|
2001-07-19 18:34:13 +02:00
|
|
|
USE_PYTHON= YES
|
2002-05-30 09:33:51 +02:00
|
|
|
USE_BZIP2= YES
|
2003-01-03 09:41:34 +01:00
|
|
|
.if defined(NOPORTDOCS)
|
|
|
|
NO_BUILD= YES
|
|
|
|
.endif
|
|
|
|
|
|
|
|
do-build:
|
|
|
|
${AWK} '/^Running Webcheck/ { output=1 } output' \
|
|
|
|
< ${WRKSRC}/INSTALL > ${WRKSRC}/USAGE
|
1998-09-21 07:42:14 +02:00
|
|
|
|
|
|
|
do-install:
|
2002-05-15 17:33:01 +02:00
|
|
|
@${MKDIR} ${DATADIR}
|
2003-01-03 09:41:34 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/*.py ${DATADIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/*.css ${DATADIR}
|
2000-09-17 23:19:30 +02:00
|
|
|
.for d in plugins schemes
|
2002-05-15 17:33:01 +02:00
|
|
|
@${MKDIR} ${DATADIR}/${d}
|
2003-01-03 09:41:34 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${d}/*.py ${DATADIR}/${d}
|
2000-09-17 23:19:30 +02:00
|
|
|
.endfor
|
2003-01-03 09:41:34 +01:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/webcheck.py ${DATADIR}
|
2002-05-15 17:33:01 +02:00
|
|
|
${LN} -sf ${DATADIR}/webcheck.py ${PREFIX}/bin/webcheck
|
2003-01-03 09:41:34 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
2002-05-15 17:33:01 +02:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
2001-07-13 03:51:30 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/USAGE ${DOCSDIR}
|
|
|
|
.endif
|
1998-09-21 07:42:14 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|