git: e998e59190b5 - main - graphics/sdl_ttf: minor cleanup
Dmitry Marakasov
amdmi3 at FreeBSD.org
Tue Apr 13 16:19:22 UTC 2021
The branch main has been updated by amdmi3:
URL: https://cgit.FreeBSD.org/ports/commit/?id=e998e59190b5d4ca965c1c78ee42a5f2a3a9c68d
commit e998e59190b5d4ca965c1c78ee42a5f2a3a9c68d
Author: Dmitry Marakasov <amdmi3 at FreeBSD.org>
AuthorDate: 2021-04-13 15:40:45 +0000
Commit: Dmitry Marakasov <amdmi3 at FreeBSD.org>
CommitDate: 2021-04-13 16:18:07 +0000
graphics/sdl_ttf: minor cleanup
- Remove OPENGL option, GL is detected regardless of whether option
is enabled which leads to hidden dependency
- Remove needless flags
- Add LICENSE_FILE
---
graphics/sdl_ttf/Makefile | 12 +++---------
1 file changed, 3 insertions(+), 9 deletions(-)
diff --git a/graphics/sdl_ttf/Makefile b/graphics/sdl_ttf/Makefile
index 58f3241071f8..214663c60f99 100644
--- a/graphics/sdl_ttf/Makefile
+++ b/graphics/sdl_ttf/Makefile
@@ -11,23 +11,17 @@ MAINTAINER= amdmi3 at FreeBSD.org
COMMENT= Library to use TrueType fonts to render text in SDL applications
LICENSE= ZLIB
+LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libfreetype.so:print/freetype2
-USES= gmake iconv libtool pathfix pkgconfig sdl xorg
+USES= gmake iconv gl libtool pathfix pkgconfig sdl xorg
USE_SDL= sdl
USE_XORG= x11
+USE_GL= gl
GNU_CONFIGURE= yes
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
USE_LDCONFIG= yes
-OPTIONS_DEFINE= OPENGL
-OPTIONS_DEFAULT= OPENGL
-
-OPENGL_USES= gl
-OPENGL_USE= GL=glu
-
post-install:
${INSTALL_PROGRAM} ${WRKSRC}/.libs/glfont ${STAGEDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/.libs/showfont \
More information about the dev-commits-ports-all
mailing list