aboutsummaryrefslogtreecommitdiffstats
path: root/devel/pylint/Makefile
blob: b55f8fb71dcb263294431bd4471fc69e4b1c9ae4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# New ports collection makefile for:    pylint
# Date created:     28 May 2004
# Whom:         Hye-Shik Chang
#
# $FreeBSD$
#

PORTNAME=   pylint
PORTVERSION=    0.15.2
CATEGORIES= devel python
MASTER_SITES=   ftp://ftp.logilab.org/pub/pylint/   \
        http://ftp.logilab.org/pub/pylint/
PKGNAMESUFFIX=  ${PYTHON_PKGNAMESUFFIX}

MAINTAINER= mva@sysfault.org
COMMENT=    Analyzes python source code looking for bugs and signs of poor quality

RUN_DEPENDS=    ${PYTHONPREFIX_SITELIBDIR}/logilab/astng/__init__.py:${PORTSDIR}/devel/py-astng

USE_PYTHON= yes
USE_PYDISTUTILS=yes

OPTIONS=    GUI "Include Tkinter support for pylint-gui"    Off

.include <bsd.port.pre.mk>

.if ${PYTHON_REL} < 250
PLIST_SUB+= NOPY25=""
.else
PLIST_SUB+= NOPY25="@comment "
.endif

.if defined(WITH_GUI)
RUN_DEPENDS+=   ${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter
.endif

.include <bsd.port.post.mk>