# Created by: Peter Haight # $FreeBSD$ PORTNAME= scons PORTVERSION= 2.3.0 CATEGORIES= devel python MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION} MAINTAINER= gavin@16degrees.com.au COMMENT= Build tool alternative to make RUN_DEPENDS+= python2:${PORTSDIR}/lang/python2 USE_PYTHON= yes USE_PYDISTUTILS= yes PYDISTUTILS_AUTOPLIST= yes PLIST_SUB+= SCONS_VER=${PORTVERSION} USE_PYTHON= -2.7 post-patch: @${REINPLACE_CMD} \ -e 's,distutils\.command\.install$$,setuptools\.command\.install,' \ -e 's,distutils\.command\.install\.,setuptools\.command\.install\.,' \ ${WRKSRC}/setup.py .include