freebsd-ports/games/chanta/Makefile
Antoine Brodin bd66d2662f Mark BROKEN: fails to build
Mundo.cpp:262:19: error: non-constant-expression cannot be narrowed from type 'int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing]
        SDL_Rect rect = {x, y, w, h};
                         ^

Reported by:	pkg-fallout
2018-11-04 13:26:21 +00:00

34 lines
832 B
Makefile

# Created by: Charlie & <root@HellFire.BSD.org.pe>
# $FreeBSD$
PORTNAME= chanta
PORTVERSION= 0.15
PORTREVISION= 12
CATEGORIES= games
MASTER_SITES= http://www.losersjuegos.com.ar/_media/juegos/chanta/descargas/
MAINTAINER= acm@FreeBSD.org
COMMENT= Free 2D jump and run game
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
BROKEN= fails to build
USES= gmake
USE_SDL= sdl image mixer
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD}
OPTIONS_DEFINE= DOCS
post-configure:
@${REINPLACE_CMD} -e 's|-lSDL |`sdl-config --libs` |g' ${WRKSRC}/src/${MAKEFILE}
@${REINPLACE_CMD} -e 's|^CXXFLAGS|^CXXFLAGS?|g' ${WRKSRC}/src/${MAKEFILE}
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
@cd ${WRKSRC} && \
${INSTALL_DATA} AUTHORS ChangeLog README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>