2013-07-12 17:01:45 +02:00
|
|
|
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
|
2011-10-31 22:09:49 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= phlipple
|
2012-09-07 02:13:23 +02:00
|
|
|
PORTVERSION= 0.8.5
|
2011-10-31 22:09:49 +01:00
|
|
|
CATEGORIES= games
|
|
|
|
MASTER_SITES= SF/${PORTNAME}
|
|
|
|
|
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
|
|
|
COMMENT= Flipping squares will never be the same
|
|
|
|
|
2012-07-19 22:15:37 +02:00
|
|
|
LIB_DEPENDS= ogg:${PORTSDIR}/audio/libogg \
|
2013-07-12 17:01:45 +02:00
|
|
|
vorbis:${PORTSDIR}/audio/libvorbis \
|
|
|
|
GLEW:${PORTSDIR}/graphics/glew
|
2011-10-31 22:09:49 +01:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_SDL= sdl mixer image
|
|
|
|
USE_GL= gl glu
|
|
|
|
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
|
|
|
|
PORTDOCS= *
|
|
|
|
|
2013-07-12 17:01:45 +02:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
2011-10-31 22:09:49 +01:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' ${WRKSRC}/src/*.c
|
2013-07-12 17:01:45 +02:00
|
|
|
.if ! ${PORT_OPTIONS:MDOCS}
|
2011-10-31 22:09:49 +01:00
|
|
|
@${REINPLACE_CMD} -e '/install-data-am:/ s|install-dist_docDATA||' \
|
|
|
|
${WRKSRC}/Makefile.in
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|