fix typo and use default python version (2.6)
PR: ports/147008 Submitted by: Anonymous <swell.k at gmail.com>
This commit is contained in:
parent
bf492587b1
commit
0e4b966756
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=255761
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= adonthell
|
||||
PORTVERSION= 0.3.5
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= SAVANNAH
|
||||
DISTFILES= ${PORTNAME}-src-${PORTVERSION}${EXTRACT_SUFX} \
|
||||
@ -20,7 +20,7 @@ LIB_DEPENDS= vorbis.4:${PORTSDIR}/audio/libvorbis \
|
||||
freetype.9:${PORTSDIR}/print/freetype2
|
||||
|
||||
USE_SDL= mixer ttf sdl
|
||||
USE_PYTHON= -2.5
|
||||
USE_PYTHON= yes
|
||||
USE_GETTEXT= yes
|
||||
USE_GMAKE= yes
|
||||
GNU_CONFIGURE= yes
|
||||
@ -44,9 +44,11 @@ BROKEN= Does not build on sparc64
|
||||
post-patch:
|
||||
@cd ${WRKSRC} && ${REINPLACE_CMD} -e \
|
||||
's|-g -Wall|$$CFLAGS -Wall|g ; \
|
||||
s|-lpthread|${PTHREAD_LIBS}|g' configure
|
||||
s|-lpthread|${PTHREAD_LIBS}|g' configure
|
||||
@cd ${WRKDIR}/wastesedge-${WEDGE_VERSION} && ${REINPLACE_CMD} -e \
|
||||
's/test $$adonthell_major_ver -eq 0 .*/true ;/' configure
|
||||
@cd ${WRKDIR}/wastesedge-${WEDGE_VERSION} && ${REINPLACE_CMD} -e \
|
||||
's/^[[:space:]]*_//' scripts/modules/player_text.py
|
||||
|
||||
post-install:
|
||||
cd ${WRKDIR}/wastesedge-${WEDGE_VERSION} \
|
||||
|
@ -379,6 +379,7 @@ bin/adonthell-wastesedge
|
||||
%%DATADIR%%/games/wastesedge/scripts/modules/events.pyc
|
||||
%%DATADIR%%/games/wastesedge/scripts/modules/intro.pyc
|
||||
%%DATADIR%%/games/wastesedge/scripts/modules/main_menu.pyc
|
||||
%%DATADIR%%/games/wastesedge/scripts/modules/player_text.pyc
|
||||
%%DATADIR%%/games/wastesedge/scripts/schedules/__init__.pyc
|
||||
%%DATADIR%%/games/wastesedge/scripts/schedules/audio/__init__.pyc
|
||||
%%DATADIR%%/games/wastesedge/scripts/schedules/audio/in_game.pyc
|
||||
|
Loading…
Reference in New Issue
Block a user