mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
43 lines
1.0 KiB
Makefile
43 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.13
|
|
PORTREVISION= 1
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= http://www.ferzkopp.net/Software/%SUBDIR%/
|
|
MASTER_SITE_SUBDIR= SDL_gfx-${PORTVERSION:R}
|
|
DISTNAME= SDL_gfx-${PORTVERSION}
|
|
|
|
MAINTAINER= krion@FreeBSD.org
|
|
COMMENT= SDL graphics drawing primitives and other support functions
|
|
|
|
USE_SDL= sdl
|
|
USE_GMAKE= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
CONFIGURE_ARGS= --includedir=${PREFIX}/include/SDL11 \
|
|
--disable-mmx
|
|
MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
|
|
AUTOHEADER="${TRUE}"
|
|
INSTALLS_SHLIB= yes
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if defined(WITH_MMX) && (${ARCH} == "i386")
|
|
CFLAGS+= -DUSE_MMX
|
|
.endif
|
|
|
|
post-patch:
|
|
@${GREP} -lR "<SDL/SDL" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
|
|
's|<SDL/SDL|<SDL|g'
|
|
@${REINPLACE_CMD} -e \
|
|
's|$$(includedir)/SDL|$$(includedir)|g' ${WRKSRC}/Makefile.in
|
|
|
|
.include <bsd.port.post.mk>
|