diff options
author | beat <beat@FreeBSD.org> | 2011-02-10 04:26:05 +0800 |
---|---|---|
committer | beat <beat@FreeBSD.org> | 2011-02-10 04:26:05 +0800 |
commit | f2bedd8652c2f2480687ae3f196eb5658d0e6e2f (patch) | |
tree | df03a89b792ba92176e37577e6dc23ca5c83f5c5 /www/linkchecker | |
parent | 3d7a1ec2e42a7b654c3bc1932c8f896a21307fc9 (diff) | |
download | freebsd-ports-gnome-f2bedd8652c2f2480687ae3f196eb5658d0e6e2f.tar.gz freebsd-ports-gnome-f2bedd8652c2f2480687ae3f196eb5658d0e6e2f.tar.zst freebsd-ports-gnome-f2bedd8652c2f2480687ae3f196eb5658d0e6e2f.zip |
- Add option to install GUI frontend dependencies
Submitted by: Oleg Ginzburg <olevole AT olevole.ru>
Diffstat (limited to 'www/linkchecker')
-rw-r--r-- | www/linkchecker/Makefile | 11 |
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 |