Date: Tue, 10 Jun 2014 12:01:46 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r357298 - in head/devel/love: . files Message-ID: <201406101201.s5AC1kh5058457@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Tue Jun 10 12:01:46 2014 New Revision: 357298 URL: http://svnweb.freebsd.org/changeset/ports/357298 QAT: https://qat.redports.org/buildarchive/r357298/ Log: - Update to 0.9.1 Added: head/devel/love/files/patch-src__common__config.h (contents, props changed) head/devel/love/pkg-plist (contents, props changed) Deleted: head/devel/love/files/patch-src-modules-graphics-opengl-GLee.h head/devel/love/files/patch-src_modules_font_freetype_Font.h head/devel/love/files/patch-src_modules_font_freetype_TrueTypeRasterizer.h Modified: head/devel/love/Makefile head/devel/love/distinfo Modified: head/devel/love/Makefile ============================================================================== --- head/devel/love/Makefile Tue Jun 10 11:39:29 2014 (r357297) +++ head/devel/love/Makefile Tue Jun 10 12:01:46 2014 (r357298) @@ -2,55 +2,64 @@ # $FreeBSD$ PORTNAME= love -PORTVERSION= 0.8.0 -PORTREVISION= 5 +PORTVERSION= 0.9.1 CATEGORIES= devel games -MASTER_SITES= http://cdn.bitbucket.org/rude/love/downloads/ \ +MASTER_SITES= https://bitbucket.org/rude/love/downloads/ \ http://mirror.amdmi3.ru/distfiles/ DISTNAME= ${PORTNAME}-${PORTVERSION}-linux-src MAINTAINER= amdmi3@FreeBSD.org COMMENT= Open-source 2D game engine +LICENSE= ZLIB +LICENSE_FILE= ${WRKSRC}/license.txt + LIB_DEPENDS= libIL.so:${PORTSDIR}/graphics/devil \ libmodplug.so:${PORTSDIR}/audio/libmodplug \ libmpg123.so:${PORTSDIR}/audio/mpg123 \ libvorbisfile.so:${PORTSDIR}/audio/libvorbis \ libphysfs.so:${PORTSDIR}/devel/physfs \ libfreetype.so:${PORTSDIR}/print/freetype2 -BUILD_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost-libs -USES= gmake openal dos2unix lua:51 -USE_SDL= sdl mixer +USES= gmake openal libtool pkgconfig compiler:c++11-lib \ + desktop-file-utils shared-mime-info +USE_SDL= sdl2 USE_GL= gl glu GNU_CONFIGURE= yes -CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/freetype2 \ - -I${LUA_INCDIR} `${SDL_CONFIG} --cflags` -LDFLAGS+= -L${LOCALBASE}/lib -L${LUA_LIBDIR} -CONFIGURE_ARGS= --bindir=${PREFIX}/bin --libdir=${PREFIX}/lib WRKSRC= ${WRKDIR}/love-${PORTVERSION} -DOS2UNIX_FILES= src/modules/graphics/opengl/GLee.h +INSTALL_TARGET= install-strip -PLIST_FILES= bin/love +CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib PORTDOCS= * -OPTIONS_DEFINE= DOCS +OPTIONS_DEFINE= DOCS LUAJIT +OPTIONS_DEFAULT_i386= LUAJIT +OPTIONS_DEFAULT_amd64= LUAJIT + +LUAJIT_DESC= Use luajit .include <bsd.port.options.mk> +.if ${PORT_OPTIONS:MLUAJIT} +CONFIGURE_ARGS= --with-lua=luajit +LIB_DEPENDS+= libluajit-5.1.so:${PORTSDIR}/lang/luajit +.else +USES+= lua +CONFIGURE_ARGS= --with-lua=lua \ + --with-luaversion="${LUA_VER}" +CONFIGURE_ENV= LUA_EXECUTABLE="${LUA_CMD}" + post-patch: - @${REINPLACE_CMD} -e '/^prefix=/ d; /^bindir=/ d; /^libdir=/ d; \ - /test/ s|==|=|' \ - -e "s/lua5.1/lua-${LUA_VER}/g" \ + @${REINPLACE_CMD} -e 's|$${with_lua}$${with_luaversion}|$${with_lua}-$${with_luaversion}|g' \ ${WRKSRC}/configure +.endif -.if ${PORT_OPTIONS:MDOCS} post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in changes.txt readme.md ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor -.endif .include <bsd.port.mk> Modified: head/devel/love/distinfo ============================================================================== --- head/devel/love/distinfo Tue Jun 10 11:39:29 2014 (r357297) +++ head/devel/love/distinfo Tue Jun 10 12:01:46 2014 (r357298) @@ -1,2 +1,2 @@ -SHA256 (love-0.8.0-linux-src.tar.gz) = 9167ca1cc7893ff1fdcf3b6fc7e2a88be10d899075a513942420fe8f94668ecc -SIZE (love-0.8.0-linux-src.tar.gz) = 1027356 +SHA256 (love-0.9.1-linux-src.tar.gz) = 04dd0946bd82ec839c454c161bf0e5da870f393af62d09dc229990f5176833de +SIZE (love-0.9.1-linux-src.tar.gz) = 1405469 Added: head/devel/love/files/patch-src__common__config.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/love/files/patch-src__common__config.h Tue Jun 10 12:01:46 2014 (r357298) @@ -0,0 +1,11 @@ +--- src/common/config.h.orig 2014-04-01 22:24:54.000000000 +0400 ++++ src/common/config.h 2014-06-10 14:49:32.000000000 +0400 +@@ -25,7 +25,7 @@ + #if defined(WIN32) || defined(_WIN32) + # define LOVE_WINDOWS 1 + #endif +-#if defined(linux) || defined(__linux) || defined(__linux__) ++#if defined(linux) || defined(__linux) || defined(__linux__) || defined(__FreeBSD__) + # define LOVE_LINUX 1 + #endif + #if defined(__APPLE__) Added: head/devel/love/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/love/pkg-plist Tue Jun 10 12:01:46 2014 (r357298) @@ -0,0 +1,16 @@ +bin/love +lib/liblove.a +lib/liblove.so +lib/liblove.so.0 +lib/liblove.so.0.0.0 +man/man1/love.1.gz +share/applications/love.desktop +share/icons/hicolor/scalable/mimetypes/application-x-love-game.svg +share/mime/packages/love.xml +share/pixmaps/love.svg +@dirrmtry share/icons/hicolor/scalable/mimetypes +@dirrmtry share/icons/hicolor/scalable +@dirrmtry share/icons/hicolor +@dirrmtry share/icons +@dirrmtry share/mime/packages +@dirrmtry share/mime
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406101201.s5AC1kh5058457>