30 lines
923 B
Makefile
30 lines
923 B
Makefile
# $NetBSD: Makefile,v 1.42 2018/02/02 15:34:38 jperkin Exp $
|
|
|
|
DISTNAME= scons-3.0.1
|
|
PKGREVISION= 1
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=scons/}
|
|
MASTER_SITES+= ${MASTER_SITE_PYPI:=S/SCons/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.scons.org/
|
|
COMMENT= Python-based, open-source build system
|
|
LICENSE= mit
|
|
|
|
REPLACE_PYTHON+= script/scons
|
|
REPLACE_PYTHON+= script/scons-configure-cache
|
|
REPLACE_PYTHON+= script/scons-time
|
|
REPLACE_PYTHON+= script/sconsign
|
|
|
|
# scons-3.0.0 works with python-3.x, but not the many packages
|
|
# that have SConstruct files that only work with python-2.x
|
|
PYTHON_VERSIONS_ACCEPTED= 27
|
|
|
|
SUBST_CLASSES+= rflag
|
|
SUBST_STAGE.rflag= pre-configure
|
|
SUBST_FILES.rflag= engine/SCons/Tool/gnulink.py
|
|
SUBST_SED.rflag= -e 's|-Wl,-rpath=|${COMPILER_RPATH_FLAG}|g'
|
|
|
|
.include "../../lang/python/application.mk"
|
|
.include "../../lang/python/distutils.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|