freebsd-ports/games/ri-li/Makefile
Martin Wilke 6aa751d261 - Update to 2.0.0
PR:		ports/105009
Submitted by:	Dmitry Marakasov <amdmi3@mail.ru> (maintainer)
Sponsored by:   FreeBSD Bug-a-thon #2
2006-11-04 22:29:51 +00:00

28 lines
710 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= 2.0.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|-lSDL |`${SDL_CONFIG} --libs`|' ${WRKSRC}/configure
@${REINPLACE_CMD} -e '/strcpy.*DefPath/ s|.*|strcpy(DefPath,"${DATADIR}/");|' ${WRKSRC}/src/main.cc
.include <bsd.port.mk>