1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/graphics/sdl_gfx/Makefile
Mathieu Arnold 60d1a83c2a MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
  of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
  no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.

While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.

Also, replace some EXTRACT_SUFX occurences with USES=tar:*.

Checked by:	make fetch-urlall-list
With hat:	portmgr
Sponsored by:	Absolight
2015-05-14 10:15:04 +00:00

39 lines
834 B
Makefile

# 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= mva@FreeBSD.org
COMMENT= SDL graphics drawing primitives and other support functions
LICENSE= ZLIB
USES= autoreconf gmake libtool pathfix
PATHFIX_MAKEFILEIN= Makefile.am
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>