- Update to 0.7.2
PR: 160830 Submitted by: David Demelier <demelier.david@gmail.com>
This commit is contained in:
parent
c773066bb2
commit
040e580ada
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=282470
8 changed files with 44 additions and 38 deletions
|
@ -6,21 +6,25 @@
|
|||
#
|
||||
|
||||
PORTNAME= love
|
||||
DISTVERSION= 0.5-0
|
||||
PORTREVISION= 7
|
||||
PORTVERSION= 0.7.2
|
||||
CATEGORIES= devel games
|
||||
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
||||
MASTER_SITES= http://cdn.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
|
||||
|
||||
LIB_DEPENDS= IL.2:${PORTSDIR}/graphics/devil \
|
||||
modplug.1:${PORTSDIR}/audio/libmodplug \
|
||||
mpg123.0:${PORTSDIR}/audio/mpg123 \
|
||||
vorbisfile.6:${PORTSDIR}/audio/libvorbis \
|
||||
physfs.1:${PORTSDIR}/devel/physfs \
|
||||
freetype.9:${PORTSDIR}/print/freetype2
|
||||
BUILD_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost-libs
|
||||
|
||||
USE_BZIP2= yes
|
||||
USE_GMAKE= yes
|
||||
USE_OPENAL= yes
|
||||
USE_SDL= sdl mixer
|
||||
USE_GL= gl glu
|
||||
USE_LUA= 5.1+
|
||||
|
@ -29,14 +33,13 @@ 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-HEAD
|
||||
|
||||
PLIST_FILES= bin/love
|
||||
|
||||
PORTDOCS= *
|
||||
|
||||
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' \
|
||||
${WRKSRC}/configure
|
||||
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
SHA256 (love-0.5-0.tar.bz2) = 0f325fb92f032d089b6b77e1d1410e227631cac9b7c902869ab88441ba2c826b
|
||||
SIZE (love-0.5-0.tar.bz2) = 739252
|
||||
SHA256 (love-0.7.2-linux-src.tar.gz) = a57adcb0cbdc390a9bd8e2fe477bc175799b9ffd3486e01f859a36bf27f7f268
|
||||
SIZE (love-0.7.2-linux-src.tar.gz) = 900209
|
||||
|
|
11
devel/love/files/patch-src-modules-graphics-opengl-GLee.h
Normal file
11
devel/love/files/patch-src-modules-graphics-opengl-GLee.h
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- src/modules/graphics/opengl/GLee.h.orig 2011-05-04 20:00:10.000000000 +0400
|
||||
+++ src/modules/graphics/opengl/GLee.h 2011-09-20 00:16:46.000000000 +0400
|
||||
@@ -799,8 +799,6 @@
|
||||
|
||||
/* GLX */
|
||||
|
||||
- typedef void (*__GLXextFuncPtr)(void);
|
||||
-
|
||||
#ifndef GLX_ARB_get_proc_address
|
||||
#define GLX_ARB_get_proc_address 1
|
||||
extern __GLXextFuncPtr glXGetProcAddressARB (const GLubyte *);
|
|
@ -1,11 +0,0 @@
|
|||
--- src/opengl/GLee.h.orig 2008-09-20 18:40:14.000000000 +0400
|
||||
+++ src/opengl/GLee.h 2009-03-10 17:33:52.000000000 +0300
|
||||
@@ -747,8 +747,6 @@
|
||||
|
||||
/* GLX */
|
||||
|
||||
- typedef void (*__GLXextFuncPtr)(void);
|
||||
-
|
||||
#ifndef GLX_ARB_get_proc_address
|
||||
#define GLX_ARB_get_proc_address 1
|
||||
extern __GLXextFuncPtr glXGetProcAddressARB (const GLubyte *);
|
|
@ -6,21 +6,25 @@
|
|||
#
|
||||
|
||||
PORTNAME= love
|
||||
DISTVERSION= 0.5-0
|
||||
PORTREVISION= 7
|
||||
PORTVERSION= 0.7.2
|
||||
CATEGORIES= devel games
|
||||
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
||||
MASTER_SITES= http://cdn.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
|
||||
|
||||
LIB_DEPENDS= IL.2:${PORTSDIR}/graphics/devil \
|
||||
modplug.1:${PORTSDIR}/audio/libmodplug \
|
||||
mpg123.0:${PORTSDIR}/audio/mpg123 \
|
||||
vorbisfile.6:${PORTSDIR}/audio/libvorbis \
|
||||
physfs.1:${PORTSDIR}/devel/physfs \
|
||||
freetype.9:${PORTSDIR}/print/freetype2
|
||||
BUILD_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost-libs
|
||||
|
||||
USE_BZIP2= yes
|
||||
USE_GMAKE= yes
|
||||
USE_OPENAL= yes
|
||||
USE_SDL= sdl mixer
|
||||
USE_GL= gl glu
|
||||
USE_LUA= 5.1+
|
||||
|
@ -29,14 +33,13 @@ 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-HEAD
|
||||
|
||||
PLIST_FILES= bin/love
|
||||
|
||||
PORTDOCS= *
|
||||
|
||||
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' \
|
||||
${WRKSRC}/configure
|
||||
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
SHA256 (love-0.5-0.tar.bz2) = 0f325fb92f032d089b6b77e1d1410e227631cac9b7c902869ab88441ba2c826b
|
||||
SIZE (love-0.5-0.tar.bz2) = 739252
|
||||
SHA256 (love-0.7.2-linux-src.tar.gz) = a57adcb0cbdc390a9bd8e2fe477bc175799b9ffd3486e01f859a36bf27f7f268
|
||||
SIZE (love-0.7.2-linux-src.tar.gz) = 900209
|
||||
|
|
11
devel/love07/files/patch-src-modules-graphics-opengl-GLee.h
Normal file
11
devel/love07/files/patch-src-modules-graphics-opengl-GLee.h
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- src/modules/graphics/opengl/GLee.h.orig 2011-05-04 20:00:10.000000000 +0400
|
||||
+++ src/modules/graphics/opengl/GLee.h 2011-09-20 00:16:46.000000000 +0400
|
||||
@@ -799,8 +799,6 @@
|
||||
|
||||
/* GLX */
|
||||
|
||||
- typedef void (*__GLXextFuncPtr)(void);
|
||||
-
|
||||
#ifndef GLX_ARB_get_proc_address
|
||||
#define GLX_ARB_get_proc_address 1
|
||||
extern __GLXextFuncPtr glXGetProcAddressARB (const GLubyte *);
|
|
@ -1,11 +0,0 @@
|
|||
--- src/opengl/GLee.h.orig 2008-09-20 18:40:14.000000000 +0400
|
||||
+++ src/opengl/GLee.h 2009-03-10 17:33:52.000000000 +0300
|
||||
@@ -747,8 +747,6 @@
|
||||
|
||||
/* GLX */
|
||||
|
||||
- typedef void (*__GLXextFuncPtr)(void);
|
||||
-
|
||||
#ifndef GLX_ARB_get_proc_address
|
||||
#define GLX_ARB_get_proc_address 1
|
||||
extern __GLXextFuncPtr glXGetProcAddressARB (const GLubyte *);
|
Loading…
Reference in a new issue