freebsd-ports/games/flobopuyo/Makefile
2009-01-05 16:14:51 +00:00

31 lines
939 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= 4
CATEGORIES= games
MASTER_SITES= http://www.ios-software.com/flobopuyo/ \
http://mirror.amdmi3.ru/
EXTRACT_SUFX= .tgz
MAINTAINER= amdmi3@FreeBSD.org
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>