aboutsummaryrefslogtreecommitdiffstats
path: root/games/csmash/Makefile
blob: a954d38d6408026746cd700d57815ea06d64ef56 (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
# ex:ts=8
# Ports collection makefile for:    csmash
# Date created:         Nov 11, 2003
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   csmash
PORTVERSION=    0.6.6
PORTREVISION=   6
CATEGORIES= games
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= cannonsmash

MAINTAINER= ports@FreeBSD.org
COMMENT=    A 3D tabletennis game

USE_SDL=    image mixer sdl
USE_GL=     yes
USE_GNOME=  gnometarget gtk20
USE_GMAKE=  yes
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"

post-patch:
    @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
        's|/games/|/|g'

.include <bsd.port.mk>