1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-15 07:56:36 +00:00
freebsd-ports/graphics/sdl_gfx/Makefile
Martin Wilke 06a6b63fb9 - Update to 2.0.17
PR:		124259
Submitted by:	Marcus von Appen <mva@sysfault.org> (maintainer)
2008-06-05 21:55:29 +00:00

42 lines
1018 B
Makefile

# ex:ts=8
# Ports collection makefile for: sdl_gfx
# Date created: Apr 25, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= sdl_gfx
PORTVERSION= 2.0.17
CATEGORIES= graphics
MASTER_SITES= http://www.ferzkopp.net/Software/%SUBDIR%/ \
http://mirror.inerd.com/FreeBSD/distfiles/${PORTNAME}/
MASTER_SITE_SUBDIR= SDL_gfx-${PORTVERSION:R}
DISTNAME= SDL_gfx-${PORTVERSION}
MAINTAINER= mva@sysfault.org
COMMENT= SDL graphics drawing primitives and other support functions
USE_AUTOTOOLS= libtool:15
USE_SDL= sdl
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --includedir=${PREFIX}/include
MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
AUTOHEADER="${TRUE}"
USE_LDCONFIG= yes
OPTIONS= MMX "Enable MMX instruction set (i386 only)" Off
.include <bsd.port.pre.mk>
.if defined(WITH_MMX) && (${ARCH} == "i386")
CONFIGURE_ARGS+=--enable-mmx
CFLAGS+= -DUSE_MMX
.else
CONFIGURE_ARGS=--disable-mmx
.endif
.include <bsd.port.post.mk>