View | Details | Raw Unified | Return to bug 55059
Collapse All | Expand All

(-)graphics/sdl_ttf/Makefile (-15 / +13 lines)
Lines 7-12 Link Here
7
7
8
PORTNAME=	sdl_ttf
8
PORTNAME=	sdl_ttf
9
PORTVERSION=	2.0.5
9
PORTVERSION=	2.0.5
10
PORTREVISION=	1
10
CATEGORIES=	graphics
11
CATEGORIES=	graphics
11
MASTER_SITES=	http://www.libsdl.org/projects/SDL_ttf/release/
12
MASTER_SITES=	http://www.libsdl.org/projects/SDL_ttf/release/
12
DISTNAME=	SDL_ttf-${PORTVERSION}
13
DISTNAME=	SDL_ttf-${PORTVERSION}
Lines 14-38 Link Here
14
MAINTAINER=	ports@FreeBSD.org
15
MAINTAINER=	ports@FreeBSD.org
15
COMMENT=	A library to use TrueType fonts to render text in SDL applications
16
COMMENT=	A library to use TrueType fonts to render text in SDL applications
16
17
17
BUILD_DEPENDS=	freetype-config:${PORTSDIR}/print/freetype2
18
LIB_DEPENDS=	freetype.9:${PORTSDIR}/print/freetype2
18
LIB_DEPENDS=	SDL-1.1.5:${PORTSDIR}/devel/sdl12 \
19
		freetype.9:${PORTSDIR}/print/freetype2
20
19
21
SDL_CONFIG=	${LOCALBASE}/bin/sdl11-config
20
USE_SDL=	yes
22
21
USE_MESA=	yes
23
USE_LIBTOOL=	yes
22
USE_REINPLACE=	yes
24
USE_GMAKE=	yes
23
USE_GMAKE=	yes
24
USE_LIBTOOL=	yes
25
LIBTOOLFLAGS=	--disable-ltlibs --release-ignore
26
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include/freetype2 \
27
			  -I${LOCALBASE}/include" \
28
		LDFLAGS="-L${LOCALBASE}/lib"
25
INSTALLS_SHLIB=	yes
29
INSTALLS_SHLIB=	yes
26
CONFIGURE_ENV=	SDL_CONFIG="${SDL_CONFIG}" \
27
		CPPFLAGS="-I${LOCALBASE}/include/freetype2 \
28
			  -I${LOCALBASE}/include"
29
30
post-extract:
31
	@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
32
		's|-release \$$\(LT_RELEASE\)||g'
33
30
34
post-configure:
31
post-configure:
35
	@${PERL} -pi -e 's|^deplibs_check_method=.*|deplibs_check_method=pass_all|' \
32
	@${REINPLACE_CMD} -e \
36
		${WRKSRC}/libtool
33
		's|^deplibs_check_method=.*|deplibs_check_method=pass_all|' \
34
			${WRKSRC}/libtool
37
35
38
.include <bsd.port.mk>
36
.include <bsd.port.mk>

Return to bug 55059