freebsd-ports/games/csmash/Makefile

34 lines
775 B
Makefile
Raw Normal View History

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
PORTVERSION= 0.6.6
PORTREVISION= 11
2003-11-11 09:40:46 +01:00
CATEGORIES= games
MASTER_SITES= SF/cannonsmash/CannonSmash/${PORTVERSION}
2003-11-11 09:40:46 +01:00
MAINTAINER= ports@FreeBSD.org
COMMENT= A 3D tabletennis game
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
USE_GNOME= gnometarget gtk20
USE_GMAKE= yes
2003-11-11 09:40:46 +01:00
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/SDL" \
2003-11-11 09:40:46 +01:00
LDFLAGS="-L${LOCALBASE}/lib"
post-patch:
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
's|/games/|/|g'
@${REINPLACE_CMD} -e 's|BallView::||' ${WRKSRC}/BallView.h
@${REINPLACE_CMD} -e 's|== 3|>= 3|' ${WRKSRC}/matrix
2003-11-11 09:40:46 +01:00
.include <bsd.port.mk>