|
Lines 1-37
Link Here
|
| 1 |
# New ports collection makefile for: pylint |
1 |
# New ports collection makefile for: astng |
| 2 |
# Date created: 28 May 2004 |
2 |
# Date created: 27 Apr 2006 |
| 3 |
# Whom: Hye-Shik Chang |
3 |
# Whom: Hye-Shik Chang |
| 4 |
# |
4 |
# |
| 5 |
# $FreeBSD: ports/devel/pylint/Makefile,v 1.19 2009/03/26 10:11:36 mva Exp $ |
5 |
# $FreeBSD: ports/devel/py-astng/Makefile,v 1.10 2009/03/26 10:10:06 mva Exp $ |
| 6 |
# |
6 |
# |
| 7 |
|
7 |
|
| 8 |
PORTNAME= pylint |
8 |
PORTNAME= astng |
| 9 |
PORTVERSION= 0.18.0 |
9 |
PORTVERSION= 0.19.0 |
| 10 |
CATEGORIES= devel python |
10 |
CATEGORIES= devel python |
| 11 |
MASTER_SITES= ftp://ftp.logilab.org/pub/pylint/ \ |
11 |
MASTER_SITES= ${MASTER_SITE_LOGILAB} |
| 12 |
http://ftp.logilab.org/pub/pylint/ |
12 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
| 13 |
PKGNAMESUFFIX= ${PYTHON_PKGNAMESUFFIX} |
13 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
|
|
14 |
DISTNAME= logilab-${PORTNAME}-${PORTVERSION} |
| 14 |
|
15 |
|
| 15 |
MAINTAINER= mva@FreeBSD.org |
16 |
MAINTAINER= mva@FreeBSD.org |
| 16 |
COMMENT= Analyzes python source code looking for bugs and signs of poor quality |
17 |
COMMENT= Extension for Python compiler.ast module |
| 17 |
|
18 |
|
| 18 |
RUN_DEPENDS= ${PYTHONPREFIX_SITELIBDIR}/logilab/astng/__init__.py:${PORTSDIR}/devel/py-astng |
19 |
RUN_DEPENDS= ${PYTHONPREFIX_SITELIBDIR}/logilab/__init__.py:${PORTSDIR}/devel/py-logilab-common |
| 19 |
|
20 |
|
| 20 |
USE_PYTHON= yes |
21 |
USE_PYTHON= yes |
| 21 |
USE_PYDISTUTILS=yes |
22 |
USE_PYDISTUTILS= yes |
|
|
23 |
PYDISTUTILS_PKGNAME= logilab-astng |
| 22 |
|
24 |
|
| 23 |
OPTIONS= GUI "Include Tkinter support for pylint-gui" Off |
25 |
.include <bsd.port.mk> |
| 24 |
|
|
|
| 25 |
.include <bsd.port.pre.mk> |
| 26 |
|
| 27 |
.if ${PYTHON_REL} < 250 |
| 28 |
PLIST_SUB+= NOPY25="" |
| 29 |
.else |
| 30 |
PLIST_SUB+= NOPY25="@comment " |
| 31 |
.endif |
| 32 |
|
| 33 |
.if defined(WITH_GUI) |
| 34 |
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter |
| 35 |
.endif |
| 36 |
|
| 37 |
.include <bsd.port.post.mk> |