svn commit: r552946 - head/games/bsdtris

Baptiste Daroussin bapt at FreeBSD.org
Thu Oct 22 08:25:05 UTC 2020


Author: bapt
Date: Thu Oct 22 08:25:04 2020
New Revision: 552946
URL: https://svnweb.freebsd.org/changeset/ports/552946

Log:
  Use @rmempty
  
  While here:
  - Document the license
  - simplify the plist to enforce the games group on the binary
  - use @postexec instead of @exec

Modified:
  head/games/bsdtris/Makefile
  head/games/bsdtris/pkg-plist

Modified: head/games/bsdtris/Makefile
==============================================================================
--- head/games/bsdtris/Makefile	Thu Oct 22 08:22:35 2020	(r552945)
+++ head/games/bsdtris/Makefile	Thu Oct 22 08:25:04 2020	(r552946)
@@ -11,6 +11,8 @@ DISTNAME=	${PORTNAME}-01092003
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	BSD version of text-based Tetris game
 
+LICENSE=	BSD3CLAUSE
+
 USES=		ncurses
 MAKE_ARGS=	TMPLDFLAGS="-lncurses"
 NO_WRKSUBDIR=	yes

Modified: head/games/bsdtris/pkg-plist
==============================================================================
--- head/games/bsdtris/pkg-plist	Thu Oct 22 08:22:35 2020	(r552945)
+++ head/games/bsdtris/pkg-plist	Thu Oct 22 08:25:04 2020	(r552946)
@@ -1,6 +1,4 @@
- at group games
-bin/bsdtris
- at group
+@(,games,) bin/bsdtris
 man/man6/bsdtris.6.gz
- at exec touch /var/games/bsdtris.scores ; chmod 664 /var/games/bsdtris.scores ; chgrp games /var/games/bsdtris.scores
- at unexec if test ! -s /var/games/bsdtris.scores; then rm -f /var/games/bsdtris.scores; fi
+ at postexec touch /var/games/bsdtris.scores ; chmod 664 /var/games/bsdtris.scores ; chgrp games /var/games/bsdtris.scores
+ at rmempty /var/games/bsdtris.scores


More information about the svn-ports-head mailing list