mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-17 03:25:46 +00:00
32 lines
693 B
Makefile
32 lines
693 B
Makefile
# Created by: Peter Haight <peterh@sapros.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= scons
|
|
PORTVERSION= 3.0.1
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Build tool alternative to make
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
|
|
|
RUN_DEPENDS= gm4:devel/m4
|
|
|
|
USES= python:2.7 shebangfix
|
|
SHEBANG_FILES= script/scons*
|
|
USE_PYTHON= distutils autoplist
|
|
NO_ARCH= 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
|
|
@${FIND} ${WRKSRC} -name \*.orig -delete
|
|
|
|
.include <bsd.port.mk>
|