aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/sdl_gfx/Makefile
blob: 219a8ec97239c434e7cef766b4cb4ac21277ab6c (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
34
35
36
37
# Created by: ijliao
# $FreeBSD$

PORTNAME=   sdl_gfx
PORTVERSION=    2.0.25
PORTREVISION=   3
CATEGORIES= graphics
MASTER_SITES=   http://www.ferzkopp.net/Software/SDL_gfx-${PORTVERSION:R}/
DISTNAME=   SDL_gfx-${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    SDL graphics drawing primitives and other support functions

LICENSE=    ZLIB

USES=       autoreconf gmake libtool pathfix
USE_SDL=    sdl
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --includedir=${PREFIX}/include
USE_LDCONFIG=   yes
INSTALL_TARGET= install-strip

OPTIONS_DEFINE_i386=    MMX
OPTIONS_DEFINE_amd64=   MMX

MMX_CONFIGURE_ENABLE=   mmx
MMX_CFLAGS=     -DUSE_MMX

.include <bsd.port.options.mk>

.if !${PORT_OPTIONS:MMMX}
# Every platform not supporting the MMX knob must disable
# MMX support explicitly
CONFIGURE_ARGS+=    --disable-mmx
.endif

.include <bsd.port.mk>