aboutsummaryrefslogblamecommitdiff
path: root/games/toycars/Makefile
blob: 10c6f594a8497bdd32447cb92dcc02f7d12d8abb (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                 
           

                       
                      
                 
                     
                  
 
                                  

                                            
                                                        
 
                     

                         
                   
 

                                      
 




                                          
 
                    
 


                                     
             

                                                              
 
                      
# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
# $FreeBSD$

PORTNAME=	toycars
PORTVERSION=	0.3.10
PORTREVISION=	6
CATEGORIES=	games
MASTER_SITES=	SF

MAINTAINER=	amdmi3@FreeBSD.org
COMMENT=	Physics-based 2D racing game

LIB_DEPENDS=	libfltk.so:${PORTSDIR}/x11-toolkits/fltk

USES=		gmake
USE_SDL=	image sdl
USE_GL=		gl glu
GNU_CONFIGURE=	yes

CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib

PLIST_FILES=	bin/toycars \
		bin/toycars_track_editor \
		bin/toycars_vehicle_editor
PORTDOCS=	*
PORTDATA=	*

OPTIONS_DEFINE=	DOCS

post-extract:
	@${RM} ${WRKSRC}/data/.*Store

post-install:
	${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>