pkgsrc/devel/scons/Makefile
gdt 4bf0870535 scons: Take MAINTAINERship
Also try to avoid updates breaking gpsd and probably other things.
Upstream's latest release 4.1.0 is problematic, say rumors on the net.
2021-01-20 23:54:24 +00:00

30 lines
856 B
Makefile

# $NetBSD: Makefile,v 1.48 2021/01/20 23:54:24 gdt Exp $
# 4.1.0 is broken, per reports on gpsd list. Apparently 4.0.1 is ok.
DISTNAME= scons-3.1.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=s/scons/}
MAINTAINER= gdt@NetBSD.org
HOMEPAGE= https://www.scons.org/
COMMENT= Python-based, open-source build system
LICENSE= mit
USE_LANGUAGES= # none
PYTHON_SELF_CONFLICT= yes
REPLACE_PYTHON+= script/scons
REPLACE_PYTHON+= script/scons-configure-cache
REPLACE_PYTHON+= script/scons-time
REPLACE_PYTHON+= script/sconsign
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"