Index: head/games/maxr/Makefile =================================================================== --- head/games/maxr/Makefile (revision 455596) +++ head/games/maxr/Makefile (revision 455597) @@ -1,41 +1,36 @@ # Created by: Dmitry Marakasov # $FreeBSD$ PORTNAME= maxr -PORTVERSION= 0.2.8 -PORTREVISION= 4 +PORTVERSION= 0.2.9 CATEGORIES= games MASTER_SITES= http://www.maxr.org/downloads/ \ http://mirror.amdmi3.ru/distfiles/ MAINTAINER= amdmi3@FreeBSD.org COMMENT= Mechanized Assault and Exploration Reloaded LICENSE= GPLv2+ -LICENSE_FILE= ${WRKSRC}/COPYING +LICENSE_FILE= ${WRKSRC}/data/COPYING -USES= localbase -GNU_CONFIGURE= yes -USE_SDL= sdl mixer net +USES= cmake compiler:c++11-lib dos2unix +DOS2UNIX_FILES= src/config/selectplatformconfig.h +USE_SDL= sdl2 mixer2 net2 PLIST_FILES= bin/${PORTNAME} PORTDATA= * -PLIST_DIRS= %%DATADIR%%/voices \ - %%DATADIR%%/vehicles/sub/sub \ - %%DATADIR%%/save \ - %%DATADIR%%/mve DESKTOP_ENTRIES="M.A.X.R." \ "" \ "${DATADIR}/maxr.png" \ "maxr" \ "Game;StrategyGame;" \ false -post-patch: - @${REINPLACE_CMD} -e '/^LIBS=/ s|-lSDL_|`${SDL_CONFIG} --libs` &|' \ - -e '/^LIBS=/ s|-lSDL |`${SDL_CONFIG} --libs` |' \ - ${WRKSRC}/configure - @${REINPLACE_CMD} -e 's|cp -a|cp -RpP|' ${WRKSRC}/Makefile.in +.include -.include +.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100000 +BROKEN= does not build on 10.x +.endif + +.include Index: head/games/maxr/distinfo =================================================================== --- head/games/maxr/distinfo (revision 455596) +++ head/games/maxr/distinfo (revision 455597) @@ -1,2 +1,3 @@ -SHA256 (maxr-0.2.8.tar.gz) = d083fdc73d7ca12fa7bd21cee0ecada3612be62f4fed5c87f73e5cb654867e98 -SIZE (maxr-0.2.8.tar.gz) = 14738324 +TIMESTAMP = 1467908301 +SHA256 (maxr-0.2.9.tar.gz) = 5f0afebcef5ca6449de175e5abf0e3772c4f238a0103361a50efb6349b2185ff +SIZE (maxr-0.2.9.tar.gz) = 14847180 Index: head/games/maxr/files/patch-src_config_selectplatformconfig.h =================================================================== --- head/games/maxr/files/patch-src_config_selectplatformconfig.h (nonexistent) +++ head/games/maxr/files/patch-src_config_selectplatformconfig.h (revision 455597) @@ -0,0 +1,11 @@ +--- src/config/selectplatformconfig.h.orig 2016-06-03 22:11:14 UTC ++++ src/config/selectplatformconfig.h +@@ -19,7 +19,7 @@ + + #ifndef MAXR_PLATFORM_CONFIG + +-#if (defined(linux) || defined(__linux) || defined(__linux__) || defined(__GNU__) || defined(__GLIBC__)) && !defined(_CRAYC) ++#if (defined(linux) || defined(__linux) || defined(__linux__) || defined(__GNU__) || defined(__GLIBC__) || defined(__FreeBSD__)) && !defined(_CRAYC) + # define MAXR_PLATFORM_CONFIG "config/platform/linux.h" + #elif defined(__CYGWIN__) + # define MAXR_PLATFORM_CONFIG "config/platform/cygwin.h" Property changes on: head/games/maxr/files/patch-src_config_selectplatformconfig.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property