diff --git a/games/phlipple/Makefile b/games/phlipple/Makefile index de158fa1076a..0c675572b806 100644 --- a/games/phlipple/Makefile +++ b/games/phlipple/Makefile @@ -1,35 +1,38 @@ # Created by: Dmitry Marakasov # $FreeBSD$ PORTNAME= phlipple PORTVERSION= 0.8.5 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= games MASTER_SITES= SF/${PORTNAME} MAINTAINER= amdmi3@FreeBSD.org COMMENT= Flipping squares will never be the same +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/COPYING + LIB_DEPENDS= libogg.so:audio/libogg \ libvorbis.so:audio/libvorbis -USES= desktop-file-utils gl pkgconfig sdl -USE_SDL= sdl mixer image +USES= desktop-file-utils gl pkgconfig sdl dos2unix xorg USE_GL= gl glew glu +USE_SDL= sdl mixer image GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib -lm PLIST_FILES= bin/${PORTNAME} \ share/applications/${PORTNAME}.desktop \ share/pixmaps/${PORTNAME}.png -PORTDOCS= * PORTDATA= * +PORTDOCS= * OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' ${WRKSRC}/src/*.c .include diff --git a/games/phlipple/files/patch-src_engine.h b/games/phlipple/files/patch-src_engine.h new file mode 100644 index 000000000000..8011a2a68dc6 --- /dev/null +++ b/games/phlipple/files/patch-src_engine.h @@ -0,0 +1,11 @@ +--- src/engine.h.orig 2012-05-19 10:26:56 UTC ++++ src/engine.h +@@ -44,7 +44,7 @@ + + #define VERTEX_DRAW_INNER_OFFSET 0.15f + +-char debugOutput[1024]; ++extern char debugOutput[1024]; + + #include "renderstate.h" +