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