freebsd-ports/www/linkchecker/Makefile

54 lines
1.3 KiB
Makefile
Raw Normal View History

# Created by: ijliao
# $FreeBSD$
PORTNAME= linkchecker
2011-03-27 05:12:24 +02:00
PORTVERSION= 6.6
CATEGORIES= www python
2010-04-01 00:27:01 +02:00
MASTER_SITES= SF/${PORTNAME}/${PORTVERSION}/
DISTNAME= LinkChecker-${PORTVERSION}
2012-12-30 13:15:38 +01:00
MAINTAINER= ports@FreeBSD.org
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_DEFINE= GUI NLS
LICENSE= GPLv2
USE_BZIP2= yes
USE_PYTHON= 2.5+
USE_PYDISTUTILS= yes
INSTALLS_EGGINFO= yes
PYDISTUTILS_EGGINFO= LinkChecker-${PORTVERSION}-${PYTHON_VERSION:S/thon//}.egg-info
MAN1= linkchecker.1
MAN5= linkcheckerrc.5
.include <bsd.port.options.mk>
.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 ${PORT_OPTIONS:MNLS}
MANLANG= "" de
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 ${PORT_OPTIONS:MNLS}
@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
.include <bsd.port.mk>