2013-09-20 19:36:33 +02:00
|
|
|
# Created by: Maxim Sobolev <sobomax@FreeBSD.org>
|
2000-10-20 09:32:38 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= lbreakout
|
2001-03-16 17:59:21 +01:00
|
|
|
PORTVERSION= 010315
|
2012-02-18 11:18:33 +01:00
|
|
|
PORTREVISION= 6
|
2000-10-20 09:32:38 +02:00
|
|
|
CATEGORIES= games
|
2011-07-02 09:37:41 +02:00
|
|
|
MASTER_SITES= SF/lgames/${PORTNAME}
|
2000-10-20 09:32:38 +02:00
|
|
|
|
2006-09-05 06:26:12 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2013-11-03 00:41:51 +01:00
|
|
|
COMMENT= Nice clone of classical Breakout game
|
2000-10-20 09:32:38 +02:00
|
|
|
|
2004-03-08 02:01:31 +01:00
|
|
|
USE_SDL= sdl
|
2013-11-03 00:41:51 +01:00
|
|
|
USES= gmake
|
2000-10-20 09:32:38 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2004-01-16 15:05:28 +01:00
|
|
|
CONFIGURE_ENV= LIBS="-lcompat"
|
2000-10-20 09:32:38 +02:00
|
|
|
|
2004-01-16 15:05:28 +01:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
|
|
|
|
@${GREP} -lR "SDL/SDL" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
|
|
|
|
's|"SDL/SDL|"SDL|g ; \
|
|
|
|
s|<SDL/SDL|<SDL|g'
|
2000-10-20 09:32:38 +02:00
|
|
|
|
|
|
|
pre-install:
|
2013-11-03 00:41:51 +01:00
|
|
|
${MKDIR} ${STAGEDIR}/var/games/${PORTNAME}
|
2000-10-20 09:32:38 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|