aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2021-04-13 15:40:45 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2021-04-13 16:18:07 +0000
commite998e59190b5d4ca965c1c78ee42a5f2a3a9c68d (patch)
treec99efb19efc5374eaced468209875a80f0aa31ba
parent6cd8d2f8c04df840467b1baceb5ef72057434eaf (diff)
downloadports-e998e59190b5d4ca965c1c78ee42a5f2a3a9c68d.tar.gz
ports-e998e59190b5d4ca965c1c78ee42a5f2a3a9c68d.zip
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
-rw-r--r--graphics/sdl_ttf/Makefile12
1 files 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@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 \