0cbb09ebc6
- Add LICENSE (MIT) Fix: - FATAL: Makefile: [21]: contiguous blank lines (> 1 lines) found. - Unecessary RUN_DEPENDS on python2 (has USE_PYTHON=2) - Remove duplicate USE_PYTHON=yes (scons is for 2.x only) Reviewed by: antoine Approved by: portmgr (blanket)
26 lines
591 B
Makefile
26 lines
591 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
|
|
|
|
LICENSE= MIT
|
|
|
|
USE_PYTHON= 2
|
|
USE_PYDISTUTILS= yes
|
|
PYDISTUTILS_AUTOPLIST= yes
|
|
|
|
PLIST_SUB+= SCONS_VER=${PORTVERSION}
|
|
|
|
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>
|