1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Drop support for USE_SCONS please use USES=scons instead

This commit is contained in:
Baptiste Daroussin 2014-05-27 14:58:58 +00:00
parent 023a687cfe
commit fc5c95cd6c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=355530
3 changed files with 2 additions and 101 deletions

View File

@ -383,9 +383,6 @@ FreeBSD_MAINTAINER= portmgr@FreeBSD.org
# (libtool, autoconf, autoheader, automake et al.)
# See bsd.autotools.mk for more details.
##
# USE_SCONS - If set, this port uses the Python-based SCons build system
# See bsd.scons.mk for more details.
##
# USE_EFL - If set, this port use EFL libraries.
# Implies inclusion of bsd.efl.mk. (Also see
# that file for more information on USE_EFL_*).
@ -1891,10 +1888,6 @@ IGNORE= Do not define STAGEDIR in command line
.include "${PORTSDIR}/Mk/bsd.qt.mk"
.endif
.if defined(USE_SCONS)
.include "${PORTSDIR}/Mk/bsd.scons.mk"
.endif
.if defined(USE_SDL) || defined(WANT_SDL)
.include "${PORTSDIR}/Mk/bsd.sdl.mk"
.endif

View File

@ -121,8 +121,8 @@ DEV_WARNING+= "USE_GNOME=ltverhack is deprecated, please use USES=libtool"
SANITY_UNSUPPORTED= USE_OPENAL USE_FAM USE_MAKESELF USE_ZIP USE_LHA USE_CMAKE \
USE_READLINE USE_ICONV PERL_CONFIGURE PERL_MODBUILD \
USE_PERL5_BUILD USE_PERL5_RUN USE_DISPLAY USE_FUSE \
USE_GETTEXT
SANITY_DEPRECATED= USE_XZ USE_BZIP2 USE_GMAKE USE_SCONS
USE_GETTEXT USE_SCONS
SANITY_DEPRECATED= USE_XZ USE_BZIP2 USE_GMAKE
USE_OPENAL_ALT= USES=openal
USE_FAM_ALT= USES=fam

View File

@ -1,92 +0,0 @@
#-*- tab-width: 4; -*-
# ex:ts=4
#
# $FreeBSD$
#
# bsd.scons.mk - Python-based SCons build system interface.
# Author: Alexander Botero-Lowry <alexbl@FreeBSD.org>
#
# Please view me with 4 column tabs!
# Please make sure all changes to this file are passed through the maintainer.
SCONS_MAINTAINER= python@FreeBSD.org
#
# SCONS_BIN is the location where the scons port installs the scons
# executable.
#
# SCONS_PORT is where the scons port is located in the ports tree.
#
SCONS_BIN= ${LOCALBASE}/bin/scons
SCONS_PORT= ${PORTSDIR}/devel/scons
#
# CCFLAGS is the scons equivalent of CFLAGS. So we should bring in our
# FreeBSD CFLAGS.
#
# LINKFLAGS is equivalent to LDFLAGS in make speak, so we bring in the
# FreeBSD default LDFLAGS.
#
# Some scons projects may honor PKGCONFIGDIR, which tells them where to
# look for, and install, pkgconfig files.
#
# LIBPATH is the search path for libraries. Bring in some safe defaults.
#
# CPPPATH is the search path for includes, Again, bring in some safe defaults.
#
CCFLAGS?= ${CFLAGS}
LINKFLAGS?= ${LDFLAGS}
PKGCONFIGDIR?= ${LOCALBASE}/libdata/pkgconfig
LIBPATH?= ${LOCALBASE}/lib
CPPPATH?= ${LOCALBASE}/include
#
# SCONS_ENV is where we pass all the stuff that should be the
# same for any scons port to scons. Things like CCFLAGS, and LINKFLAGS
# go here.
#
# SCONS_ARGS is where you pass port specific scons flags to the scons
# environment.
#
# SCONS_BUILDENV is where you pass variables you want to be in the
# System Environment instead of the SCons Environment.
#
# SCONS_TARGET is the same as MAKE_TARGET it is passed as the last
# argument to scons.
#
SCONS_ENV?= CCFLAGS="${CCFLAGS}" CXXFLAGS="${CXXFLAGS}" \
LINKFLAGS="${LINKFLAGS}" PKGCONFIGDIR="${PKGCONFIGDIR}" \
CPPPATH="${CPPPATH}" LIBPATH="${LIBPATH}" PREFIX="${PREFIX}" \
CC="${CC}" CXX="${CXX}"
SCONS_ARGS?=
SCONS_BUILDENV?=
SCONS_TARGET?=
.if !defined(NO_STAGE)
SCONS_ARGS+= ${DESTDIRNAME}=${STAGEDIR}
.endif
#
# SCONS_INSTALL_TARGET is the default target to be used when
# installing a port using scons.
#
SCONS_INSTALL_TARGET?= ${INSTALL_TARGET}
#
# Make sure we depend on scons
#
BUILD_DEPENDS+= ${SCONS_BIN}:${SCONS_PORT}
.if !target(do-build)
do-build:
@cd ${BUILD_WRKSRC} && \
${SETENV} ${SCONS_BUILDENV} ${SCONS_BIN} ${SCONS_ENV} ${_MAKE_JOBS} \
${SCONS_ARGS} ${SCONS_TARGET}
.endif
.if !target(do-install)
do-install:
@cd ${INSTALL_WRKSRC} && ${SETENV} ${SCONS_BUILDENV} ${SCONS_BIN} \
${SCONS_ENV} ${SCONS_ARGS} ${SCONS_INSTALL_TARGET}
.endif