diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2011-06-25 04:59:07 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2011-06-25 04:59:07 +0000 |
commit | 9a7b06c97f1f04a10efdcdef900f6aee31e1a8a0 (patch) | |
tree | 0bc64f46e0102ee84c1114e35818619a2426c4fa /games/ultimatestunts/Makefile | |
parent | 0c3a2a8367917b77b2ba7acd8677b566fc4858f3 (diff) | |
download | ports-9a7b06c97f1f04a10efdcdef900f6aee31e1a8a0.tar.gz ports-9a7b06c97f1f04a10efdcdef900f6aee31e1a8a0.zip |
Notes
Diffstat (limited to 'games/ultimatestunts/Makefile')
-rw-r--r-- | games/ultimatestunts/Makefile | 41 |
1 files changed, 25 insertions, 16 deletions
diff --git a/games/ultimatestunts/Makefile b/games/ultimatestunts/Makefile index 657fd632619c..acb8d79f8f3b 100644 --- a/games/ultimatestunts/Makefile +++ b/games/ultimatestunts/Makefile @@ -6,41 +6,50 @@ # PORTNAME= ultimatestunts -PORTVERSION= 0.7.5.1 -PORTREVISION= 6 +PORTVERSION= 0.7.6.1 DISTVERSIONPREFIX= srcdata- DISTVERSION= ${PORTVERSION:S/.//g} CATEGORIES= games -MASTER_SITES= SF/${PORTNAME}/sourcecode/0.7.5%20release%201 +MASTER_SITES= SF/${PORTNAME}/sourcecode MAINTAINER= ports@FreeBSD.org COMMENT= Racing game with elaborate stunts -USE_GETTEXT= yes +LIB_DEPENDS= vorbisfile.6:${PORTSDIR}/audio/libvorbis + USE_OPENAL= al alut USE_GL= gl glu USE_SDL= sdl image +USE_GETTEXT= yes GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-openal --program-transform-name="" -CPPFLAGS+= `${SDL_CONFIG} --cflags` +CONFIGURE_ARGS= --with-openal +CONFIGURE_ENV= LDFLAGS="${LDFLAGS}" +MAKE_JOBS_UNSAFE= yes + +CPPFLAGS= `${SDL_CONFIG} --cflags` LDFLAGS= -L${LOCALBASE}/lib -CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" + PORT_VERBS= ${PORTNAME} ustunts -MAKE_JOBS_UNSAFE= yes post-extract: - @${FIND} ${WRKSRC} -name CVS|${SED} -e 's| |\\ |g'|${XARGS} ${RM} -rf + @${FIND} ${WRKSRC} -name CVS -print0 | ${XARGS} -0 ${RM} -rf post-patch: - @${REINPLACE_CMD} -e 's|-I/usr/local/include||;s|-L/usr/local/lib||;\ - /usdatadir=/s|=.*|="${DATADIR}"|;/SDL_CONFIG.*cflags/d' ${WRKSRC}/configure - @${REINPLACE_CMD} -e '/^sysconf_DATA/d;/^SUBDIRS/s| data | |' ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} -e \ + 's|-I/usr/local/include|| ; \ + s|-L/usr/local/lib|| ; \ + /usdatadir=/s|=.*|="${DATADIR}"| ; \ + /SDL_CONFIG.*cflags/d' ${WRKSRC}/configure + @${REINPLACE_CMD} -e \ + '/^sysconf_DATA/d ; \ + /^SUBDIRS/s| data | |' ${WRKSRC}/Makefile.in post-install: - @cd ${WRKSRC}/data/&&${COPYTREE_SHARE} "cars environment lang misc music textures\ - textures.dat tiles tracks" ${DATADIR}/ -.ifndef NOPORTDOCS - @cd ${WRKSRC}/doc/&&${COPYTREE_SHARE} . ${DOCSDIR}/ +.for dir in cars environment lang misc music textures textures.dat tiles tracks + @cd ${WRKSRC}/data && ${COPYTREE_SHARE} ${dir} ${DATADIR} +.endfor +.if !defined(NOPORTDOCS) + @cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${DOCSDIR} .endif .include <bsd.port.mk> |