aboutsummaryrefslogblamecommitdiff
path: root/games/qonk/Makefile
blob: 68c008b16cf083e27649b9f0c4e17c65832d8601 (plain) (tree)
1
2
3
4
5
6
7
8
9







                                                                               
                     
                 
                     
                  
 
                                     
                                                           
 
                   
                   
                                 
 

                                                   

           



                                                                     
 
                      
# New ports collection makefile for:	qonk
# Date created:				10 Jul 2005
# Whom:					Alejandro Pulver <alejandro@varnet.biz>
#
# $FreeBSD$
#

PORTNAME=	qonk
PORTVERSION=	0.3.1
PORTREVISION=	2
CATEGORIES=	games
MASTER_SITES=	SF

MAINTAINER=	alepulver@FreeBSD.org
COMMENT=	Small space build and conquer strategy game

GNU_CONFIGURE=	yes
USE_GMAKE=	yes
USE_SDL=	sdl gfx ttf image

CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib"

post-patch:
	@${REINPLACE_CMD} -e 's|-lSDL |`${SDL_CONFIG} --libs` |' \
		${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
	@${REINPLACE_CMD} -e 's|settings.h|../&|; s|canvas.h|../&|' \
		${WRKSRC}/src/ui/menusystem.cpp

.include <bsd.port.mk>