blob: 4057c851bc9b130c95e6f716a7648973585a5b8e (
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
37
38
39
40
|
# ex:ts=8
# Ports collection makefile for: csmash
# Date created: Nov 11, 2003
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= csmash
PORTVERSION= 0.6.5
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= cannonsmash
MAINTAINER= ports@FreeBSD.org
COMMENT= A 3D tabletennis game
LIB_DEPENDS= SDL_mixer.2:${PORTSDIR}/audio/sdl_mixer \
SDL_image.10:${PORTSDIR}/graphics/sdl_image \
iconv.3:${PORTSDIR}/converters/libiconv \
intl.5:${PORTSDIR}/devel/gettext
USE_REINPLACE= yes
USE_SDL= yes
USE_GL= yes
USE_GNOME= gtk12 gnometarget
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
USE_GMAKE= yes
MAKEFILE= makefile
post-patch:
@${GREP} -lR "SDL/" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} \
-e "s@SDL/@SDL11/@g"
@${FIND} ${WRKSRC} -name "makefile.in" | ${XARGS} \
${GREP} -lR "games/" | ${XARGS} ${REINPLACE_CMD} \
-e "s@games/@@g"
.include <bsd.port.mk>
|