1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-21 20:38:45 +00:00
freebsd-ports/graphics/sdl_gfx/Makefile
Marcus von Appen 6506e45d69 - Update devel/sdl12 to version 1.2.14.
- Update audio/sdl_mixer to version 1.2.11.
- Update graphics/sdl_gfx to version 2.0.20.
- Update graphics/sdl_image to version 1.2.10.
- Bump portrevisions for all ports depending on audio/sdl_mixer and
  graphics/sdl_image.
- Update Mk/bsd.sdl.mk accordingly for the new shared lib versions.

PR:		ports/142147 ports/142248 ports/142249
Approved by:	miwi (mentor implicit)
2010-01-30 09:43:31 +00:00

45 lines
1.0 KiB
Makefile

# ex:ts=8
# Ports collection makefile for: sdl_gfx
# Date created: Apr 25, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= sdl_gfx
PORTVERSION= 2.0.20
CATEGORIES= graphics
MASTER_SITES= http://www.ferzkopp.net/Software/%SUBDIR%/
MASTER_SITE_SUBDIR= SDL_gfx-${PORTVERSION:R}
DISTNAME= SDL_gfx-${PORTVERSION}
MAINTAINER= mva@FreeBSD.org
COMMENT= SDL graphics drawing primitives and other support functions
MAKE_JOBS_SAFE= yes
USE_AUTOTOOLS= libtool:22
USE_SDL= sdl
USE_GMAKE= yes
GNU_CONFIGURE= yes
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
post-patch:
@${REINPLACE_CMD} -e 's|\$(libdir)/pkgconfig|\$(libdir)/libdata/pkgconfig|' \
${WRKSRC}/Makefile.in
.include <bsd.port.post.mk>