aboutsummaryrefslogtreecommitdiff
path: root/graphics/sdl2_ttf
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2016-04-06 15:01:13 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2016-04-06 15:01:13 +0000
commitc08f361805a3adcddb5954aef47e94618b1d1cd0 (patch)
treea4c9f547d924ff85e2fa15fd90f5f549e9dd225b /graphics/sdl2_ttf
parente247461ef4a0f46a4117473b93fc0a85929646a9 (diff)
downloadports-c08f361805a3adcddb5954aef47e94618b1d1cd0.tar.gz
ports-c08f361805a3adcddb5954aef47e94618b1d1cd0.zip
- Update sdl20 and satellite libraries to latest versions
sdl2: 2.0.3 -> 2.0.4 sdl2_image: 2.0.0 -> 2.0.1 sdl2_mixer: 2.0.0 -> 2.0.1 sdl2_net: 2.0.0 -> 2.0.1 sdl2_ttf: 2.0.12 -> 2.0.14 - Add LICENSE_FILE - Strip libraries - Switch to USES=localbase where applicable PR: 207671 Submitted by: devnexen@gmail.com, amdmi3 Approved by: maintainer timeout (mva, 1 month) Exp-run by: antoine
Notes
Notes: svn path=/head/; revision=412624
Diffstat (limited to 'graphics/sdl2_ttf')
-rw-r--r--graphics/sdl2_ttf/Makefile15
-rw-r--r--graphics/sdl2_ttf/distinfo4
-rw-r--r--graphics/sdl2_ttf/pkg-plist2
3 files changed, 8 insertions, 13 deletions
diff --git a/graphics/sdl2_ttf/Makefile b/graphics/sdl2_ttf/Makefile
index 5d5bb1c213d8..d86e50f10fd2 100644
--- a/graphics/sdl2_ttf/Makefile
+++ b/graphics/sdl2_ttf/Makefile
@@ -1,8 +1,7 @@
# $FreeBSD$
PORTNAME= sdl2_ttf
-PORTVERSION= 2.0.12
-PORTREVISION= 5
+PORTVERSION= 2.0.14
CATEGORIES= graphics
MASTER_SITES= http://www.libsdl.org/projects/SDL_ttf/release/
DISTNAME= SDL2_ttf-${PORTVERSION}
@@ -11,23 +10,19 @@ MAINTAINER= mva@FreeBSD.org
COMMENT= Library to use TrueType fonts to render text in SDL applications
LICENSE= ZLIB
+LICENSE_FILE= ${WRKSRC}/COPYING.txt
LIB_DEPENDS= libfreetype.so:print/freetype2
-USES= pkgconfig:build pathfix gmake libtool
+USES= pkgconfig:build pathfix gmake libtool localbase
USE_SDL= sdl2
GNU_CONFIGURE= yes
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
+INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
OPTIONS_DEFINE= OPENGL
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MOPENGL}
-USE_GL= yes
-.endif
+OPENGL_USE= GL=yes
post-install:
${INSTALL_PROGRAM} ${WRKSRC}/.libs/glfont ${STAGEDIR}${PREFIX}/bin/sdl2-glfont
diff --git a/graphics/sdl2_ttf/distinfo b/graphics/sdl2_ttf/distinfo
index 755d9b3055e3..2b398ff91ee1 100644
--- a/graphics/sdl2_ttf/distinfo
+++ b/graphics/sdl2_ttf/distinfo
@@ -1,2 +1,2 @@
-SHA256 (SDL2_ttf-2.0.12.tar.gz) = 8728605443ea1cca5cad501dc34dc0cb15135d1e575551da6d151d213d356f6e
-SIZE (SDL2_ttf-2.0.12.tar.gz) = 5517665
+SHA256 (SDL2_ttf-2.0.14.tar.gz) = 34db5e20bcf64e7071fe9ae25acaa7d72bdc4f11ab3ce59acc768ab62fe39276
+SIZE (SDL2_ttf-2.0.14.tar.gz) = 4147462
diff --git a/graphics/sdl2_ttf/pkg-plist b/graphics/sdl2_ttf/pkg-plist
index c27f87b47438..31d95eda34c6 100644
--- a/graphics/sdl2_ttf/pkg-plist
+++ b/graphics/sdl2_ttf/pkg-plist
@@ -2,7 +2,7 @@ bin/sdl2-glfont
bin/sdl2-showfont
include/SDL2/SDL_ttf.h
lib/libSDL2_ttf-2.0.so.0
-lib/libSDL2_ttf-2.0.so.0.10.2
+lib/libSDL2_ttf-2.0.so.0.14.0
lib/libSDL2_ttf.a
lib/libSDL2_ttf.so
libdata/pkgconfig/SDL2_ttf.pc