diff options
Diffstat (limited to 'devel/py-mccabe/Makefile')
-rw-r--r-- | devel/py-mccabe/Makefile | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/devel/py-mccabe/Makefile b/devel/py-mccabe/Makefile index 5564aa789b90..2dd8178f0aae 100644 --- a/devel/py-mccabe/Makefile +++ b/devel/py-mccabe/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= mccabe -PORTVERSION= 0.2 +PORTVERSION= 0.2.1 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -10,7 +10,13 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= wg@FreeBSD.org COMMENT= Ned\'s script to check McCabe complexity -USE_PYTHON= -2.7 # It actually python3 ready, but still needs some work +USE_PYTHON= yes USE_PYDISTUTILS= easy_install -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PYTHON_REL} >= 320 +.include "${PORTSDIR}/devel/py-virtualenv/files/py3k-fix-pkg-plist.inc" +.endif + +.include <bsd.port.post.mk> |