aboutsummaryrefslogblamecommitdiff
path: root/games/gl-117/Makefile
blob: 3b7f113b2794703eebde9a34e3d626d156c4ebcd (plain) (tree)
1
2
3
4
5
6
7
8
9
                      
                     
                            
                  
                     
                                                          
 
                                 
                                                    
                                                          
 
                            
                    
                   
                                              
                                      
                                            
 






                                                   
                    
 

                              
             
                                                                               
                         

                                                                      

      
                      
PORTNAME=	gl-117
PORTVERSION=	1.3.2
DISTVERSIONSUFFIX=	-src
PORTREVISION=	12
CATEGORIES=	games
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/GL-117%20Source

MAINTAINER=	erik@bz.bzflag.bz
COMMENT=	OpenGL & SDL action flight simulator
WWW=		http://www.heptargon.de/gl-117/gl-117.html

USES=		gl tar:bzip2
USE_GL=		glut
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--with-opengl-dir=${LOCALBASE}
CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-lpthread -L${LOCALBASE}/lib

DESKTOP_ENTRIES=	"GL-117" \
			"Action flight simulator" \
			"" \
			"gl-117" \
			"Game;ArcadeGame;" \
			false

OPTIONS_DEFINE=	DOCS

.include <bsd.port.options.mk>

post-install:
	${INSTALL_MAN}	${WRKSRC}/doc/gl-117.6 ${STAGEDIR}${MANPREFIX}/man/man6
.if ${PORT_OPTIONS:MDOCS}
	${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/doc/gl-117.pdf ${STAGEDIR}${DOCSDIR}
.endif

.include <bsd.port.mk>