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

(-)games/ltris/Makefile (-8 / +8 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	ltris
8
PORTNAME=	ltris
9
PORTVERSION=	1.0.1
9
PORTVERSION=	1.0.4
10
PORTEPOCH=	1
10
PORTEPOCH=	1
11
CATEGORIES=	games
11
CATEGORIES=	games
12
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
12
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
Lines 17-32 Link Here
17
17
18
LIB_DEPENDS=	SDL_mixer.2:${PORTSDIR}/audio/sdl_mixer
18
LIB_DEPENDS=	SDL_mixer.2:${PORTSDIR}/audio/sdl_mixer
19
19
20
SDL_CONFIG?=	${LOCALBASE}/bin/sdl11-config
20
USE_SDL=	yes
21
21
USE_REINPLACE=	yes
22
USE_GMAKE=	yes
22
USE_GMAKE=	yes
23
GNU_CONFIGURE=	yes
23
GNU_CONFIGURE=	yes
24
CONFIGURE_ENV=	SDL_CONFIG="${SDL_CONFIG}"
25
24
26
pre-patch:
25
post-patch:
27
	@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
26
	@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
28
	@find ${WRKSRC} \( -name "*.[ch]" -or -name "*.cpp" \) | \
27
	@${GREP} -lR "SDL/SDL" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
29
		xargs ${PERL} -pi -e 's|"SDL/SDL|"SDL|g ; s|<SDL/SDL|<SDL|g'
28
		's|"SDL/SDL|"SDL|g ; \
29
		 s|<SDL/SDL|<SDL|g'
30
30
31
post-install:
31
post-install:
32
	${CHOWN} root:games ${PREFIX}/bin/${PORTNAME}
32
	${CHOWN} root:games ${PREFIX}/bin/${PORTNAME}
(-)games/ltris/distinfo (-1 / +1 lines)
Line 1 Link Here
1
MD5 (ltris-1.0.1.tar.gz) = 76f87ccc12442b8107abe295c9167327
1
MD5 (ltris-1.0.4.tar.gz) = e5fc931877f21384972e755894254b43

Return to bug 55244