mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-22 00:35:15 +00:00
- Add stage support
- Remove indefinite article from COMMENT - Convert USE_GMAKE to USES
This commit is contained in:
parent
ecb3b6673d
commit
715b1de89d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=332561
@ -8,14 +8,13 @@ CATEGORIES= games
|
||||
MASTER_SITES= SF/lgames/${PORTNAME}
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= A nice clone of classical Breakout game
|
||||
COMMENT= Nice clone of classical Breakout game
|
||||
|
||||
USE_SDL= sdl
|
||||
USE_GMAKE= yes
|
||||
USES= gmake
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ENV= LIBS="-lcompat"
|
||||
|
||||
NO_STAGE= yes
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
|
||||
@${GREP} -lR "SDL/SDL" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
|
||||
@ -23,12 +22,6 @@ post-patch:
|
||||
s|<SDL/SDL|<SDL|g'
|
||||
|
||||
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
|
||||
${MKDIR} ${STAGEDIR}/var/games/${PORTNAME}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,4 +1,8 @@
|
||||
@group games
|
||||
@mode 2755
|
||||
bin/lbreakout
|
||||
@mode
|
||||
@group
|
||||
share/lbreakout/ball.bmp
|
||||
share/lbreakout/bkgnd0.bmp
|
||||
share/lbreakout/bkgnd1.bmp
|
||||
@ -45,5 +49,9 @@ share/lbreakout/weapon.wav
|
||||
share/lbreakout/wontgiveup.wav
|
||||
@dirrm share/lbreakout
|
||||
@cwd /var/games
|
||||
@group games
|
||||
@mode 664
|
||||
lbreakout/lbreakout.hscr
|
||||
@mode
|
||||
@group
|
||||
@dirrm lbreakout
|
||||
|
Loading…
Reference in New Issue
Block a user