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:
Max Brazhnikov 2010-06-05 11:01:34 +00:00
parent bf492587b1
commit 0e4b966756
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=255761
2 changed files with 6 additions and 3 deletions

View File

@ -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} \

View File

@ -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