aboutsummaryrefslogtreecommitdiff
path: root/games/tuxtype/Makefile
blob: a0267f64ba35b9d766ff2a315ab1c3795614e386 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# New ports collection makefile for:	tuxtype
# Date created:				Mon Aug  6 21:53:03 EDT 2001
# Whom:					Patrick Li <pat@databits.net>
#
# $FreeBSD$
#

PORTNAME=	tuxtype
PORTVERSION=	1.5.17
PORTREVISION=	1
CATEGORIES=	games
MASTER_SITES=	http://alioth.debian.org/frs/download.php/2209/
DISTNAME=	${PORTNAME}_w_fonts-${PORTVERSION}

MAINTAINER=	alepulver@FreeBSD.org
COMMENT=	An educational typing tutor starring Tux the Linux Penguin

USE_GMAKE=	yes
USE_SDL=	image mixer sdl ttf pango
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--program-transform-name=""
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib" LIBS="-pthread"
WRKSRC=		${WRKDIR}/${DISTNAME:S/.17/.16/}

post-patch:
	@${REINPLACE_CMD} -e 's|$$(prefix)/doc/$$(PACKAGE)|$$(docdir)|' \
		${WRKSRC}/Makefile.in ${WRKSRC}/tuxtype/docs/en/Makefile.in

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 600000
BROKEN=		does not build due to undefined reference to 'playsound' in 5.x
.endif

.include <bsd.port.post.mk>