SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

28
devel/sdl2-ttf/Makefile Normal file
View file

@ -0,0 +1,28 @@
V = 2.20.2
COMMENT = SDL2 TrueType fonts library
DISTNAME = SDL2_ttf-${V}
PKGNAME = sdl2-ttf-${V}
REVISION = 0
CATEGORIES = devel graphics fonts
SHARED_LIBS += SDL2_ttf 0.1 # 10.2
HOMEPAGE = https://www.libsdl.org/projects/SDL_ttf/
MAINTAINER = Thomas Frohwein <thfr@openbsd.org>
# zlib
PERMIT_PACKAGE= Yes
WANTLIB += SDL2 X11 Xcursor Xext Xfixes Xi Xrandr Xrender Xss
WANTLIB += m pthread samplerate sndio usbhid xcb
MASTER_SITES = https://www.libsdl.org/projects/SDL_ttf/release/
COMPILER = base-clang ports-gcc
LIB_DEPENDS = devel/sdl2
SEPARATE_BUILD = Yes
CONFIGURE_STYLE = gnu
.include <bsd.port.mk>

2
devel/sdl2-ttf/distinfo Normal file
View file

@ -0,0 +1,2 @@
SHA256 (SDL2_ttf-2.20.2.tar.gz) = ncce2TSHUhsQeixKnKa/Q/ti9r3dXCawVea5FBiiIFM=
SIZE (SDL2_ttf-2.20.2.tar.gz) = 13161592

View file

@ -0,0 +1,11 @@
Index: Makefile.in
--- Makefile.in.orig
+++ Makefile.in
@@ -815,7 +815,6 @@ HARFBUZZ_SOURCES = \
@USE_BUILTIN_HARFBUZZ_FALSE@LINKER = $(LINK)
libSDL2_ttf_la_LDFLAGS = \
-no-undefined \
- -release $(LT_RELEASE) \
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) $(LT_EXTRA)
@USE_VERSION_RC_TRUE@libSDL2_ttf_la_DEPENDENCIES = version.o

13
devel/sdl2-ttf/pkg/DESCR Normal file
View 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
View file

@ -0,0 +1,8 @@
include/SDL2/SDL_ttf.h
lib/cmake/SDL2_ttf/
lib/cmake/SDL2_ttf/sdl2_ttf-config-version.cmake
lib/cmake/SDL2_ttf/sdl2_ttf-config.cmake
@static-lib lib/libSDL2_ttf.a
lib/libSDL2_ttf.la
@lib lib/libSDL2_ttf.so.${LIBSDL2_ttf_VERSION}
lib/pkgconfig/SDL2_ttf.pc