mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
7c19894cc2
cmake-based one is not maintained that well - Fix library naming to ensure backwards compatibility on minor version changes - Bump the PORTREVISION on ports depending on devel/sdl20, since its shared library name changed PR: ports/183975 Submitted by: Jan Kokemüller <jan.kokemueller@gmail.com>
35 lines
631 B
Makefile
35 lines
631 B
Makefile
# Created by: ijliao
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= sdl2_gfx
|
|
PORTVERSION= 1.0.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= http://www.ferzkopp.net/Software/%SUBDIR%/
|
|
MASTER_SITE_SUBDIR= SDL2_gfx
|
|
DISTNAME= SDL2_gfx-${PORTVERSION}
|
|
|
|
MAINTAINER= mva@FreeBSD.org
|
|
COMMENT= SDL graphics drawing primitives and other support functions
|
|
|
|
LICENSE= ZLIB
|
|
|
|
USES= pathfix gmake
|
|
USE_AUTOTOOLS= libtool
|
|
USE_SDL= sdl2
|
|
GNU_CONFIGURE= yes
|
|
USE_LDCONFIG= yes
|
|
|
|
OPTIONS_DEFINE= MMX
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MMMX}
|
|
CONFIGURE_ARGS+=--enable-mmx
|
|
CFLAGS+= -DUSE_MMX
|
|
.else
|
|
CONFIGURE_ARGS=--disable-mmx
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|