freebsd-ports/games/csmash/Makefile
Rodrigo Osorio 05f0f44a55 */*: Update WWW to use HTTPS for sourceforge.net projects
Homepage link is permanent redirected to its HTTPS counterpart
2023-11-01 23:11:47 +01:00

28 lines
750 B
Makefile

PORTNAME= csmash
PORTVERSION= 0.6.6
PORTREVISION= 23
CATEGORIES= games
MASTER_SITES= SF/cannonsmash/CannonSmash/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= 3D tabletennis game
WWW= https://cannonsmash.sourceforge.net/
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>