freebsd-ports/www/linkchecker/Makefile

45 lines
1 KiB
Makefile
Raw Normal View History

# ex:ts=8
# Ports collection makefile for: linkchecker
# Date created: Oct 17, 2003
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= linkchecker
PORTVERSION= 4.6
PORTREVISION= 1
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= clement@FreeBSD.org
COMMENT= Check HTML documents for broken links
2005-02-04 11:10:45 +01:00
USE_PYTHON= 2.4
USE_PYDISTUTILS= yes
MAN1= linkchecker.1
MANLANG= "" de fr
.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:
.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
.include <bsd.port.mk>