diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2021-04-13 15:40:45 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2021-04-13 16:18:07 +0000 |
commit | e998e59190b5d4ca965c1c78ee42a5f2a3a9c68d (patch) | |
tree | c99efb19efc5374eaced468209875a80f0aa31ba /graphics/sdl_ttf | |
parent | 6cd8d2f8c04df840467b1baceb5ef72057434eaf (diff) | |
download | ports-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
Diffstat (limited to 'graphics/sdl_ttf')
-rw-r--r-- | graphics/sdl_ttf/Makefile | 12 |
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 \ |