aboutsummaryrefslogtreecommitdiffstats
path: root/games/pengupop/Makefile
blob: 30724a4161bc3f7b9c37387b8c2a2b7d4ba6aa84 (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
# New ports collection makefile for:    pengupop
# Date created:     14 Jun 2006
# Whom:         Dmitry Marakasov <amdmi3@mail.ru>
#
# $FreeBSD$
#

PORTNAME=   pengupop
PORTVERSION=    2.1.4
CATEGORIES= games
MASTER_SITES=   http://www.junoplay.com/files/

MAINTAINER= amdmi3@mail.ru
COMMENT=    Online multiplayer clone of Bust a Move

GNU_CONFIGURE=  yes
USE_GMAKE=  yes
USE_SDL=    sdl
USE_GCC=    3.4+
CONFIGURE_ENV=  CPPFLAGS="`${SDL_CONFIG} --cflags`" \
        LDFLAGS="`${SDL_CONFIG} --libs`"

PLIST_FILES=    bin/pengupop

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 500000
BROKEN=     does not build on FreeBSD 4.x: lack of swprintf
.endif

post-patch:
    @${REINPLACE_CMD} -e 's|SDL/|SDL11/|' ${WRKSRC}/*.c
    @${REINPLACE_CMD} -e 's|-lSDL||' ${WRKSRC}/Makefile.in

.include <bsd.port.post.mk>