2003-10-17 19:01:02 +02:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: linkchecker
|
|
|
|
# Date created: Oct 17, 2003
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= linkchecker
|
2007-03-14 21:39:16 +01:00
|
|
|
PORTVERSION= 4.6
|
2007-05-19 22:36:56 +02:00
|
|
|
PORTREVISION= 1
|
2007-03-14 21:39:16 +01:00
|
|
|
CATEGORIES= www python
|
2003-10-17 19:01:02 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
|
2003-12-21 19:33:21 +01:00
|
|
|
MAINTAINER= clement@FreeBSD.org
|
2003-10-17 19:01:02 +02:00
|
|
|
COMMENT= Check HTML documents for broken links
|
|
|
|
|
2005-02-04 11:10:45 +01:00
|
|
|
USE_PYTHON= 2.4
|
2003-10-17 19:01:02 +02:00
|
|
|
USE_PYDISTUTILS= yes
|
2007-03-14 21:39:16 +01:00
|
|
|
|
2003-10-17 19:01:02 +02:00
|
|
|
MAN1= linkchecker.1
|
2007-03-14 21:39:16 +01:00
|
|
|
MANLANG= "" de fr
|
2003-10-17 19:01:02 +02:00
|
|
|
|
2007-03-14 21:39:16 +01:00
|
|
|
.if !defined(WITHOUT_NLS)
|
|
|
|
USE_GETTEXT= yes
|
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
.endif
|
2005-05-07 05:14:06 +02:00
|
|
|
|
2005-05-22 11:59:07 +02:00
|
|
|
post-patch:
|
2007-03-14 21:39:16 +01:00
|
|
|
.if !defined(WITHOUT_NLS)
|
|
|
|
@cd ${WRKSRC} && ${PATCH} --quiet < ${FILESDIR}/nls-patch-setup.py
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !defined(WITHOUT_NLS)
|
|
|
|
post-install:
|
|
|
|
${CP} ${WRKSRC}/build/share/locale/de/LC_MESSAGES/linkchecker.mo ${PREFIX}/share/locale/de/LC_MESSAGES/
|
|
|
|
${CP} ${WRKSRC}/build/share/locale/es/LC_MESSAGES/linkchecker.mo ${PREFIX}/share/locale/es/LC_MESSAGES/
|
|
|
|
${CP} ${WRKSRC}/build/share/locale/fr/LC_MESSAGES/linkchecker.mo ${PREFIX}/share/locale/fr/LC_MESSAGES/
|
2005-05-07 05:14:06 +02:00
|
|
|
.endif
|
|
|
|
|
2007-03-14 21:39:16 +01:00
|
|
|
.include <bsd.port.mk>
|