1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00
freebsd-ports/www/webcheck/Makefile

41 lines
1.1 KiB
Makefile

# Created by: Mike Meyer <mwm@mired.org>
# $FreeBSD$
PORTNAME= webcheck
PORTVERSION= 1.10.3
CATEGORIES= www python
MASTER_SITES= http://arthurdejong.org/webcheck/
EXTRACT_SUFX= .tar.gz
MAINTAINER= reed@reedmedia.net
COMMENT= View structure of a web site, get a list of problems like broken links
USE_PYTHON= yes
NO_BUILD= yes
MAN1= webcheck.1
# what about fancytooltips?
NO_STAGE= yes
do-install:
@${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/*.py ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/*.css ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/favicon.ico ${DATADIR}
.for d in parsers parsers/html plugins schemes
@${MKDIR} ${DATADIR}/${d}
${INSTALL_DATA} ${WRKSRC}/${d}/*.py ${DATADIR}/${d}
.endfor
@${MKDIR} ${DATADIR}/fancytooltips
${INSTALL_DATA} ${WRKSRC}/fancytooltips/* ${DATADIR}/fancytooltips
${INSTALL_SCRIPT} ${WRKSRC}/webcheck.py ${DATADIR}
${LN} -sf ${DATADIR}/webcheck.py ${PREFIX}/bin/webcheck
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
@${INSTALL_MAN} ${WRKSRC}/webcheck.1 ${MANPREFIX}/man/man1
.include <bsd.port.mk>