1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

Update to 0.1.14

PR:		97509
Submitted by:	Dmitry Marakasov <amdmi3@mail.ru> (maintainer)
This commit is contained in:
Emanuel Haupt 2006-05-22 14:31:42 +00:00
parent 744e2916a2
commit bde4675bef
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=163098
5 changed files with 46 additions and 5 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= xmoto
PORTVERSION= 0.1.12
PORTVERSION= 0.1.14
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@ -36,11 +36,22 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
PORTDOCS= README ChangeLog
OPTIONS= CURL "Online high-scores and new levels download support" on
.include <bsd.port.pre.mk>
.if defined(WITH_CURL)
LIB_DEPENDS+= curl.3:${PORTSDIR}/ftp/curl
.endif
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|endian.h|sys/endian.h|' ${WRKSRC}/src/VCommon.h
@${REINPLACE_CMD} -e '/LIBS/ s|\(-lSDL_mixer\)|\1 `${SDL_CONFIG} --libs`|' ${WRKSRC}/configure
.if !defined(WITH_CURL)
@${REINPLACE_CMD} -e 's|test $$ac_cv_lib_curl_curl_easy_init = yes|false|' ${WRKSRC}/configure
.endif
.if !defined(NOPORTDOCS)
post-install:
@ -50,4 +61,4 @@ post-install:
.endfor
.endif
.include <bsd.port.mk>
.include <bsd.port.post.mk>

View File

@ -1,3 +1,3 @@
MD5 (xmoto-0.1.12-src.tar.gz) = 11dfdeb406d4cc1e50e6057fd2cb625a
SHA256 (xmoto-0.1.12-src.tar.gz) = 824af12df3389ccb4dfb5522f546ba9fb1c1c0ed7e71d65f34b692da93780dd7
SIZE (xmoto-0.1.12-src.tar.gz) = 2880034
MD5 (xmoto-0.1.14-src.tar.gz) = f2826bd3cc19daba25a6bdf92b1d6461
SHA256 (xmoto-0.1.14-src.tar.gz) = cf796c32a8e22546798c00575201d552b59c7b4050275794fff2f5860db9008c
SIZE (xmoto-0.1.14-src.tar.gz) = 2920614

View File

@ -0,0 +1,10 @@
--- src/Replay.cpp.orig Sun May 21 17:46:59 2006
+++ src/Replay.cpp Sun May 21 17:47:11 2006
@@ -32,7 +32,6 @@
#include <time.h>
#include <ctime>
#include <iostream>
-#include <locale>
namespace vapp {

View File

@ -0,0 +1,10 @@
--- src/WWW.h.orig Sun May 21 17:47:25 2006
+++ src/WWW.h Sun May 21 17:47:49 2006
@@ -8,6 +8,7 @@
#include <string>
#include <vector>
+#include <stdio.h>
#if !defined(_MSC_VER)
#define USE_HASH_MAP

View File

@ -0,0 +1,10 @@
--- src/md5sum/md5file.h.orig Sun May 21 17:45:47 2006
+++ src/md5sum/md5file.h Sun May 21 17:46:02 2006
@@ -2,6 +2,7 @@
#define MD5FILE
#include <string>
+#include <stdio.h>
std::string md5file(std::string p_filename);