mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
- Update to 2.0.15
- Fix dependency on OpenGL - Update pkg-descr
This commit is contained in:
parent
33d35db6b5
commit
667269bee7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=494347
@ -1,8 +1,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= sdl2_ttf
|
||||
PORTVERSION= 2.0.14
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 2.0.15
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= http://www.libsdl.org/projects/SDL_ttf/release/
|
||||
DISTNAME= SDL2_ttf-${PORTVERSION}
|
||||
@ -15,18 +14,26 @@ LICENSE_FILE= ${WRKSRC}/COPYING.txt
|
||||
|
||||
LIB_DEPENDS= libfreetype.so:print/freetype2
|
||||
|
||||
USES= pkgconfig:build pathfix gmake libtool localbase
|
||||
USES= gmake libtool localbase pathfix pkgconfig sdl
|
||||
USE_SDL= sdl2
|
||||
GNU_CONFIGURE= yes
|
||||
INSTALL_TARGET= install-strip
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
OPTIONS_DEFINE= OPENGL
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
OPENGL_USE= GL=yes
|
||||
OPENGL_DESC= Build sdl2-glfont demo program
|
||||
OPENGL_USES= gl
|
||||
OPENGL_USE= GL=gl
|
||||
|
||||
post-patch-OPENGL-off:
|
||||
@${REINPLACE_CMD} -e '/have_opengl=yes/d' ${WRKSRC}/configure
|
||||
|
||||
post-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/.libs/glfont ${STAGEDIR}${PREFIX}/bin/sdl2-glfont
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/.libs/showfont ${STAGEDIR}${PREFIX}/bin/sdl2-showfont
|
||||
|
||||
post-install-OPENGL-on:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/.libs/glfont ${STAGEDIR}${PREFIX}/bin/sdl2-glfont
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,3 @@
|
||||
SHA256 (SDL2_ttf-2.0.14.tar.gz) = 34db5e20bcf64e7071fe9ae25acaa7d72bdc4f11ab3ce59acc768ab62fe39276
|
||||
SIZE (SDL2_ttf-2.0.14.tar.gz) = 4147462
|
||||
TIMESTAMP = 1551469142
|
||||
SHA256 (SDL2_ttf-2.0.15.tar.gz) = a9eceb1ad88c1f1545cd7bd28e7cbc0b2c14191d40238f531a15b01b1b22cd33
|
||||
SIZE (SDL2_ttf-2.0.15.tar.gz) = 4479718
|
||||
|
@ -1,15 +1,8 @@
|
||||
This library is a wrapper around the excellent FreeType library.
|
||||
SDL_ttf is a TrueType font rendering library that is used with the
|
||||
SDL library, and almost as portable. It depends on freetype2 to
|
||||
handle the TrueType font data. It allows a programmer to use multiple
|
||||
TrueType fonts without having to code a font rendering routine
|
||||
themselves. With the power of outline fonts and antialiasing, high
|
||||
quality text output can be obtained without much effort.
|
||||
|
||||
WARNING: There may be patent issues with using the FreeType library. Check the
|
||||
FreeType website for up-to-date details.
|
||||
|
||||
This library allows you to use TrueType fonts to render text in SDL
|
||||
applications.
|
||||
|
||||
Be careful when including fonts with your application, as many of them are
|
||||
copyrighted. The Microsoft fonts, for example, are not freely redistributable
|
||||
and even the free "web" fonts they provide are only redistributable in their
|
||||
special executable installer form (May 1998). There are plenty of freeware and
|
||||
shareware fonts available on the Internet though, and may suit your purposes.
|
||||
|
||||
WWW: http://www.libsdl.org/projects/SDL_ttf/
|
||||
WWW: https://www.libsdl.org/projects/SDL_ttf/
|
||||
|
@ -1,8 +1,8 @@
|
||||
bin/sdl2-glfont
|
||||
%%OPENGL%%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.14.0
|
||||
lib/libSDL2_ttf-2.0.so.0.14.1
|
||||
lib/libSDL2_ttf.a
|
||||
lib/libSDL2_ttf.so
|
||||
libdata/pkgconfig/SDL2_ttf.pc
|
||||
|
Loading…
Reference in New Issue
Block a user