diff options
author | Shaun Amott <shaun@FreeBSD.org> | 2006-09-20 13:23:01 +0000 |
---|---|---|
committer | Shaun Amott <shaun@FreeBSD.org> | 2006-09-20 13:23:01 +0000 |
commit | ca0e0f20156afb9373fe02c73fe1a23b142a1d6b (patch) | |
tree | fefdeb87e5ab0d8dbccea25fb1d7abdda89d0105 /graphics | |
parent | 758b8372d0e4c09efdecf7d694b9c7af7e633d45 (diff) | |
download | ports-ca0e0f20156afb9373fe02c73fe1a23b142a1d6b.tar.gz ports-ca0e0f20156afb9373fe02c73fe1a23b142a1d6b.zip |
Notes
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/sdl_ttf/Makefile | 6 |
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 |