freebsd-ports/devel/scons/Makefile
Baptiste Daroussin 9d896e7d87 devel/scons: drop dependency on gnu M4
Our version of m4 supports the necessary -E switch for 2 years now
2021-04-10 08:59:18 +02:00

33 lines
757 B
Makefile

# Created by: Peter Haight <peterh@sapros.com>
PORTNAME= scons
PORTVERSION= 3.1.2
PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= SF
PKGNAMESUFFIX= ${PYTHON_PKGNAMESUFFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Build tool alternative to make
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
USES= python:2.7+ shebangfix
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
PLIST_SUB= SCONS_VER=${PORTVERSION}
SHEBANG_FILES= script/scons*
post-patch:
@${REINPLACE_CMD} -e 's|distutils\(\.command\.install\)$$|setuptools\1|; s|distutils\(\.command\.install\.\)|setuptools\1|' ${WRKSRC}/setup.py
@${FIND} ${WRKSRC} -name '*.orig' -delete
.include <bsd.port.pre.mk>
PYDISTUTILS_INSTALLARGS+= --standard-lib
.include <bsd.port.post.mk>