aboutsummaryrefslogtreecommitdiffstats
path: root/devel/pylint/Makefile
blob: 4b47c5594a82a660807f8a892e626715e5477352 (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
# Created by: Hye-Shik Chang
# $FreeBSD$

PORTNAME=   pylint
PORTVERSION=    0.27.0
PORTREVISION=   1
CATEGORIES= devel python
MASTER_SITES=   LOGILAB
PKGNAMESUFFIX=  ${PYTHON_PKGNAMESUFFIX}

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

LICENSE=    LGPL21

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

MAKE_ENV=   NO_SETUPTOOLS=1
USE_PYTHON= yes
USE_PYDISTUTILS=yes

OPTIONS_DEFINE= GUI
OPTIONS_DEFAULTS=

.include <bsd.port.options.mk>

post-extract:
    ${RM} -fr ${WRKSRC}/test

.if ${PORT_OPTIONS:MGUI}
RUN_DEPENDS+=   ${PYTHON_PKGNAMEPREFIX}tkinter>0:${PORTSDIR}/x11-toolkits/py-tkinter
.endif

.include <bsd.port.mk>