aboutsummaryrefslogtreecommitdiffstats
path: root/games/supertux/Makefile
blob: 0e7ca190db011c50e1029177bc956a8ae65e4f96 (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
# New ports collection makefile for:    supertux
# Date created:     2004-04-17
# Whom:         michael johnson <ahze@ahze.net>
#
# $FreeBSD$
#

PORTNAME=   supertux
PORTVERSION=    0.1.1
CATEGORIES= games
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= super-tux

MAINTAINER= ahze@ahze.net
COMMENT=    Super Tux is a side-scroller similar to Super Mario Brothers

USE_X_PREFIX=   yes
USE_BZIP2=  yes
WANT_SDL=   yes
USE_SDL=    image mixer
USE_GL=     yes
USE_GMAKE=  yes
GNU_CONFIGURE=  yes
CONFIGURE_TARGET=   --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS=     --disable-debug
USE_REINPLACE=  yes

.include <bsd.port.pre.mk>

post-patch:
    @${REINPLACE_CMD} -e 's|SDL/|SDL11/|' \
        ${WRKSRC}/src/type.h

.include <bsd.port.post.mk>