diff --git a/devel/love/Makefile b/devel/love/Makefile index f00d7bab1029..e0fdede67354 100644 --- a/devel/love/Makefile +++ b/devel/love/Makefile @@ -1,63 +1,64 @@ PORTNAME= love PORTVERSION= 11.3 PORTREVISION= 1 CATEGORIES= devel games 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 NOT_FOR_ARCHS= mips mips64 powerpc powerpc64 powerpcspe sparc64 NOT_FOR_ARCHS_REASON= Hashing not yet implemented for big endian LIB_DEPENDS= libmodplug.so:audio/libmodplug \ libmpg123.so:audio/mpg123 \ libvorbisfile.so:audio/libvorbis \ libfreetype.so:print/freetype2 \ libtheora.so:multimedia/libtheora \ libogg.so:audio/libogg USES= autoreconf compiler:c++11-lib desktop-file-utils gl gmake \ libtool localbase openal pkgconfig sdl shared-mime-info USE_SDL= sdl2 USE_GL= gl glu GNU_CONFIGURE= yes WRKSRC= ${WRKDIR}/love-${PORTVERSION} INSTALL_TARGET= install-strip +DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX} PORTDOCS= * OPTIONS_DEFINE= DOCS LUAJIT GME OPTIONS_DEFAULT_i386= LUAJIT OPTIONS_DEFAULT_amd64= LUAJIT LUAJIT_DESC= Use luajit LUAJIT_LIB_DEPENDS= libluajit-5.1.so:lang/luajit LUAJIT_CONFIGURE_ON= --with-lua=luajit # does not build with newer lua versions: # love.cpp:217:9: error: no matching function for call to 'lua_resume' LUAJIT_USES_OFF= lua:51 LUAJIT_CONFIGURE_OFF= --with-lua=lua \ --with-luaversion="-${LUA_VER}" LUAJIT_CONFIGURE_ENV_OFF=LUA_EXECUTABLE="${LUA_CMD}" GME_DESC= Enable GME support, for more chiptuney goodness GME_CONFIGURE_ENABLE= gme GME_LIB_DEPENDS= libgme.so:audio/libgme post-patch: @${REINPLACE_CMD} -e 's|/usr/include|${LOCALBASE}/include|g' \ ${WRKSRC}/platform/unix/deps.m4 post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in changes.txt readme.md ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/devel/love07/Makefile b/devel/love07/Makefile index 42e5be3f821e..7ae653a98c31 100644 --- a/devel/love07/Makefile +++ b/devel/love07/Makefile @@ -1,56 +1,56 @@ PORTNAME= love PORTVERSION= 0.7.2 PORTREVISION= 24 CATEGORIES= devel games MASTER_SITES= http://cdn.bitbucket.org/rude/love/downloads/ \ http://mirror.amdmi3.ru/distfiles/ PKGNAMESUFFIX= 07 DISTNAME= ${PORTNAME}-${PORTVERSION}-linux-src MAINTAINER= amdmi3@FreeBSD.org COMMENT= Open-source 2D game engine LIB_DEPENDS= libIL.so:graphics/devil \ libmodplug.so:audio/libmodplug \ libmpg123.so:audio/mpg123 \ libvorbisfile.so:audio/libvorbis \ libphysfs.so:devel/physfs \ libfreetype.so:print/freetype2 \ libtiff.so:graphics/tiff \ libmng.so:graphics/libmng BUILD_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:devel/boost-libs PORTSCOUT= limit:^0\.7\. USES= compiler:c++11-lang gmake gl openal dos2unix lua:51 sdl USE_SDL= sdl mixer 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} LDFLAGS_i386= -Wl,-znotext CONFIGURE_ARGS= --bindir=${PREFIX}/bin --libdir=${PREFIX}/lib \ --program-suffix=07 WRKSRC= ${WRKDIR}/love-HEAD DOS2UNIX_FILES= src/modules/graphics/opengl/GLee.h PLIST_FILES= bin/love07 -DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}07 +DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX} PORTDOCS= * OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e '/^prefix=/ d; /^bindir=/ d; /^libdir=/ d' \ -e "s/lua5.1/lua-${LUA_VER}/g" \ ${WRKSRC}/configure post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in changes.txt readme.txt ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/devel/love08/Makefile b/devel/love08/Makefile index 68b17c635cef..a4724ac81787 100644 --- a/devel/love08/Makefile +++ b/devel/love08/Makefile @@ -1,54 +1,55 @@ PORTNAME= love PORTVERSION= 0.8.0 -PORTREVISION= 18 +PORTREVISION= 19 CATEGORIES= devel games MASTER_SITES= http://cdn.bitbucket.org/rude/love/downloads/ \ http://mirror.amdmi3.ru/distfiles/ PKGNAMESUFFIX= 08 DISTNAME= ${PORTNAME}-${PORTVERSION}-linux-src MAINTAINER= amdmi3@FreeBSD.org COMMENT= Open-source 2D game engine LIB_DEPENDS= libIL.so:graphics/devil \ libmodplug.so:audio/libmodplug \ libmpg123.so:audio/mpg123 \ libvorbisfile.so:audio/libvorbis \ libphysfs.so:devel/physfs \ libfreetype.so:print/freetype2 BUILD_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:devel/boost-libs PORTSCOUT= limit:^0\.8\. USES= compiler:c++11-lang gl gmake openal dos2unix lua:51 sdl USE_SDL= sdl mixer 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} LDFLAGS_i386= -Wl,-znotext CONFIGURE_ARGS= --bindir=${PREFIX}/bin --libdir=${PREFIX}/lib \ --program-suffix=08 WRKSRC= ${WRKDIR}/love-${PORTVERSION} DOS2UNIX_FILES= src/modules/graphics/opengl/GLee.h PLIST_FILES= bin/love08 +DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX} PORTDOCS= * OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e '/^prefix=/ d; /^bindir=/ d; /^libdir=/ d; \ /test/ s|==|=|' \ -e "s/lua5.1/lua-${LUA_VER}/g" \ ${WRKSRC}/configure post-install-DOCS-on: - ${MKDIR} ${STAGEDIR}${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in changes.txt readme.md ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/devel/love10/Makefile b/devel/love10/Makefile index b490ea0839db..373463e70523 100644 --- a/devel/love10/Makefile +++ b/devel/love10/Makefile @@ -1,73 +1,74 @@ PORTNAME= love PORTVERSION= 0.10.2 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= devel games MASTER_SITES= https://bitbucket.org/rude/love/downloads/ \ http://mirror.amdmi3.ru/distfiles/ PKGNAMESUFFIX= 10 DISTNAME= ${PORTNAME}-${PORTVERSION}-linux-src MAINTAINER= amdmi3@FreeBSD.org COMMENT= Open-source 2D game engine (legacy version 0.10) LICENSE= ZLIB LICENSE_FILE= ${WRKSRC}/license.txt LIB_DEPENDS= libmodplug.so:audio/libmodplug \ libmpg123.so:audio/mpg123 \ libvorbisfile.so:audio/libvorbis \ libphysfs.so:devel/physfs \ libfreetype.so:print/freetype2 \ libtheora.so:multimedia/libtheora \ libogg.so:audio/libogg PORTSCOUT= limit:^0\.10\. USES= autoreconf compiler:c++11-lib desktop-file-utils gl gmake \ libtool localbase openal pkgconfig sdl shared-mime-info USE_SDL= sdl2 USE_GL= gl glu GNU_CONFIGURE= yes CONFIGURE_ARGS= --program-suffix=${PKGNAMESUFFIX} WRKSRC= ${WRKDIR}/love-${PORTVERSION} INSTALL_TARGET= install-strip +DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX} PORTDOCS= * OPTIONS_DEFINE= DOCS LUAJIT LUAJIT_DESC= Use luajit (broken) LUAJIT_BROKEN= love 0.10 segfaults when built with luajit, please disable LUAJIT option and retry LUAJIT_LIB_DEPENDS= libluajit-5.1.so:lang/luajit LUAJIT_CONFIGURE_ON= --with-lua=luajit LUAJIT_USES_OFF= lua LUAJIT_CONFIGURE_OFF= --with-lua=lua \ --with-luaversion="-${LUA_VER}" LUAJIT_CONFIGURE_ENV_OFF=LUA_EXECUTABLE="${LUA_CMD}" post-patch: @${REINPLACE_CMD} -e 's|\(liblove\)\(.la\)|\1${PKGNAMESUFFIX}\2|g' \ ${WRKSRC}/src/Makefile.am @${REINPLACE_CMD} -Ee \ '/(Exec|Icon|MimeType)/ s|love|&${PKGNAMESUFFIX}|; s|LÖVE|& 0.10|; /^Comment/ s|$$| (legacy version 0.10)|' \ ${WRKSRC}/platform/unix/love.desktop.in @${REINPLACE_CMD} -e 's|x-love-game|x-love${PKGNAMESUFFIX}-game|; s|LÖVE|& 0.10|' \ ${WRKSRC}/platform/unix/love.xml post-install: @${MV} ${STAGEDIR}${PREFIX}/share/applications/love.desktop \ ${STAGEDIR}${PREFIX}/share/applications/love${PKGNAMESUFFIX}.desktop @${MV} ${STAGEDIR}${PREFIX}/share/pixmaps/love.svg \ ${STAGEDIR}${PREFIX}/share/pixmaps/love${PKGNAMESUFFIX}.svg @${MV} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/mimetypes/application-x-love-game.svg \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/mimetypes/application-x-love${PKGNAMESUFFIX}-game.svg @${MV} ${STAGEDIR}${PREFIX}/share/mime/packages/love.xml \ ${STAGEDIR}${PREFIX}/share/mime/packages/love${PKGNAMESUFFIX}.xml post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in changes.txt readme.md ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/devel/love5/Makefile b/devel/love5/Makefile index 3cd696fce0ec..5778dec677a6 100644 --- a/devel/love5/Makefile +++ b/devel/love5/Makefile @@ -1,47 +1,47 @@ PORTNAME= love DISTVERSION= 0.5-0 PORTREVISION= 30 CATEGORIES= devel games MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${DISTVERSION} PKGNAMESUFFIX= 5 MAINTAINER= amdmi3@FreeBSD.org COMMENT= Open-source 2D game engine LIB_DEPENDS= libIL.so:graphics/devil \ libphysfs.so:devel/physfs \ libfreetype.so:print/freetype2 BUILD_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:devel/boost-libs USES= tar:bzip2 gmake gl dos2unix lua:51 sdl USE_SDL= sdl mixer 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 \ --program-suffix=5 DOS2UNIX_FILES= src/system/love_system.cpp PLIST_FILES= bin/love5 -DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}5 +DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX} PORTDOCS= * OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's|ILvoid|void|' ${WRKSRC}/src/opengl/Image.cpp \ ${WRKSRC}/src/opengl/love_opengl.cpp @${REINPLACE_CMD} -e '/^prefix=/ d; /^bindir=/ d; /^libdir=/ d' \ -e "s/lua5.1/lua-${LUA_VER}/g" \ ${WRKSRC}/configure post-install-DOCS-on: - ${MKDIR} ${STAGEDIR}${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in changes.txt readme.txt ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor .include