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
|
2009-07-31 15:57:52 +02:00
|
|
|
PORTREVISION= 11
|
2003-11-11 09:40:46 +01:00
|
|
|
CATEGORIES= games
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= cannonsmash
|
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
COMMENT= A 3D tabletennis game
|
|
|
|
|
2007-06-28 19:18:03 +02:00
|
|
|
USE_GETTEXT= yes
|
2004-01-20 19:21:02 +01:00
|
|
|
USE_SDL= image mixer sdl
|
2003-11-11 09:40:46 +01:00
|
|
|
USE_GL= yes
|
2003-12-04 19:46:01 +01:00
|
|
|
USE_GNOME= gnometarget gtk20
|
|
|
|
USE_GMAKE= yes
|
2003-11-11 09:40:46 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2007-06-17 09:44:48 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/SDL" \
|
2003-11-11 09:40:46 +01:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
|
|
|
|
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>
|