mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
77c586a1fb
PR: 224194 Submitted by: Vidar Karlsen <vidar@karlsen.tech>
32 lines
691 B
Makefile
32 lines
691 B
Makefile
# Created by: Peter Haight <peterh@sapros.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= scons
|
|
PORTVERSION= 3.0.1
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= ports@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>
|