freebsd-ports/games/flobopuyo/Makefile
Martin Wilke ee2be28dfa - Fix build on amd64/gcc42
PR:		117649
Submitted by:	Dmitry Marakasov <amdmi3@amdmi3.ru> (maintainer)
Approved by:	portmgr (pav)
2007-10-30 13:43:25 +00:00

31 lines
944 B
Makefile

# New ports collection makefile for: flobopuyo
# Date created: 24 Feb 2006
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
#
# $FreeBSD$
#
PORTNAME= flobopuyo
PORTVERSION= 0.20
PORTREVISION= 3
CATEGORIES= games
MASTER_SITES= http://www.ios-software.com/flobopuyo/ \
http://www.amdmi3.ru/distfiles/
EXTRACT_SUFX= .tgz
MAINTAINER= amdmi3@amdmi3.ru
COMMENT= Clone of the famous PuyoPuyo
USE_BISON= build
USE_GMAKE= yes
USE_SDL= sdl mixer image
post-patch:
@${REINPLACE_CMD} -e 's|sdl-config|${SDL_CONFIG}|' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's|g++|${CXX}|' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's|^CFLAGS=|CFLAGS+=|' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's|^DATADIR=.*$$|DATADIR=${DATADIR}|' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's|^INSTALL_DATADIR=.*$$|INSTALL_DATADIR=${DATADIR}|' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's|^INSTALL_BINDIR=.*$$|INSTALL_BINDIR=${PREFIX}/bin|' ${WRKSRC}/Makefile
.include <bsd.port.mk>