svn commit: r332561 - head/games/lbreakout
Danilo Egea Gondolfo
danilo at FreeBSD.org
Sat Nov 2 23:41:52 UTC 2013
Author: danilo
Date: Sat Nov 2 23:41:51 2013
New Revision: 332561
URL: http://svnweb.freebsd.org/changeset/ports/332561
Log:
- Add stage support
- Remove indefinite article from COMMENT
- Convert USE_GMAKE to USES
Modified:
head/games/lbreakout/Makefile
head/games/lbreakout/pkg-plist
Modified: head/games/lbreakout/Makefile
==============================================================================
--- head/games/lbreakout/Makefile Sat Nov 2 23:37:13 2013 (r332560)
+++ head/games/lbreakout/Makefile Sat Nov 2 23:41:51 2013 (r332561)
@@ -8,14 +8,13 @@ CATEGORIES= games
MASTER_SITES= SF/lgames/${PORTNAME}
MAINTAINER= ports at 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>
Modified: head/games/lbreakout/pkg-plist
==============================================================================
--- head/games/lbreakout/pkg-plist Sat Nov 2 23:37:13 2013 (r332560)
+++ head/games/lbreakout/pkg-plist Sat Nov 2 23:41:51 2013 (r332561)
@@ -1,4 +1,8 @@
+ at group games
+ at mode 2755
bin/lbreakout
+ at mode
+ at 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
+ at group games
+ at mode 664
lbreakout/lbreakout.hscr
+ at mode
+ at group
@dirrm lbreakout
More information about the svn-ports-all
mailing list