aboutsummaryrefslogblamecommitdiff
path: root/games/briquolo/Makefile
blob: 90a87193519cac044198650bd540f2d70c5abfbd (plain) (tree)
1
2
3
4
5
6
7
8
9
                        
                     
                  


                                                 
                                    
                                                               
                                           
 

                     
                                      
 
                                                                    
                  
                             
                   
 
                   

                                      

                                        
 
                                                 
                       
                      
 




                                                                                
                      
PORTNAME=	briquolo
PORTVERSION=	0.5.7
PORTREVISION=	16
CATEGORIES=	games
MASTER_SITES=	http://briquolo.free.fr/download/

MAINTAINER=	martymac@FreeBSD.org
COMMENT=	Breakout clone with an OpenGL 3D representation
WWW=		http://briquolo.free.fr/en/

LICENSE=	GPLv2

LIB_DEPENDS=	libpng.so:graphics/png

USES=		tar:bzip2 gl gmake iconv desktop-file-utils sdl xorg
USE_GL=		gl
USE_SDL=	mixer sdl ttf
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>