View | Details | Raw Unified | Return to bug 61424
Collapse All | Expand All

(-)games/lbreakout/Makefile (-11 / +8 lines)
Lines 14-33 Link Here
14
MAINTAINER=	ports@FreeBSD.org
14
MAINTAINER=	ports@FreeBSD.org
15
COMMENT=	A nice clone of classical Breakout game
15
COMMENT=	A nice clone of classical Breakout game
16
16
17
LIB_DEPENDS=	SDL-1.1.5:${PORTSDIR}/devel/sdl12
17
USE_SDL=	yes
18
18
USE_REINPLACE=	yes
19
SDL_CONFIG?=	${LOCALBASE}/bin/sdl11-config
20
21
USE_GMAKE=	yes
19
USE_GMAKE=	yes
22
USE_PERL5_BUILD=yes
23
GNU_CONFIGURE=	yes
20
GNU_CONFIGURE=	yes
24
CONFIGURE_ENV=	LIBS="-lcompat" \
21
CONFIGURE_ENV=	LIBS="-lcompat"
25
		SDL_CONFIG="${SDL_CONFIG}"
26
22
27
pre-patch:
23
post-patch:
28
	@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
24
	@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
29
	@${FIND} ${WRKSRC} \( -name "*.[ch]" -or -name "*.cpp" \) | \
25
	@${GREP} -lR "SDL/SDL" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
30
		${XARGS} ${PERL} -pi -e 's|"SDL/SDL|"SDL|g ; s|<SDL/SDL|<SDL|g'
26
		's|"SDL/SDL|"SDL|g ; \
27
		 s|<SDL/SDL|<SDL|g'
31
28
32
pre-install:
29
pre-install:
33
	${MKDIR} /var/games/${PORTNAME}
30
	${MKDIR} /var/games/${PORTNAME}
(-)games/lbreakout/pkg-descr (-1 / +1 lines)
Lines 18-21 Link Here
18
     Cool effects
18
     Cool effects
19
     Own levels can be created
19
     Own levels can be created
20
20
21
WWW: http://lgames.sourceforge.net/#lbreakout
21
WWW: http://lgames.sourceforge.net/index.php?project=LBreakout

Return to bug 61424