mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +00:00
15945f8122
to GCC 4.8.3. Part II, Bump PORTREVISIONs. PR: 192025 Tested by: antoine (-exp runs) Approved by: portmgr (implicit)
28 lines
659 B
Makefile
28 lines
659 B
Makefile
# Created by: ijliao
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= csmash
|
|
PORTVERSION= 0.6.6
|
|
PORTREVISION= 18
|
|
CATEGORIES= games
|
|
MASTER_SITES= SF/cannonsmash/CannonSmash/${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= 3D tabletennis game
|
|
|
|
USES= gettext gmake pkgconfig
|
|
USE_SDL= image mixer sdl
|
|
USE_GL= yes
|
|
USE_GNOME= gtk20
|
|
GNU_CONFIGURE= yes
|
|
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>
|