aboutsummaryrefslogtreecommitdiff
path: root/www/linkchecker
diff options
context:
space:
mode:
authorBeat Gaetzi <beat@FreeBSD.org>2011-02-09 20:26:05 +0000
committerBeat Gaetzi <beat@FreeBSD.org>2011-02-09 20:26:05 +0000
commitfbd855d7ec960e9c3fe0c1576c509799fe6bcc98 (patch)
tree1edc2f6da2ed1376f91fc9681bc3ec24446442c1 /www/linkchecker
parentf38f2adc948444c963d022409392f2ce7b6d2b70 (diff)
downloadports-fbd855d7ec960e9c3fe0c1576c509799fe6bcc98.tar.gz
ports-fbd855d7ec960e9c3fe0c1576c509799fe6bcc98.zip
Notes
Diffstat (limited to 'www/linkchecker')
-rw-r--r--www/linkchecker/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/linkchecker/Makefile b/www/linkchecker/Makefile
index 9002d9ff82b0..56ecb38996af 100644
--- a/www/linkchecker/Makefile
+++ b/www/linkchecker/Makefile
@@ -18,6 +18,8 @@ COMMENT= Check HTML documents for broken links
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cssutils>=0.9.5:${PORTSDIR}/www/py-cssutils \
${PYTHON_PKGNAMEPREFIX}utidy>=0.2:${PORTSDIR}/www/py-utidy
+OPTIONS= GUI "Install GUI frontend dependencies" off
+
LICENSE= GPLv2
USE_BZIP2= yes
@@ -29,6 +31,15 @@ PYDISTUTILS_EGGINFO= LinkChecker-${PORTVERSION}-${PYTHON_VERSION:S/thon//}.egg-i
MAN1= linkchecker.1
MAN5= linkcheckerrc.5
+.include <bsd.port.options.mk>
+
+.if defined(WITH_GUI)
+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
+
.if !defined(WITHOUT_NLS)
MANLANG= "" de
USE_GETTEXT= yes