freebsd-ports/games/csmash/Makefile
Alexey Dokuchaev 6f9f2edac6 - Fix the build with newish GCC [1]
- Kill EOL whitespace in pkg-descr
- Add USE_GETTEXT per portlint(1)

Reported by:	pointyhat (logs) [1]
2007-06-28 17:18:03 +00:00

34 lines
791 B
Makefile

# ex:ts=8
# Ports collection makefile for: csmash
# Date created: Nov 11, 2003
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= csmash
PORTVERSION= 0.6.6
PORTREVISION= 8
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= cannonsmash
MAINTAINER= ports@FreeBSD.org
COMMENT= A 3D tabletennis game
USE_GETTEXT= yes
USE_SDL= image mixer sdl
USE_GL= yes
USE_GNOME= gnometarget gtk20
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/SDL" \
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
.include <bsd.port.mk>