freebsd-ports/devel/scons/Makefile
John Marino 8ea8ccd407 devel/scons: Use GNU M4 over base m4
Scons issues "m4 -E" commands, but the version of m4 including in CURRENT
doesn't understand -E switch.  Use gm4 instead.

PR:		189691
Submitted by:	clutton0 (gmail)
Approved by:	maintainer (Gavin McDonald)
2014-07-27 18:12:39 +00:00

30 lines
688 B
Makefile

# Created by: Peter Haight <peterh@sapros.com>
# $FreeBSD$
PORTNAME= scons
PORTVERSION= 2.3.0
PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}
MAINTAINER= gavin@16degrees.com.au
COMMENT= Build tool alternative to make
LICENSE= MIT
RUN_DEPENDS= gm4:${PORTSDIR}/devel/m4
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
@${FIND} ${WRKSRC} -name \*.orig -delete
.include <bsd.port.mk>