# New ports collection makefile for: ri-li # Date created: 03 Jul 2006 # Whom: Dmitry Marakasov # # $FreeBSD$ # PORTNAME= Ri-li PORTVERSION= 2.0.1 PORTREVISION= 2 CATEGORIES= games MASTER_SITES= SF/${PORTNAME:L}/${PORTNAME}%20Linux_Unix/${PORTNAME}%20V${PORTVERSION} MAINTAINER= amdmi3@FreeBSD.org COMMENT= Drive a toy wood train in many levels - snake-like arcade game USE_AUTOTOOLS= automake:19 USE_BZIP2= yes GNU_CONFIGURE= yes USE_GMAKE= yes USE_SDL= sdl mixer MAKE_JOBS_SAFE= yes CONFIGURE_ENV= CPPFLAGS="`${SDL_CONFIG} --cflags` -I${LOCALBASE}/include" DESKTOP_ENTRIES="Ri-li" \ "Drive a toy wood train in many levels - snake-like arcade game" \ "${DATADIR}/Ri-li-icon-48x48.png" \ "Ri_li" \ "Game;ArcadeGame;" \ false 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