aboutsummaryrefslogtreecommitdiff
path: root/devel/sdl_console/Makefile
blob: ff976df439a42f0a4b307eebb7b3eafbd4027b5f (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
33
# 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
MASTER_SITE_SUBDIR=	sdlconsole
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>