1 |
# $MidnightBSD$ |
2 |
# $FreeBSD: ports/devel/scons/Makefile,v 1.29 2007/07/30 09:41:26 alexbl Exp $ |
3 |
|
4 |
PORTNAME= scons |
5 |
PORTVERSION= 3.0.1 |
6 |
CATEGORIES= devel python |
7 |
MASTER_SITES= SF |
8 |
|
9 |
MAINTAINER= ports@MidnightBSD.org |
10 |
COMMENT= Build tool alternative to make |
11 |
|
12 |
LICENSE= mit |
13 |
LICENSE_FILE= ${WRKSRC}/LICENSE.txt |
14 |
|
15 |
RUN_DEPENDS= gm4:${PORTSDIR}/devel/m4 |
16 |
|
17 |
USES= python:2 |
18 |
USE_PYTHON= distutils autoplist |
19 |
|
20 |
PLIST_SUB+= SCONS_VER=${PORTVERSION} |
21 |
|
22 |
post-patch: |
23 |
@${REINPLACE_CMD} \ |
24 |
-e 's,distutils\.command\.install$$,setuptools\.command\.install,' \ |
25 |
-e 's,distutils\.command\.install\.,setuptools\.command\.install\.,' \ |
26 |
${WRKSRC}/setup.py |
27 |
@${FIND} ${WRKSRC} -name \*.orig -delete |
28 |
|
29 |
.include <bsd.port.mk> |