2003-11-11 09:40:46 +01:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: csmash
|
|
|
|
# Date created: Nov 11, 2003
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= csmash
|
2003-12-04 19:46:01 +01:00
|
|
|
PORTVERSION= 0.6.6
|
2012-06-01 07:26:28 +02:00
|
|
|
PORTREVISION= 17
|
2003-11-11 09:40:46 +01:00
|
|
|
CATEGORIES= games
|
2009-08-22 02:23:13 +02:00
|
|
|
MASTER_SITES= SF/cannonsmash/CannonSmash/${PORTVERSION}
|
2003-11-11 09:40:46 +01:00
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
COMMENT= A 3D tabletennis game
|
|
|
|
|
2013-04-24 20:10:30 +02:00
|
|
|
USES= gettext
|
2004-01-20 19:21:02 +01:00
|
|
|
USE_SDL= image mixer sdl
|
2003-11-11 09:40:46 +01:00
|
|
|
USE_GL= yes
|
2011-08-11 21:20:17 +02:00
|
|
|
USE_GNOME= gtk20
|
2003-12-04 19:46:01 +01:00
|
|
|
USE_GMAKE= yes
|
2003-11-11 09:40:46 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2011-09-24 00:26:39 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/SDL
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2003-11-11 09:40:46 +01:00
|
|
|
|
|
|
|
post-patch:
|
2003-12-04 19:46:01 +01:00
|
|
|
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
|
|
|
|
's|/games/|/|g'
|
2007-06-28 19:18:03 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|BallView::||' ${WRKSRC}/BallView.h
|
|
|
|
@${REINPLACE_CMD} -e 's|== 3|>= 3|' ${WRKSRC}/matrix
|
2003-11-11 09:40:46 +01:00
|
|
|
|
2005-05-05 04:27:28 +02:00
|
|
|
.include <bsd.port.mk>
|