2000-09-20 18:17:38 +02:00
|
|
|
# New ports collection makefile for: sdl_ttf
|
|
|
|
# Date created: 20 September 2000
|
|
|
|
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= sdl_ttf
|
2006-09-20 13:21:59 +02:00
|
|
|
PORTVERSION= 2.0.8
|
2006-10-14 10:54:54 +02:00
|
|
|
PORTREVISION= 1
|
2000-09-20 18:17:38 +02:00
|
|
|
CATEGORIES= graphics
|
2001-06-26 12:17:52 +02:00
|
|
|
MASTER_SITES= http://www.libsdl.org/projects/SDL_ttf/release/
|
2000-09-20 18:17:38 +02:00
|
|
|
DISTNAME= SDL_ttf-${PORTVERSION}
|
|
|
|
|
2006-09-01 23:34:14 +02:00
|
|
|
MAINTAINER= shaun@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= A library to use TrueType fonts to render text in SDL applications
|
2000-09-20 18:17:38 +02:00
|
|
|
|
2003-07-31 09:15:52 +02:00
|
|
|
LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2
|
2000-09-20 18:17:38 +02:00
|
|
|
|
2004-03-08 02:01:31 +01:00
|
|
|
USE_SDL= sdl
|
2000-09-20 18:17:38 +02:00
|
|
|
USE_GMAKE= yes
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2005-04-12 05:26:56 +02:00
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
2004-01-18 19:17:37 +01:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2003-07-31 09:15:52 +02:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2006-09-01 23:34:14 +02:00
|
|
|
USE_LDCONFIG= yes
|
2000-09-20 18:17:38 +02:00
|
|
|
|
2006-09-20 15:23:01 +02:00
|
|
|
.if !defined(WITHOUT_X11) && !defined(WITHOUT_GL)
|
|
|
|
USE_GL= yes
|
|
|
|
.endif
|
|
|
|
|
2004-01-18 19:17:37 +01:00
|
|
|
post-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/.libs/glfont ${PREFIX}/bin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/.libs/showfont ${PREFIX}/bin
|
2000-09-20 18:17:38 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|