Update databases/rocksdb to version 3.11.2
[dports.git] / games / phlipple / Makefile
1 # Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
2 # $FreeBSD$
3
4 PORTNAME=       phlipple
5 PORTVERSION=    0.8.5
6 PORTREVISION=   3
7 CATEGORIES=     games
8 MASTER_SITES=   SF/${PORTNAME}
9
10 MAINTAINER=     amdmi3@FreeBSD.org
11 COMMENT=        Flipping squares will never be the same
12
13 LIB_DEPENDS=    libogg.so:${PORTSDIR}/audio/libogg \
14                 libvorbis.so:${PORTSDIR}/audio/libvorbis \
15                 libGLEW.so:${PORTSDIR}/graphics/glew
16
17 USES=           desktop-file-utils pkgconfig
18 USE_SDL=        sdl mixer image
19 USE_GL=         gl glu
20 GNU_CONFIGURE=  yes
21
22 CPPFLAGS+=      -I${LOCALBASE}/include
23 LIBS+=          -L${LOCALBASE}/lib -lm
24
25 PLIST_FILES=    bin/${PORTNAME} \
26                 share/applications/${PORTNAME}.desktop \
27                 share/pixmaps/${PORTNAME}.png
28 PORTDOCS=       *
29 PORTDATA=       *
30
31 OPTIONS_DEFINE= DOCS
32
33 post-patch:
34         @${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' ${WRKSRC}/src/*.c
35
36 .include <bsd.port.mk>