1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/games/briquolo/Makefile
Ganael LAPLANCHE 379e3fbd88 - Fix build on CURRENT
- Enable staging
- Re-order LIB_DEPENDS and switch to new format
- Update USES
2013-10-30 07:53:37 +00:00

39 lines
846 B
Makefile

# Created by: Kirill Ponomarew <krion@FreeBSD.org>
# $FreeBSD$
PORTNAME= briquolo
PORTVERSION= 0.5.7
PORTREVISION= 9
CATEGORIES= games
MASTER_SITES= http://briquolo.free.fr/download/
MAINTAINER= martymac@FreeBSD.org
COMMENT= Breakout clone with an OpenGL 3D representation
LICENSE= GPLv2
LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png
USE_BZIP2= yes
USES= iconv
USE_GL= gl
USE_SDL= mixer sdl ttf
USES= gmake desktop-file-utils
USE_XORG= x11
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
PLIST_SUB= VERSION="${PORTVERSION}"
# Mandatory: wants to link against libintl anyway
USES+= gettext
PLIST_SUB+= NLS=""
post-patch:
${REINPLACE_CMD} -e 's|png_infopp_NULL|NULL|g' \
-e 's|png_set_gray_1_2_4_to_8|png_set_expand_gray_1_2_4_to_8|' \
${WRKSRC}/src/MOGL/MOGL_Image.cpp
.include <bsd.port.mk>