- Fix the installation and remove broken state. It doesn't touch the filesystem

anymore.

Reported by:	kris
Approved by:	portmgr (erwin)
This commit is contained in:
Jose Alonso Cardenas Marquez 2006-10-23 20:29:56 +00:00
parent 372011fdad
commit d362dfbf93
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=175508

View File

@ -7,7 +7,7 @@
PORTNAME= vdrift
PORTVERSION= 20061006
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@ -22,8 +22,6 @@ LIB_DEPENDS= openal.0:${PORTSDIR}/audio/openal \
alut.1:${PORTSDIR}/audio/freealut
RUN_DEPENDS= ${LOCALBASE}/share/${PORTNAME}/settings/VDrift.config:${PORTSDIR}/games/vdrift-data
BROKEN= Installs file into /usr/bin and does so prior to make install
USE_BZIP2= yes
USE_GL= yes
USE_SDL= sdl image net
@ -66,6 +64,7 @@ BROKEN= Does not compile on sparc64
post-patch:
@${REINPLACE_CMD} -e 's|-O2||g' ${WRKSRC}/SConstruct
@${REINPLACE_CMD} -e "s|'openal'|'openal','alut'|g" ${WRKSRC}/SConstruct
@${REINPLACE_CMD} -e 's|^os.system.*||g' ${WRKSRC}/src/SConscript
do-build:
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} scons ${SCONS_ARGS}