1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/games/ri-li/Makefile
Martin Wilke 186943f931 - Update to 1.2.0
PR:		ports/102215
Submitted by:	chinsan <chinsan.tw(at)gmail.com>
Approved by:	krion (mentor), maintainer
2006-08-21 11:40:14 +00:00

30 lines
786 B
Makefile

# New ports collection makefile for: Ri-li
# Date created: 03 Jul 2006
# Whom: Dmitry Marakasov <amdmi3@mail.ru>
#
# $FreeBSD$
#
PORTNAME= Ri-li
PORTVERSION= 1.2.0
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ri-li
MAINTAINER= amdmi3@mail.ru
COMMENT= Drive a toy wood train in many levels - snake-like arcade game
USE_BZIP2= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_SDL= sdl mixer
CONFIGURE_ENV= CPPFLAGS="`${SDL_CONFIG} --cflags` -I${X11BASE}/include"
post-patch:
@${REINPLACE_CMD} -e 's|SDL/|SDL11/|' ${WRKSRC}/src/*.cc ${WRKSRC}/src/*.h
@${REINPLACE_CMD} -e 's|-lSDL |`${SDL_CONFIG} --libs`|' ${WRKSRC}/configure
@${REINPLACE_CMD} -e '/strcpy.*DefPath/ s|.*|strcpy(DefPath,"${DATADIR}/");|' ${WRKSRC}/src/main.cc
.include <bsd.port.mk>