aboutsummaryrefslogtreecommitdiff
path: root/graphics/sdl_ttf
diff options
context:
space:
mode:
authorShaun Amott <shaun@FreeBSD.org>2006-09-20 13:23:01 +0000
committerShaun Amott <shaun@FreeBSD.org>2006-09-20 13:23:01 +0000
commitca0e0f20156afb9373fe02c73fe1a23b142a1d6b (patch)
treefefdeb87e5ab0d8dbccea25fb1d7abdda89d0105 /graphics/sdl_ttf
parent758b8372d0e4c09efdecf7d694b9c7af7e633d45 (diff)
downloadports-ca0e0f20156afb9373fe02c73fe1a23b142a1d6b.tar.gz
ports-ca0e0f20156afb9373fe02c73fe1a23b142a1d6b.zip
Notes
Diffstat (limited to 'graphics/sdl_ttf')
-rw-r--r--graphics/sdl_ttf/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/graphics/sdl_ttf/Makefile b/graphics/sdl_ttf/Makefile
index 2bf22d3c1113..91acaa6da329 100644
--- a/graphics/sdl_ttf/Makefile
+++ b/graphics/sdl_ttf/Makefile
@@ -7,7 +7,6 @@
PORTNAME= sdl_ttf
PORTVERSION= 2.0.8
-PORTREVISION= 0
CATEGORIES= graphics
MASTER_SITES= http://www.libsdl.org/projects/SDL_ttf/release/
DISTNAME= SDL_ttf-${PORTVERSION}
@@ -18,7 +17,6 @@ COMMENT= A library to use TrueType fonts to render text in SDL applications
LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2
USE_SDL= sdl
-USE_GL= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
@@ -26,6 +24,10 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
USE_LDCONFIG= yes
+.if !defined(WITHOUT_X11) && !defined(WITHOUT_GL)
+USE_GL= yes
+.endif
+
post-install:
${INSTALL_PROGRAM} ${WRKSRC}/.libs/glfont ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/.libs/showfont ${PREFIX}/bin