1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/games/csmash/Makefile
Kevin Bowling da3162c7c9 graphics/mesa-libs: Bump reverse deps for libglvnd
Per discussion with bapt on helping pkg handle the changing of these
deps and avoiding impossible upgrade senarios.

PR:		246767
Reviewed by:	manu, bapt
Approved by:	x11
Differential Revision:	https://reviews.freebsd.org/D30824
2021-06-22 11:53:08 -07:00

30 lines
729 B
Makefile

# Created by: ijliao
PORTNAME= csmash
PORTVERSION= 0.6.6
PORTREVISION= 22
CATEGORIES= games
MASTER_SITES= SF/cannonsmash/CannonSmash/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= 3D tabletennis game
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
USES= compiler:c++11-lang gettext gl gmake gnome pkgconfig sdl
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>