mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-22 20:41:26 +00:00
50f8eaece1
- USE_PYTHON* = 2.X -> USE_PYTHON* = 2 - USE_PYTHON* = 2.X+ -> USE_PYTHON* = yes Reviewed by: python (mva, rm) Approved by: portmgr-lurkers (mat)
30 lines
642 B
Makefile
30 lines
642 B
Makefile
# Created by: Peter Haight <peterh@sapros.com>
|
|
# $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
|
|
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} \
|
|
-e 's,distutils\.command\.install$$,setuptools\.command\.install,' \
|
|
-e 's,distutils\.command\.install\.,setuptools\.command\.install\.,' \
|
|
${WRKSRC}/setup.py
|
|
|
|
.include <bsd.port.mk>
|