1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-31 10:46:16 +00:00

Update USES=scons to specify scons of Python 2

- While I'm here, convert emulators/gem5 and games/marsnomercy to USES=scons
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2020-05-25 18:33:44 +00:00
parent 3ae4718f69
commit dfe005ee44
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=536497
35 changed files with 42 additions and 46 deletions

View File

@ -12,7 +12,7 @@ COMMENT= Daemon that monitors one or more GPSes attached to a host computer
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING
USES= cpe pathfix pkgconfig python:3.6+ scons shebangfix
USES= cpe pathfix pkgconfig python:3.6+ scons:python2 shebangfix
CPE_VENDOR= gpsd_project
USE_LDCONFIG= yes
USE_RC_SUBR= gpsd

View File

@ -31,7 +31,7 @@ LIB_DEPENDS= libaubio.so:audio/aubio \
libsamplerate.so:audio/libsamplerate \
libsndfile.so:audio/libsndfile
USES= cpe gettext gnome pkgconfig scons tar:bzip2
USES= cpe gettext gnome pkgconfig scons:python2 tar:bzip2
MAKE_ARGS+= SYSLIBS=yes PREFIX=${PREFIX} NLS=yes
CFLAGS+= -I${LOCALBASE}/include -DHAVE_AUBIO4
USE_GNOME= atk atkmm cairo cairomm gdkpixbuf2 glib20 glibmm gtk20 gtkmm24 \

View File

@ -33,7 +33,7 @@ LIB_DEPENDS= libchromaprint.so:audio/chromaprint \
libprotobuf.so:devel/protobuf \
liblilv-0.so:audio/lilv
USES= compiler:c++11-lang gl iconv qt:5 pkgconfig scons xorg
USES= compiler:c++11-lang gl iconv qt:5 pkgconfig scons:python2 xorg
USE_XORG= x11
USE_GL= gl glu
USE_GITHUB= yes

View File

@ -32,7 +32,7 @@ LIB_DEPENDS= libchromaprint.so:audio/chromaprint \
libtag.so:audio/taglib \
libprotobuf.so:devel/protobuf
USES= compiler:c++11-lang gl iconv qt:5 pkgconfig scons xorg
USES= compiler:c++11-lang gl iconv qt:5 pkgconfig scons:python2 xorg
USE_XORG= x11
USE_GL= gl glu
USE_GITHUB= yes

View File

@ -21,7 +21,7 @@ GH_TAGNAME= a8bd811
MAKE_ARGS+= --prefix=${PREFIX}
USE_LDCONFIG= yes
USES= gmake iconv perl5 pkgconfig python:2.7 scons shebangfix
USES= gmake iconv perl5 pkgconfig python:2.7 scons:python2 shebangfix
USE_PERL5= build
SHEBANG_FILES= python/*.py
LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB}

View File

@ -27,7 +27,7 @@ LIB_DEPENDS= libboost_system.so:devel/boost-libs \
libpcre.so:devel/pcre \
libsnappy.so:archivers/snappy
USES= compiler:c++14-lang cpe python:2.7,build scons shebangfix
USES= compiler:c++14-lang cpe python:2.7,build scons:python2 shebangfix
USE_RC_SUBR= mongod
CONFLICTS_BUILD= mongo-cxx-driver

View File

@ -30,7 +30,7 @@ LIB_DEPENDS= libboost_system.so:devel/boost-libs \
libcurl.so:ftp/curl \
libsnappy.so:archivers/snappy
USES= compiler:c++14-lang cpe python:2.7,build scons shebangfix
USES= compiler:c++14-lang cpe python:2.7,build scons:python2 shebangfix
USE_RC_SUBR= mongod
CONFLICTS_BUILD= mongo-cxx-driver

View File

@ -23,7 +23,7 @@ RUN_DEPENDS= xdg-user-dir:devel/xdg-user-dirs \
xdg-open:devel/xdg-utils \
xmessage:x11/xmessage
USES= compiler:c++11-lib gl pkgconfig scons ssl xorg
USES= compiler:c++11-lib gl pkgconfig scons:python2 ssl xorg
USE_XORG= x11 xcursor xi xinerama xrandr
USE_GL= gl glu

View File

@ -31,7 +31,7 @@ USE_GITHUB= yes
GH_ACCOUNT= mongodb
GH_PROJECT= mongo-cxx-driver
USES= compiler:c++11-lang scons ssl
USES= compiler:c++11-lang scons:python2 ssl
MAKE_ARGS= --prefix=${STAGEDIR}${PREFIX} \
--cc=${CC} \
--cxx=${CXX}

View File

@ -17,7 +17,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= zenity:x11/zenity
USES= compiler:c++0x desktop-file-utils dos2unix localbase:ldflags \
pkgconfig scons sdl xorg
pkgconfig scons:python2 sdl xorg
USE_SDL= sdl
USE_XORG= x11
USE_GNOME+= gdkpixbuf2

View File

@ -8,8 +8,7 @@ CATEGORIES= emulators
MAINTAINER= ports@FreeBSD.org
COMMENT= gem5 Simulator System
BUILD_DEPENDS= swig3.0:devel/swig30 \
scons:devel/scons
BUILD_DEPENDS= swig3.0:devel/swig30
BROKEN_armv6= fails to link: undefined reference to HDLcd::BUS_OPTIONS_RESETV
BROKEN_armv7= fails to link: undefined reference to HDLcd::BUS_OPTIONS_RESETV
@ -18,12 +17,15 @@ BROKEN_mips64= fails to build: claims that gcc version 4.6 or newer required
BROKEN_FreeBSD_11_powerpc64= fails to build: claims that gcc version 4.6 or newer required
BROKEN_FreeBSD_12_powerpc64= fails to build: claims that gcc version 4.6 or newer required
USES= gmake scons:python2
DATE= 20140422
USE_GITHUB= yes
GH_ACCOUNT= CTSRD-CHERI
GH_TAGNAME= 99d65cc
SWIG_BIN= swig3.0
USES= gmake
ALL_TARGET= build/ARM/gem5.opt
MAKE_ENV= SWIG="${LOCALBASE}/bin/swig3.0"
.include <bsd.port.pre.mk>
@ -33,10 +35,8 @@ post-patch:
${WRKSRC}/src/dev/terminal.cc \
${WRKSRC}/util/term/term.c
do-build:
pre-build:
cd ${WRKSRC} && ${GMAKE} -C util/term
cd ${WRKSRC} && ${SETENV} SWIG="${PREFIX}/bin/${SWIG_BIN}" scons \
build/ARM/gem5.opt
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/${PORTNAME} \

View File

@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libpng.so:graphics/png
USES= bison gnome pkgconfig scons sdl
USES= bison gnome pkgconfig scons:python2 sdl
USE_GNOME= gtk20 libxml2
USE_SDL= sdl

View File

@ -19,7 +19,7 @@ LIB_DEPENDS= libsigc-2.0.so:devel/libsigc++20 \
libvorbisfile.so:audio/libvorbis \
libsmpeg.so:multimedia/smpeg
USES= lua:51 openal:al pkgconfig python:build scons sdl tar:bzip2
USES= lua:51 openal:al pkgconfig python:build scons:python2 sdl tar:bzip2
USE_CXXSTD= gnu++98
USE_LDCONFIG= yes
USE_SDL= image sdl

View File

@ -14,7 +14,7 @@ COMMENT= Open source World War II German submarine simulation
LIB_DEPENDS= libfftw3.so:math/fftw3
RUN_DEPENDS= dangerdeep-data>0:games/dangerdeep-data
USES= compiler gl scons sdl
USES= compiler gl scons:python2 sdl
USE_GL= yes
USE_SDL= sdl mixer image net

View File

@ -22,7 +22,7 @@ BUILD_DEPENDS= as:devel/binutils
LIB_DEPENDS= libphysfs.so:devel/physfs \
libpng.so:graphics/png
USES= compiler:c++14-lang gl localbase:ldflags pkgconfig scons sdl tar:xz
USES= compiler:c++14-lang gl localbase:ldflags pkgconfig scons:python2 sdl tar:xz
USE_GL= gl glu
USE_SDL= mixer sdl

View File

@ -14,7 +14,7 @@ COMMENT= Westwood red alert game engine
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/doc/gpl.txt
USES= compiler:c++11-lang scons sdl
USES= compiler:c++11-lang scons:python2 sdl
USE_SDL= sdl mixer
WRKSRC= ${WRKDIR}/freera++

View File

@ -21,7 +21,7 @@ LIB_DEPENDS= libvorbis.so:audio/libvorbis \
OPTIONS_DEFINE= DOCS PORTAUDIO
USES= compiler:c++11-lang gl gnome pkgconfig scons sdl
USES= compiler:c++11-lang gl gnome pkgconfig scons:python2 sdl
USE_SDL= image net sdl ttf
USE_GL= gl glu
MAKE_ARGS= CCFLAGS="${CFLAGS}" \

View File

@ -20,7 +20,7 @@ LIB_DEPENDS= libgtkglext-x11-1.0.so:x11-toolkits/gtkglext \
libmhash.so:security/mhash \
libpng.so:graphics/png
USES= compiler:c++11-lang gnome pkgconfig python:build scons zip
USES= compiler:c++11-lang gnome pkgconfig python:build scons:python2 zip
USE_GNOME= gtk20 libxml2
MAKE_ARGS= ${MAKE_ENV} BUILD=release
SSP_UNSAFE= yes

View File

@ -13,10 +13,9 @@ COMMENT= Turn-based strategy game setting on Mars
LICENSE= GPLv2 # version unspecified actually
BUILD_DEPENDS= scons:devel/scons
LIB_DEPENDS= libpng.so:graphics/png
USES= compiler gl sdl
USES= compiler gl scons:python2 sdl
USE_GL= gl
USE_SDL= sdl image ttf
SCONS_ARGS= prefix=${PREFIX}
@ -47,9 +46,6 @@ SCONS_ARGS+= with_opengl=1
SCONS_ARGS+= with_opengl=0
.endif
do-build:
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} scons ${SCONS_ARGS}
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/mars-nomercy ${STAGEDIR}${PREFIX}/bin/
${INSTALL_PROGRAM} ${WRKSRC}/mars ${STAGEDIR}${PREFIX}/libexec/mars

View File

@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LDFLAGS+= -lpthreads
USES= gnome scons sdl zip
USES= gnome scons:python2 sdl zip
USE_SDL= sdl mixer image
USE_GNOME= libxml2
MAKE_ARGS+= datadir="${DATADIR}"

View File

@ -16,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${LOCALBASE}/include/boost/signals2.hpp:devel/boost-libs
LIB_DEPENDS= libpng.so:graphics/png
USES= compiler:c++11-lib gl iconv scons sdl tar:bzip2 xorg
USES= compiler:c++11-lib gl iconv scons:python2 sdl tar:bzip2 xorg
USE_GL= gl
USE_SDL= sdl image mixer
LIBS+= ${ICONV_LIB}

View File

@ -21,7 +21,7 @@ LIB_DEPENDS= libIL.so:graphics/devil \
USE_GITHUB= yes
GH_ACCOUNT= ginkgo
USES= pkgconfig scons compiler:c++11-lang gl sdl
USES= pkgconfig scons:python2 compiler:c++11-lang gl sdl
USE_CXXSTD= c++11
USE_GL= gl glu
USE_SDL= mixer

View File

@ -28,7 +28,7 @@ RUN_DEPENDS= ${LOCALBASE}/share/fonts/dejavu/DejaVuSans.ttf:x11-fonts/dejavu
USE_GITHUB= yes
GH_ACCOUNT= eglaysher
USES= compiler:c++11-lib gl gnome pkgconfig scons sdl
USES= compiler:c++11-lib gl gnome pkgconfig scons:python2 sdl
USE_GL= glew glu
USE_GNOME= gtk20
USE_SDL= image mixer ttf

View File

@ -16,7 +16,7 @@ LIB_DEPENDS= libargp.so:devel/argp-standalone \
libglfw.so:graphics/glfw \
libpng.so:graphics/png
USES= compiler:c++11-lang pkgconfig scons gnome gl
USES= compiler:c++11-lang pkgconfig scons:python2 gnome gl
USE_GITHUB= yes
GH_ACCOUNT= guillaumechereau
USE_GNOME= cairo gtk30

View File

@ -11,7 +11,7 @@ MASTER_SITES= http://www.codenix.com/~tolua/ \
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Extended version of tolua, a tool to integrate C/C++ code with Lua
USES= scons lua:51 tar:bzip2
USES= scons:python2 lua:51 tar:bzip2
MAKE_ARGS= prefix=${PREFIX} SONAME="libtolua++-${LUA_VER}.so"
CCFLAGS+= -I${LUA_INCDIR}

View File

@ -16,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= re2c:devel/re2c
USES= bison compiler:c++11-lib python:2.7 scons
USES= bison compiler:c++11-lib python:2.7 scons:python2
MAKE_ARGS= ${MAKE_ENV}
CXXFLAGS+= -std=c++11
MAKE_ENV= WITH_LUA=no

View File

@ -16,7 +16,7 @@ LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \
libkate.so:multimedia/libkate \
libtheora.so:multimedia/libtheora
USES= iconv pkgconfig scons tar:bzip2
USES= iconv pkgconfig scons:python2 tar:bzip2
MAKE_ARGS= APPEND_CCFLAGS="${CFLAGS} ${CPPFLAGS}" \
APPEND_LINKFLAGS="${LDFLAGS} ${LIBS}"

View File

@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/License.txt
BUILD_DEPENDS= ${LOCALBASE}/include/boost/version.hpp:devel/boost-libs
USES= compiler:c++11-lang gettext gnome iconv localbase:ldflags \
pkgconfig scons ssl tar:bzip2
pkgconfig scons:python2 ssl tar:bzip2
USE_GNOME= libglade2
INSTALLS_ICONS= yes
PORTDOCS= *

View File

@ -10,7 +10,7 @@ MAINTAINER= cy@FreeBSD.org
COMMENT= Ftp-like client for the FSP service
CONFLICTS_INSTALL= alliance-*
USES= tar:bzip2 scons
USES= tar:bzip2 scons:python2
MAKE_ARGS= prefix=${PREFIX}
PLIST_FILES= bin/fsp share/man/man1/fsp.1.gz

View File

@ -13,7 +13,7 @@ COMMENT= FSP daemon, clients, and scanner
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
USES= scons tar:bzip2
USES= scons:python2 tar:bzip2
CLIENTS= fbye fcatcmd fcdcmd fducmd ffindcmd fgetcmd fgrabcmd fhostcmd \
flscmd fmkdir fmvcmd fprocmd fput frmcmd frmdircmd fsetupcmd \

View File

@ -13,7 +13,7 @@ LICENSE_NAME= FSP software suite copyright
LICENSE_FILE= ${WRKSRC}/COPYING
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
USES= scons
USES= scons:python2
CCFLAGS= ${CXXFLAGS}

View File

@ -18,7 +18,7 @@ EXPIRATION_DATE= 2020-09-15
LIB_DEPENDS= libboost_regex.so:devel/boost-libs \
libpcap.so.1:net/libpcap # avoid base libpcap
USES= ncurses scons shebangfix ssl compiler:env python:2.7,build
USES= ncurses scons:python2 shebangfix ssl compiler:env python:2.7,build
USE_GITHUB= yes
USE_RC_SUBR= xorp
GH_ACCOUNT= greearb

View File

@ -16,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libapr-1.so:devel/apr1
USES= iconv scons tar:bzip2
USES= iconv scons:python2 tar:bzip2
MAKE_ARGS= DEBUG=False --install-sandbox=${STAGEDIR}
USE_LDCONFIG= yes

View File

@ -16,7 +16,7 @@ COMMENT= Ori distributed file system
LIB_DEPENDS= libevent.so:devel/libevent \
libboost_date_time.so:devel/boost-libs
USES= compiler:c++11-lib fuse pkgconfig scons ssl tar:xz
USES= compiler:c++11-lib fuse pkgconfig scons:python2 ssl tar:xz
CPPFLAGS+= -I${OPENSSLINC}
LDFLAGS+= -L${OPENSSLLIB} -lcrypto
MAKE_ARGS= VERBOSE=1

View File

@ -3,7 +3,7 @@
PORTNAME= serf
PORTVERSION= 1.3.9
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= www
MASTER_SITES= APACHE/serf
@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS+= libapr-1.so:devel/apr1
USES= scons ssl tar:bzip2 cpe
USES= scons:python2 ssl tar:bzip2 cpe
USE_LDCONFIG= yes
OPTIONS_DEFINE= DOCS