mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
- Update to 0.1.11
- Remove USE_REINPLACE - Use USE_DOS2UNIX PR: ports/92927 Submitted by: maintainer
This commit is contained in:
parent
99090d00ed
commit
a20733af44
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=155417
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= xmoto
|
||||
PORTVERSION= 0.1.10
|
||||
PORTVERSION= 0.1.11
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
@ -24,8 +24,8 @@ BUILD_DEPENDS= ${X11BASE}/lib/libode.a:${PORTSDIR}/devel/ode
|
||||
GNU_CONFIGURE= yes
|
||||
USE_GMAKE= yes
|
||||
USE_GL= yes
|
||||
USE_REINPLACE= yes
|
||||
USE_SDL= sdl mixer
|
||||
USE_DOS2UNIX= src/*.cpp src/*.h
|
||||
|
||||
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
||||
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" \
|
||||
@ -36,15 +36,12 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
||||
|
||||
PORTDOCS= README ChangeLog
|
||||
|
||||
post-extract:
|
||||
@${FIND} ${WRKSRC}/src -name "*.cpp" -o -name "*.h" | \
|
||||
${XARGS} ${REINPLACE_CMD} -e "s|$$(${PRINTF} '\r')||g"
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|SDL/|SDL11/|' ${WRKSRC}/src/VCommon.h
|
||||
@${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' ${WRKSRC}/src/image/tim_memory_crt.cpp
|
||||
@${REINPLACE_CMD} -e 's|-lSDL |`${SDL_CONFIG} --libs` |' ${WRKSRC}/configure
|
||||
@${REINPLACE_CMD} -e 's|endian.h|sys/endian.h|' ${WRKSRC}/src/VCommon.h
|
||||
@${REINPLACE_CMD} -e '/LIBS/ s|\(-lSDL_mixer\)|\1 `${SDL_CONFIG} --libs`|' ${WRKSRC}/configure
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
post-install:
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (xmoto-0.1.10-src.tar.gz) = bd91f049fc60e5036112090f8d89ecea
|
||||
SHA256 (xmoto-0.1.10-src.tar.gz) = 794870e45736402fd95090e436fe9eed863b8f5036b6b4290a1bd470fcc0a6a7
|
||||
SIZE (xmoto-0.1.10-src.tar.gz) = 2776333
|
||||
MD5 (xmoto-0.1.11-src.tar.gz) = bf61a7e7d48deee2d88fd345c758d779
|
||||
SHA256 (xmoto-0.1.11-src.tar.gz) = f06eda16317705c38a554b98bdd1eb1728d026c910ed84ea2880590aca881012
|
||||
SIZE (xmoto-0.1.11-src.tar.gz) = 2829959
|
||||
|
Loading…
Reference in New Issue
Block a user