diff options
author | Beat Gaetzi <beat@FreeBSD.org> | 2012-10-05 15:02:43 +0000 |
---|---|---|
committer | Beat Gaetzi <beat@FreeBSD.org> | 2012-10-05 15:02:43 +0000 |
commit | 3c40faf631062349c474d5d98e8553cef4bff0ec (patch) | |
tree | e763ddf9056af761224bb746fa64db2fcf10f9a7 /www/linkchecker | |
parent | 5acc115897b33077e2164648e79d94a983931596 (diff) | |
download | ports-3c40faf631062349c474d5d98e8553cef4bff0ec.tar.gz ports-3c40faf631062349c474d5d98e8553cef4bff0ec.zip |
Notes
Diffstat (limited to 'www/linkchecker')
-rw-r--r-- | www/linkchecker/Makefile | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/www/linkchecker/Makefile b/www/linkchecker/Makefile index c36723d283f5..2274b85473a0 100644 --- a/www/linkchecker/Makefile +++ b/www/linkchecker/Makefile @@ -1,10 +1,5 @@ -# ex:ts=8 -# Ports collection makefile for: linkchecker -# Date created: Oct 17, 2003 -# Whom: ijliao -# +# Created by: ijliao # $FreeBSD$ -# PORTNAME= linkchecker PORTVERSION= 6.6 @@ -18,7 +13,7 @@ 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 +OPTIONS_DEFINE= GUI NLS LICENSE= GPLv2 @@ -33,14 +28,14 @@ MAN5= linkcheckerrc.5 .include <bsd.port.options.mk> -.if defined(WITH_GUI) +.if ${PORT_OPTIONS:MGUI} 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) +.if ${PORT_OPTIONS:MNLS} MANLANG= "" de USE_GETTEXT= yes PLIST_SUB+= NLS="" @@ -49,7 +44,7 @@ PLIST_SUB+= NLS="@comment " .endif post-patch: -.if !defined(WITHOUT_NLS) +.if ${PORT_OPTIONS:MNLS} @cd ${WRKSRC} && ${PATCH} --quiet < ${FILESDIR}/nls-patch-setup.py .else @${RM} ${WRKSRC}/po/*.po |