Import devel/sdl2-ttf, the SDL2 TrueType fonts library.
ok brad@
This commit is contained in:
parent
bee42b1fd7
commit
153a620d02
29
devel/sdl2-ttf/Makefile
Normal file
29
devel/sdl2-ttf/Makefile
Normal file
@ -0,0 +1,29 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2013/11/05 17:30:07 bcallah Exp $
|
||||
|
||||
V = 2.0.12
|
||||
COMMENT = SDL2 TrueType fonts library
|
||||
DISTNAME = SDL2_ttf-${V}
|
||||
PKGNAME = sdl2-ttf-${V}
|
||||
CATEGORIES = devel graphics fonts
|
||||
|
||||
SHARED_LIBS += SDL2_ttf 0.0 # 10.2
|
||||
|
||||
HOMEPAGE = http://www.libsdl.org/projects/SDL_ttf/
|
||||
MAINTAINER = Brian Callahan <bcallah@openbsd.org>
|
||||
|
||||
# zlib
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
|
||||
WANTLIB += SDL2 freetype m pthread sndio usbhid z
|
||||
|
||||
MASTER_SITES = http://www.libsdl.org/projects/SDL_ttf/release/
|
||||
|
||||
LIB_DEPENDS = devel/sdl2
|
||||
|
||||
SEPARATE_BUILD = Yes
|
||||
CONFIGURE_STYLE = gnu
|
||||
CONFIGURE_ARGS = ${CONFIGURE_SHARED}
|
||||
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib"
|
||||
|
||||
.include <bsd.port.mk>
|
2
devel/sdl2-ttf/distinfo
Normal file
2
devel/sdl2-ttf/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (SDL2_ttf-2.0.12.tar.gz) = hyhgVEPqHMpcrVAdw03AyxUTXR5XVVHabRUdIT01b24=
|
||||
SIZE (SDL2_ttf-2.0.12.tar.gz) = 5517665
|
16
devel/sdl2-ttf/patches/patch-Makefile_in
Normal file
16
devel/sdl2-ttf/patches/patch-Makefile_in
Normal file
@ -0,0 +1,16 @@
|
||||
$OpenBSD: patch-Makefile_in,v 1.1.1.1 2013/11/05 17:30:07 bcallah Exp $
|
||||
--- Makefile.in.orig Sat Oct 12 16:35:50 2013
|
||||
+++ Makefile.in Sat Oct 12 16:36:06 2013
|
||||
@@ -368,12 +368,10 @@ EXTRA_DIST = \
|
||||
|
||||
@USE_VERSION_RC_FALSE@libSDL2_ttf_la_LDFLAGS = \
|
||||
@USE_VERSION_RC_FALSE@ -no-undefined \
|
||||
-@USE_VERSION_RC_FALSE@ -release $(LT_RELEASE) \
|
||||
@USE_VERSION_RC_FALSE@ -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
|
||||
|
||||
@USE_VERSION_RC_TRUE@libSDL2_ttf_la_LDFLAGS = \
|
||||
@USE_VERSION_RC_TRUE@ -no-undefined \
|
||||
-@USE_VERSION_RC_TRUE@ -release $(LT_RELEASE) \
|
||||
@USE_VERSION_RC_TRUE@ -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) -Wl,version.o
|
||||
|
||||
@USE_VERSION_RC_TRUE@libSDL2_ttf_la_DEPENDENCIES = version.o
|
13
devel/sdl2-ttf/pkg/DESCR
Normal file
13
devel/sdl2-ttf/pkg/DESCR
Normal file
@ -0,0 +1,13 @@
|
||||
This library is a wrapper around the excellent FreeType library.
|
||||
|
||||
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 SDL2
|
||||
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.
|
8
devel/sdl2-ttf/pkg/PLIST
Normal file
8
devel/sdl2-ttf/pkg/PLIST
Normal file
@ -0,0 +1,8 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2013/11/05 17:30:07 bcallah Exp $
|
||||
include/SDL2/
|
||||
include/SDL2/SDL_ttf.h
|
||||
lib/libSDL2_ttf.a
|
||||
lib/libSDL2_ttf.la
|
||||
@lib lib/libSDL2_ttf.so.${LIBSDL2_ttf_VERSION}
|
||||
lib/pkgconfig/
|
||||
lib/pkgconfig/SDL2_ttf.pc
|
Loading…
Reference in New Issue
Block a user