summaryrefslogtreecommitdiffstats
path: root/www/linkchecker/Makefile
blob: c92d2086e68e93d5ec27499fe04fa7ebbe718f6b (plain)
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
# ex:ts=8
# Ports collection makefile for:	linkchecker
# Date created:			Oct 17, 2003
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	linkchecker
PORTVERSION=	3.3
CATEGORIES=	www
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=	clement@FreeBSD.org
COMMENT=	Check HTML documents for broken links

USE_PYTHON=		2.4
USE_PYDISTUTILS=	yes
USE_REINPLACE=		yes
MAN1=	linkchecker.1

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 500000
post-patch:
	@${REINPLACE_CMD} -e 's/gnu99/gnu89/' ${WRKSRC}/setup.py
.endif

.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud