diff options
author | mva <mva@FreeBSD.org> | 2014-10-21 01:36:02 +0800 |
---|---|---|
committer | mva <mva@FreeBSD.org> | 2014-10-21 01:36:02 +0800 |
commit | 75f93ffec7a0e196580e13543a54802c44e8ac3b (patch) | |
tree | 67c959e7cd137e2895c3dba87c47536a74207154 /games | |
parent | 6521e868f916a501668e2b038a47f6e8fd53cdbe (diff) | |
download | freebsd-ports-gnome-75f93ffec7a0e196580e13543a54802c44e8ac3b.tar.gz freebsd-ports-gnome-75f93ffec7a0e196580e13543a54802c44e8ac3b.tar.zst freebsd-ports-gnome-75f93ffec7a0e196580e13543a54802c44e8ac3b.zip |
- Convert games/ to new USES=python
Approved by: portmgr (implicit)
Diffstat (limited to 'games')
41 files changed, 48 insertions, 74 deletions
diff --git a/games/battletanks/Makefile b/games/battletanks/Makefile index a11c84fa59be..ceb321f1bae1 100644 --- a/games/battletanks/Makefile +++ b/games/battletanks/Makefile @@ -16,10 +16,9 @@ LIB_DEPENDS= libsigc-2.0.so:${PORTSDIR}/devel/libsigc++20 \ libvorbisfile.so:${PORTSDIR}/audio/libvorbis \ libsmpeg.so:${PORTSDIR}/multimedia/smpeg -USES= openal:al pkgconfig lua:51 scons tar:bzip2 +USES= openal:al pkgconfig lua:51 python:build scons tar:bzip2 USE_LDCONFIG= yes USE_SDL= image sdl -USE_PYTHON_BUILD= yes MAKE_ARGS= prefix=${PREFIX} resources_dir=${DATADIR} \ --install-sandbox=${STAGEDIR} CXXFLAGS+= -fpermissive diff --git a/games/bombz/Makefile b/games/bombz/Makefile index a1f3dd1cbc58..a6ff40840cbd 100644 --- a/games/bombz/Makefile +++ b/games/bombz/Makefile @@ -21,11 +21,10 @@ RUN_DEPENDS= ${PYGAME} WRKSRC= ${WRKDIR}/Bombz -USES= dos2unix zip +USES= dos2unix python zip DOS2UNIX_FILES= *.txt USE_SDL= sdl image mixer INSTALLS_ICONS= yes -USE_PYTHON= yes PORTDOCS= ChangeLog readme.txt OPTIONS_DEFINE= DOCS diff --git a/games/bouncy/Makefile b/games/bouncy/Makefile index a3268c48667f..0c94bbdb8e8a 100644 --- a/games/bouncy/Makefile +++ b/games/bouncy/Makefile @@ -22,7 +22,7 @@ RUN_DEPENDS= ${PYGAME} \ WRKSRC= ${WRKDIR}/${PORTNAME}-post-${DISTVERSION} -USE_PYTHON= 2 +USES= python:2 PORTDOCS= README.txt diff --git a/games/crossfire-server/Makefile b/games/crossfire-server/Makefile index ee5f22f8a061..a47af70cfdcb 100644 --- a/games/crossfire-server/Makefile +++ b/games/crossfire-server/Makefile @@ -21,9 +21,8 @@ LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl \ LICENSE= GPLv2 GPLv3 LICENSE_COMB= dual -USES= gmake libtool perl5 uidfix +USES= gmake libtool perl5 python uidfix USE_SQLITE= 3 -USE_PYTHON= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-static --with-check=no --localstatedir=/var/games CONFIGURE_SHELL=${LOCALBASE}/bin/bash diff --git a/games/doomsday/Makefile b/games/doomsday/Makefile index f010c85bf1eb..98f3a7eb0089 100644 --- a/games/doomsday/Makefile +++ b/games/doomsday/Makefile @@ -21,8 +21,7 @@ USE_GL= gl glu USE_LDCONFIG= yes USE_SDL= sdl mixer net USE_XORG= x11 -USE_PYTHON_BUILD= yes -USES= pkgconfig qmake:outsource +USES= pkgconfig python:build qmake:outsource USE_QT4= corelib network opengl moc_build QMAKE_SOURCE_PATH= ${WRKSRC}/doomsday CFLAGS+= -I${LOCALBASE}/include/libpng15 diff --git a/games/endgame-singularity/Makefile b/games/endgame-singularity/Makefile index 6e3053a4f395..83f47ebc1279 100644 --- a/games/endgame-singularity/Makefile +++ b/games/endgame-singularity/Makefile @@ -15,8 +15,8 @@ COMMENT= Simulates the life of a true AI RUN_DEPENDS= py*-game>=1.8:${PORTSDIR}/devel/py-game \ ${PYNUMPY} -USE_PYDISTUTILS=yes -USE_PYTHON= yes +USES= python +USE_PYTHON= distutils USE_SDL= image mixer PORTDOCS= AUTHORS Changelog README.txt TODO PROJECTHOST= ${PKGNAMEPREFIX}${PORTNAME} diff --git a/games/gbottler/Makefile b/games/gbottler/Makefile index 3d765f86a68b..a6f5c203b9ec 100644 --- a/games/gbottler/Makefile +++ b/games/gbottler/Makefile @@ -14,8 +14,7 @@ COMMENT= SSTP Bottle client RUN_DEPENDS= ${PYXML} USE_GNOME= pygtk2 -USE_PYTHON= yes -USES= gmake +USES= gmake python PLIST_SUB= VERSION=${PORTVERSION} .include <bsd.port.mk> diff --git a/games/gcompris/Makefile b/games/gcompris/Makefile index 030fccb9edcc..d67f3407ad92 100644 --- a/games/gcompris/Makefile +++ b/games/gcompris/Makefile @@ -21,10 +21,10 @@ LIB_DEPENDS= libvorbis.so:${PORTSDIR}/audio/libvorbis \ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3 \ gnucap:${PORTSDIR}/cad/gnucap -USES= display:configure gettext gmake libtool pathfix pkgconfig tar:bzip2 +USES= display:configure gettext gmake libtool pathfix pkgconfig \ + python:2 tar:bzip2 GNU_CONFIGURE= yes USE_GSTREAMER= yes -USE_PYTHON= 2 USE_SQLITE= 3 USE_SDL= mixer USE_GNOME= intlhack gnomeprefix gtk20 pygtk2 libxml2 librsvg2 diff --git a/games/gemrb/Makefile b/games/gemrb/Makefile index 20d06c1d2c95..896bf005904c 100644 --- a/games/gemrb/Makefile +++ b/games/gemrb/Makefile @@ -18,10 +18,9 @@ LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png \ OPTIONS_DEFINE= DOCS -USES= cmake openal:al,alut +USES= cmake openal:al,alut python USE_SDL= sdl mixer ttf USE_LDCONFIG= yes -USE_PYTHON= yes CFLAGS+= -L${LOCALBASE}/lib -I${LOCALBASE}/include CMAKE_C_FLAGS= ${CFLAGS} CMAKE_ARGS= -DDOC_DIR="${DOCSDIR}" -DMAN_DIR="${MAN6PREFIX}/man/man6/" -DDISABLE_WERROR=1 -DINSOURCEBUILD=1 diff --git a/games/glchess/Makefile b/games/glchess/Makefile index 610e93b79ece..8269a1abe6e6 100644 --- a/games/glchess/Makefile +++ b/games/glchess/Makefile @@ -12,10 +12,9 @@ COMMENT= 3D OpenGL based chess game RUN_DEPENDS= ${PYTHON_SITELIBDIR}/gtk-2.0/gtk/gdkgl/__init__.py:${PORTSDIR}/x11-toolkits/py-gtkglext -USES= desktop-file-utils shared-mime-info +USES= desktop-file-utils python shared-mime-info USE_GNOME= gconf2 -USE_PYTHON= yes -USE_PYDISTUTILS= yes +USE_PYTHON= distutils GCONF_SCHEMAS= glchess.schemas OPTIONS_DEFINE= DOCS NLS diff --git a/games/gnome-games/Makefile b/games/gnome-games/Makefile index 9e9c753fe1cd..995b78085b8e 100644 --- a/games/gnome-games/Makefile +++ b/games/gnome-games/Makefile @@ -20,11 +20,11 @@ RUN_DEPENDS= seed:${PORTSDIR}/devel/seed CONFLICTS= sol-1.0.* glchess-[0-9]* gnomesudoku-[0-9]* gnome-games-3.[0-9]* -USE_PYTHON= yes INSTALLS_OMF= yes INSTALLS_ICONS= yes USE_GL= gl -USES= desktop-file-utils gettext gmake libtool pathfix pkgconfig tar:bzip2 +USES= desktop-file-utils gettext gmake libtool pathfix pkgconfig \ + python tar:bzip2 USE_GNOME= gnomeprefix intlhack librsvg2 pygnomedesktop gnomedocutils USE_GSTREAMER= vorbis ogg GNU_CONFIGURE= yes diff --git a/games/golly/Makefile b/games/golly/Makefile index 087fd37e3be7..497394bffa0b 100644 --- a/games/golly/Makefile +++ b/games/golly/Makefile @@ -10,8 +10,7 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= makc@FreeBSD.org COMMENT= Conway's Game of Life and other cellular automata -USES= cmake:outsource perl5 -USE_PYTHON= yes +USES= cmake:outsource perl5 python USE_WX= 3.0 WX_UNICODE= yes diff --git a/games/gretools/Makefile b/games/gretools/Makefile index 854afb715a3c..dee2d25666a1 100644 --- a/games/gretools/Makefile +++ b/games/gretools/Makefile @@ -13,10 +13,9 @@ COMMENT= GNOME vocabulary builder LICENSE= GPLv2 -USES= gmake pathfix pkgconfig shebangfix +USES= gmake pathfix pkgconfig python shebangfix SHEBANG_FILES= ${WRKSRC}/gretools.py USE_GNOME= gnomeprefix pygnome2 -USE_PYTHON= yes GNU_CONFIGURE= yes INSTALLS_OMF= yes diff --git a/games/gtkradiant/Makefile b/games/gtkradiant/Makefile index 3f29edfb7394..199642f6d190 100644 --- a/games/gtkradiant/Makefile +++ b/games/gtkradiant/Makefile @@ -21,9 +21,8 @@ LIB_DEPENDS= libgtkglext-x11-1.0.so:${PORTSDIR}/x11-toolkits/gtkglext \ libpng15.so:${PORTSDIR}/graphics/png SSP_UNSAFE= yes -USES= pkgconfig scons zip +USES= pkgconfig python:build scons zip USE_GNOME= gtk20 libxml2 -USE_PYTHON_BUILD= yes MAKE_ARGS= ${MAKE_ENV} BUILD=release DATADIR= ${PREFIX}/lib/${PORTNAME} diff --git a/games/liquidwar/Makefile b/games/liquidwar/Makefile index 4c1db7503b26..ae2387660389 100644 --- a/games/liquidwar/Makefile +++ b/games/liquidwar/Makefile @@ -16,10 +16,9 @@ COMMENT= You control an army of liquid and have to try and eat your opponents LIB_DEPENDS= liballeg.so:${PORTSDIR}/devel/allegro GNU_CONFIGURE= yes -USES= gmake makeinfo +USES= gmake makeinfo python:build CONFIGURE_ARGS= --disable-target-opt --disable-doc-ps --disable-doc-pdf CONFIGURE_ENV= ac_cv_prog_PYTHON=yes -USE_PYTHON_BUILD=yes INFO= liquidwar diff --git a/games/mkgichessclub/Makefile b/games/mkgichessclub/Makefile index 9e49b37fb18e..d4bae125354b 100644 --- a/games/mkgichessclub/Makefile +++ b/games/mkgichessclub/Makefile @@ -21,9 +21,9 @@ NO_BUILD= yes SUB_FILES= pkg-message +USES= python USE_MYSQL= server USE_PHP= mysql pcre session -USE_PYTHON= yes GNUCHESS_RUN_DEPENDS= gnuchess:${PORTSDIR}/games/gnuchess PHALANX_RUN_DEPENDS= phalanx:${PORTSDIR}/games/phalanx diff --git a/games/monsterz/Makefile b/games/monsterz/Makefile index 39efc76ccfa4..53dc50258970 100644 --- a/games/monsterz/Makefile +++ b/games/monsterz/Makefile @@ -21,7 +21,7 @@ LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept RUN_DEPENDS= ${PYGAME} -USE_PYTHON= yes +USES= python MAKE_ENV= prefix=${PREFIX} PORTDOCS= AUTHORS README TODO diff --git a/games/mudmagic/Makefile b/games/mudmagic/Makefile index e4b17ca70cea..419addb45aa3 100644 --- a/games/mudmagic/Makefile +++ b/games/mudmagic/Makefile @@ -18,10 +18,9 @@ LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl \ libexpat.so:${PORTSDIR}/textproc/expat2 \ libsqlite3.so:${PORTSDIR}/databases/sqlite3 -USES= gmake libtool pathfix pkgconfig +USES= gmake libtool pathfix pkgconfig python USE_GNOME= gtk20 libglade2 libxml2 GNU_CONFIGURE= yes -USE_PYTHON= yes INSTALL_TARGET= install-strip USE_LDCONFIG= yes CPPFLAGS+= -I${LOCALBASE}/include diff --git a/games/oolite/Makefile b/games/oolite/Makefile index d2c6655edb61..8f00b324c976 100644 --- a/games/oolite/Makefile +++ b/games/oolite/Makefile @@ -20,7 +20,7 @@ BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip \ LIB_DEPENDS= libespeak.so:${PORTSDIR}/audio/espeak \ libnspr4.so:${PORTSDIR}/devel/nspr -USES= gmake perl5 tar:bzip2 +USES= gmake perl5 python:build tar:bzip2 USE_GL= yes USE_SDL= mixer image gfx USE_GNUSTEP= yes @@ -29,7 +29,6 @@ USE_GNUSTEP_BUILD= yes USE_MAKEFILE= yes ALL_TARGET= release-deployment USE_PERL5= build -USE_PYTHON_BUILD= yes SUB_FILES= pkg-message PKGMESSAGE= ${WRKDIR}/pkg-message diff --git a/games/pathological/Makefile b/games/pathological/Makefile index 3eb0e5e4a87a..4ccad07d50f8 100644 --- a/games/pathological/Makefile +++ b/games/pathological/Makefile @@ -16,7 +16,7 @@ RUN_DEPENDS= ${PYGAME} OPTIONS_DEFINE= DOCS -USE_PYTHON= yes +USES= python NO_BUILD= yes DOC_FILES= favicon.ico index.html diff --git a/games/poker-engine/Makefile b/games/poker-engine/Makefile index 8105e218d822..027caa7e6504 100644 --- a/games/poker-engine/Makefile +++ b/games/poker-engine/Makefile @@ -23,8 +23,7 @@ RUN_DEPENDS= ${LOCALBASE}/bin/rsync:${PORTSDIR}/net/rsync \ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING -USES= gmake pkgconfig gettext -USE_PYTHON= 2 +USES= gettext gmake pkgconfig python:2 GNU_CONFIGURE= yes post-patch: diff --git a/games/ptkei/Makefile b/games/ptkei/Makefile index 87313cec23ec..24c111be3c5e 100644 --- a/games/ptkei/Makefile +++ b/games/ptkei/Makefile @@ -12,7 +12,7 @@ COMMENT= Python/Tk graphical client for Wolfpack Empire servers RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>0:${PORTSDIR}/x11-toolkits/py-tkinter \ ${PYTHON_SITELIBDIR}/Pmw/__init__.py:${PORTSDIR}/x11-toolkits/py-Pmw -USE_PYTHON= yes +USES= python do-build: @${FIND} ${WRKSRC} -name "*.pyc" -delete diff --git a/games/py-fife/Makefile b/games/py-fife/Makefile index 71dd3a0b5549..af039fe3b25c 100644 --- a/games/py-fife/Makefile +++ b/games/py-fife/Makefile @@ -25,9 +25,8 @@ LIB_DEPENDS= libvorbisfile.so:${PORTSDIR}/audio/libvorbis \ libboost_filesystem.so:${PORTSDIR}/devel/boost-libs \ libpng15.so:${PORTSDIR}/graphics/png -USES= openal:al pkgconfig scons +USES= openal:al pkgconfig python:2 scons USE_GL= gl -USE_PYTHON= 2 USE_SDL= sdl ttf image USE_XORG= xcursor diff --git a/games/py-mnemosyne/Makefile b/games/py-mnemosyne/Makefile index 6a7f2656fad2..d14646180443 100644 --- a/games/py-mnemosyne/Makefile +++ b/games/py-mnemosyne/Makefile @@ -18,9 +18,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}qt4>=4.5:${PORTSDIR}/devel/py-qt4 \ ${PYTHON_PKGNAMEPREFIX}cherrypy>=3.2:${PORTSDIR}/www/py-cherrypy \ ${PYTHON_PKGNAMEPREFIX}webob>=1.2.2:${PORTSDIR}/www/py-webob -USES= desktop-file-utils -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= desktop-file-utils python +USE_PYTHON= distutils autoplist .include <bsd.port.mk> diff --git a/games/py-pychess/Makefile b/games/py-pychess/Makefile index cfcde97042a2..47c016e08fdd 100644 --- a/games/py-pychess/Makefile +++ b/games/py-pychess/Makefile @@ -15,11 +15,9 @@ LICENSE= GPLv2 # (or later) RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>=3-2.5.1_1:${PORTSDIR}/databases/py-sqlite3 -USES= desktop-file-utils gettext +USES= desktop-file-utils gettext python USE_GNOME= pygnomedesktop -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USE_PYTHON= distutils autoplist INSTALLS_ICONS= yes OPTIONS_DEFINE= PYGSTREAMER diff --git a/games/py-sgflib/Makefile b/games/py-sgflib/Makefile index af315c1a0afd..91498b9dfb4e 100644 --- a/games/py-sgflib/Makefile +++ b/games/py-sgflib/Makefile @@ -12,7 +12,7 @@ EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org COMMENT= Smart Game Format parser library for Python -USE_PYTHON= yes +USES= python NO_BUILD= yes WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION} diff --git a/games/py-sgfsummary/Makefile b/games/py-sgfsummary/Makefile index 9a7dda6b4ca9..bb43e575472f 100644 --- a/games/py-sgfsummary/Makefile +++ b/games/py-sgfsummary/Makefile @@ -15,7 +15,7 @@ COMMENT= SGF Summarizer RUN_DEPENDS= ${PYTHON_SITELIBDIR}/sgflib.py:${PORTSDIR}/games/py-sgflib PLIST_FILES= bin/sgfsummary.py -USE_PYTHON= yes +USES= python NO_BUILD= yes WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION} diff --git a/games/pyching/Makefile b/games/pyching/Makefile index f586ae5fae77..da40332fc931 100644 --- a/games/pyching/Makefile +++ b/games/pyching/Makefile @@ -16,7 +16,7 @@ LICENSE_COMB= dual RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>0:${PORTSDIR}/x11-toolkits/py-tkinter NO_WRKSUBDIR= yes -USE_PYTHON= yes +USES= python OPTIONS_DEFINE= DOCS diff --git a/games/pydance/Makefile b/games/pydance/Makefile index 7e51b1371d53..75f5c697af88 100644 --- a/games/pydance/Makefile +++ b/games/pydance/Makefile @@ -19,9 +19,8 @@ COMMENT= Dancing simulation game similar to the kind in arcades BUILD_DEPENDS= ${PYGAME} RUN_DEPENDS= ${PYGAME} -USE_PYTHON= yes -USE_PYDISTUTILS=yes -PYDISTUTILS_NOEGGINFO= yes +USES= python +USE_PYTHON= distutils noegginfo SUB_FILES= pkg-message SONGS= forkbomb.ogg forkbomb.dance forkbomb-bg.jpg forkbomb-banner.png \ diff --git a/games/pysycache/Makefile b/games/pysycache/Makefile index 04d831446141..c8cacb9a3959 100644 --- a/games/pysycache/Makefile +++ b/games/pysycache/Makefile @@ -13,8 +13,7 @@ COMMENT= Educational software made in python RUN_DEPENDS= ${PYTHON_SITELIBDIR}/pygame/__init__.py:${PORTSDIR}/devel/py-game -USES= zip -USE_PYTHON= yes +USES= python zip NO_BUILD= yes WRKSRC= ${WRKDIR}/${PORTNAME} SUB_FILES= pkg-message diff --git a/games/pytowerdefense/Makefile b/games/pytowerdefense/Makefile index 2fe50603d445..07e42fd689df 100644 --- a/games/pytowerdefense/Makefile +++ b/games/pytowerdefense/Makefile @@ -16,8 +16,7 @@ LICENSE= GPLv3 RUN_DEPENDS= ${PYGAME} -USES= zip -USE_PYTHON= 2 +USES= python:2 zip INSTALLS_ICONS= yes PORTDOCS= README modding.txt diff --git a/games/rtb/Makefile b/games/rtb/Makefile index c22f9ef47404..fab51df0e163 100644 --- a/games/rtb/Makefile +++ b/games/rtb/Makefile @@ -17,9 +17,8 @@ BUILD_DEPENDS= gsed:${PORTSDIR}/textproc/gsed OPTIONS_DEFINE= DOCS -USES= gettext gmake perl5 pkgconfig tar:bzip2 +USES= gettext gmake perl5 pkgconfig python tar:bzip2 USE_GNOME= gtk20 -USE_PYTHON= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-rtb-dir=${PREFIX}/lib/${PORTNAME} diff --git a/games/scid/Makefile b/games/scid/Makefile index 7ef2f33be615..634852e1f5bd 100644 --- a/games/scid/Makefile +++ b/games/scid/Makefile @@ -10,8 +10,7 @@ MAINTAINER= bsd@volki.at COMMENT= Free chess database application HAS_CONFIGURE= yes -USES= gmake tk:84,85,86 tar:bzip2 -USE_PYTHON= yes +USES= gmake tk:84,85,86 python tar:bzip2 TCL_LIBRARY= -L${LOCALBASE}/lib -ltcl${TCL_SHLIB_VER} diff --git a/games/ski/Makefile b/games/ski/Makefile index a8e6084c5aac..c1a25af52999 100644 --- a/games/ski/Makefile +++ b/games/ski/Makefile @@ -11,7 +11,7 @@ COMMENT= Skiing simulation with curses interface in python LICENSE= BSD3CLAUSE -USE_PYTHON_RUN= yes +USES= python:run NO_BUILD= yes PLIST_FILES= bin/${PORTNAME} \ diff --git a/games/solarwolf/Makefile b/games/solarwolf/Makefile index 96bd446a76e2..a33a1816c7bd 100644 --- a/games/solarwolf/Makefile +++ b/games/solarwolf/Makefile @@ -14,7 +14,7 @@ LICENSE= LGPL21 RUN_DEPENDS= ${PYTHON_SITELIBDIR}/pygame/__init__.py:${PORTSDIR}/devel/py-game -USE_PYTHON= 2 +USES= python:2 DESKTOP_ENTRIES= "SolarWolf" "${COMMENT}" "solarwolf" \ "solarwolf" "Game;ArcadeGame;" false diff --git a/games/super_mario_bros_python/Makefile b/games/super_mario_bros_python/Makefile index 7ad85713d240..d201588a4fff 100644 --- a/games/super_mario_bros_python/Makefile +++ b/games/super_mario_bros_python/Makefile @@ -21,11 +21,10 @@ RUN_DEPENDS= ${PYGAME} WRKSRC= ${WRKDIR}/Super-Mario-Bros-Python-v${DISTVERSION}release -USES= shebangfix zip +USES= shebangfix python:2 zip SHEBANG_FILES= gamelib/*.py python_OLD_CMD?= /usr/bin/env python python_CMD?= ${PYTHON_CMD} -USE_PYTHON= 2 PORTDOCS= changelog.txt readme.txt OPTIONS_DEFINE= DOCS diff --git a/games/thudboard/Makefile b/games/thudboard/Makefile index 77ab86f76e0b..00403401f036 100644 --- a/games/thudboard/Makefile +++ b/games/thudboard/Makefile @@ -13,7 +13,7 @@ COMMENT= The Discworld Boardgame Board RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>0:${PORTSDIR}/x11-toolkits/py-tkinter NO_WRKSUBDIR= yes -USE_PYTHON= yes +USES= python SUB_FILES= thudboard diff --git a/games/tuxfighter/Makefile b/games/tuxfighter/Makefile index 9793ff517732..6a3f9c1df5b3 100644 --- a/games/tuxfighter/Makefile +++ b/games/tuxfighter/Makefile @@ -20,7 +20,7 @@ RUN_DEPENDS= ${PYGAME} WRKSRC= ${WRKDIR} -USE_PYTHON= 2 +USES= python:2 PORTDOCS= readme_TuxFighter54.txt OPTIONS_DEFINE= DOCS diff --git a/games/vegastrike/Makefile b/games/vegastrike/Makefile index e276949d6a2b..d272b6a05050 100644 --- a/games/vegastrike/Makefile +++ b/games/vegastrike/Makefile @@ -19,9 +19,8 @@ LIB_DEPENDS= libboost_python.so:${PORTSDIR}/devel/boost-python-libs \ libvorbis.so:${PORTSDIR}/audio/libvorbis \ libogg.so:${PORTSDIR}/audio/libogg -USES= dos2unix gmake openal:al pkgconfig tar:bzip2 +USES= dos2unix gmake openal:al pkgconfig python tar:bzip2 GNU_CONFIGURE= yes -USE_PYTHON= yes USE_SDL= sdl USE_GL= glut USE_XORG= sm ice xi x11 xext xrender xinerama xi xrandr xcursor \ diff --git a/games/wesnoth/Makefile b/games/wesnoth/Makefile index 4a627eaf95b6..310efacd395a 100644 --- a/games/wesnoth/Makefile +++ b/games/wesnoth/Makefile @@ -118,7 +118,7 @@ CMAKE_ARGS+= -DENABLE_POOL_ALLOC=off .if ${PORT_OPTIONS:MPYTHON} BROKEN= cmake build doesn't support installing python tools -USE_PYTHON= yes +USES+= python CONFIGURE_ENV+= PYTHON_PREFIX=${PREFIX} \ PYTHON_VERSION=${PYTHON_VERSION:S/python//} CONFIGURE_ARGS+=--enable-python-install diff --git a/games/xwordpy/Makefile b/games/xwordpy/Makefile index 90d53da575ba..53f90c322d02 100644 --- a/games/xwordpy/Makefile +++ b/games/xwordpy/Makefile @@ -12,7 +12,7 @@ MAINTAINER= bf@FreeBSD.org COMMENT= Application for solving crossword puzzles in the Across Lite format USE_GNOME= pygtk2 -USE_PYTHON= yes +USES= python NO_BUILD= yes PLIST_FILES= bin/xwordpy \ |