2000-10-20 09:32:38 +02:00
|
|
|
# New ports collection makefile for: lbreakout
|
|
|
|
# Date created: 19 October 2000
|
|
|
|
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $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
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= A 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
|
2000-10-20 09:32:38 +02:00
|
|
|
USE_GMAKE= yes
|
|
|
|
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:
|
|
|
|
${MKDIR} /var/games/${PORTNAME}
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${CHOWN} root:games ${PREFIX}/bin/${PORTNAME}
|
|
|
|
${CHMOD} 2755 ${PREFIX}/bin/${PORTNAME}
|
|
|
|
${CHMOD} 664 /var/games/${PORTNAME}/${PORTNAME}.hscr
|
|
|
|
${CHOWN} root:games /var/games/${PORTNAME}/${PORTNAME}.hscr
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|