1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-19 08:13:21 +00:00
freebsd-ports/games/ri-li/Makefile
Dmitry Marakasov 6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00

38 lines
993 B
Makefile

# New ports collection makefile for: ri-li
# Date created: 03 Jul 2006
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
#
# $FreeBSD$
#
PORTNAME= Ri-li
PORTVERSION= 2.0.1
PORTREVISION= 3
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_BZIP2= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_SDL= sdl mixer
MAKE_JOBS_SAFE= yes
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 's| gentoo||' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e '/strcpy.*DefPath/ s|.*|strcpy(DefPath,"${DATADIR}/");|' ${WRKSRC}/src/main.cc
.include <bsd.port.mk>