Date: Thu, 22 Oct 2020 08:25:05 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r552946 - head/games/bsdtris Message-ID: <202010220825.09M8P5G4001288@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@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 @@ -@group games -bin/bsdtris -@group +@(,games,) bin/bsdtris man/man6/bsdtris.6.gz -@exec touch /var/games/bsdtris.scores ; chmod 664 /var/games/bsdtris.scores ; chgrp games /var/games/bsdtris.scores -@unexec if test ! -s /var/games/bsdtris.scores; then rm -f /var/games/bsdtris.scores; fi +@postexec touch /var/games/bsdtris.scores ; chmod 664 /var/games/bsdtris.scores ; chgrp games /var/games/bsdtris.scores +@rmempty /var/games/bsdtris.scores
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202010220825.09M8P5G4001288>