2012-10-05 17:02:43 +02:00
|
|
|
# Created by: ijliao
|
2003-10-17 19:01:02 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= linkchecker
|
2011-03-27 05:12:24 +02:00
|
|
|
PORTVERSION= 6.6
|
2007-03-14 21:39:16 +01:00
|
|
|
CATEGORIES= www python
|
2010-04-01 00:27:01 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTVERSION}/
|
2009-01-29 19:37:47 +01:00
|
|
|
DISTNAME= LinkChecker-${PORTVERSION}
|
2003-10-17 19:01:02 +02:00
|
|
|
|
2012-12-30 13:15:38 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-10-17 19:01:02 +02:00
|
|
|
COMMENT= Check HTML documents for broken links
|
|
|
|
|
2011-02-06 15:28:26 +01:00
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cssutils>=0.9.5:${PORTSDIR}/www/py-cssutils \
|
|
|
|
${PYTHON_PKGNAMEPREFIX}utidy>=0.2:${PORTSDIR}/www/py-utidy
|
|
|
|
|
2012-10-05 17:02:43 +02:00
|
|
|
OPTIONS_DEFINE= GUI NLS
|
2011-02-09 21:26:05 +01:00
|
|
|
|
2011-02-06 15:28:26 +01:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
|
|
|
USE_BZIP2= yes
|
2009-01-29 19:37:47 +01:00
|
|
|
USE_PYTHON= 2.5+
|
2003-10-17 19:01:02 +02:00
|
|
|
USE_PYDISTUTILS= yes
|
2009-01-29 19:37:47 +01:00
|
|
|
INSTALLS_EGGINFO= yes
|
|
|
|
PYDISTUTILS_EGGINFO= LinkChecker-${PORTVERSION}-${PYTHON_VERSION:S/thon//}.egg-info
|
2007-03-14 21:39:16 +01:00
|
|
|
|
2003-10-17 19:01:02 +02:00
|
|
|
MAN1= linkchecker.1
|
2008-03-31 16:26:08 +02:00
|
|
|
MAN5= linkcheckerrc.5
|
2003-10-17 19:01:02 +02:00
|
|
|
|
2011-02-09 21:26:05 +01:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
2012-10-05 17:02:43 +02:00
|
|
|
.if ${PORT_OPTIONS:MGUI}
|
2011-02-09 21:26:05 +01:00
|
|
|
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}qt4-core>=${PYQT_VERSION}:${PORTSDIR}/devel/py-qt4-core \
|
|
|
|
${PYTHON_PKGNAMEPREFIX}qt4-gui>=${PYQT_VERSION}:${PORTSDIR}/x11-toolkits/py-qt4-gui \
|
|
|
|
${PYTHON_PKGNAMEPREFIX}qt4-help>=${PYQT4_VERSION}:${PORTSDIR}/devel/py-qt4-help \
|
|
|
|
${PYTHON_PKGNAMEPREFIX}qt4-qscintilla2>=${QSCI2_VERSION}:${PORTSDIR}/devel/py-qt4-qscintilla2
|
|
|
|
.endif
|
|
|
|
|
2012-10-05 17:02:43 +02:00
|
|
|
.if ${PORT_OPTIONS:MNLS}
|
2009-01-29 19:37:47 +01:00
|
|
|
MANLANG= "" de
|
2007-03-14 21:39:16 +01:00
|
|
|
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:
|
2012-10-05 17:02:43 +02:00
|
|
|
.if ${PORT_OPTIONS:MNLS}
|
2007-03-14 21:39:16 +01:00
|
|
|
@cd ${WRKSRC} && ${PATCH} --quiet < ${FILESDIR}/nls-patch-setup.py
|
2009-08-26 16:41:17 +02:00
|
|
|
.else
|
|
|
|
@${RM} ${WRKSRC}/po/*.po
|
2005-05-07 05:14:06 +02:00
|
|
|
.endif
|
|
|
|
|
2007-03-14 21:39:16 +01:00
|
|
|
.include <bsd.port.mk>
|