aboutsummaryrefslogtreecommitdiff
path: root/devel/sdl_console/Makefile
blob: cd8030800cf6c5f59efba956d590439fd96dbda6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# New ports collection makefile for:	SDL Console
# Date created:				2008-04-27
# Whom:					Yen-Ming Lee <leeym@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	sdl_console
PORTVERSION=	2.1
CATEGORIES=	devel
MASTER_SITES=	SF/sdlconsole/sdlconsole-source/sdlconsole-${PORTVERSION}
DISTNAME=	sdlconsole-${PORTVERSION}

MAINTAINER=	leeym@FreeBSD.org
COMMENT=	A drop down console that can be easily added to any SDL application

USE_SDL=	sdl
GNU_CONFIGURE=	yes
USE_LDCONFIG=	yes

OPTIONS=	SDL_IMAGE "SDL Image support" Off

post-patch:
	@${REINPLACE_CMD} -e '/objformat/s/aout/elf/' ${WRKSRC}/${CONFIGURE_SCRIPT}

.include <bsd.port.pre.mk>

.if defined(WITH_SDL_IMAGE)
USE_SDL+=	image
.endif

.include <bsd.port.post.mk>