From owner-svn-ports-all@freebsd.org Sat Jan 2 15:53:40 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D233EA5ED1A; Sat, 2 Jan 2016 15:53:40 +0000 (UTC) (envelope-from pawel@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AA42A10F2; Sat, 2 Jan 2016 15:53:40 +0000 (UTC) (envelope-from pawel@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u02FrdL8019242; Sat, 2 Jan 2016 15:53:39 GMT (envelope-from pawel@FreeBSD.org) Received: (from pawel@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u02FrdKF019240; Sat, 2 Jan 2016 15:53:39 GMT (envelope-from pawel@FreeBSD.org) Message-Id: <201601021553.u02FrdKF019240@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pawel set sender to pawel@FreeBSD.org using -f From: Pawel Pekala Date: Sat, 2 Jan 2016 15:53:39 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r405076 - head/games/zangband X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Jan 2016 15:53:40 -0000 Author: pawel Date: Sat Jan 2 15:53:39 2016 New Revision: 405076 URL: https://svnweb.freebsd.org/changeset/ports/405076 Log: - Switch to USES=localbase - Replace deprecated @dirrm entries and @exec's creating directories with @dir keywords. We need more @dir entries to be sure that directories are created as before with games:games ownership instead of default root:wheel Modified: head/games/zangband/Makefile head/games/zangband/pkg-plist Modified: head/games/zangband/Makefile ============================================================================== --- head/games/zangband/Makefile Sat Jan 2 15:24:37 2016 (r405075) +++ head/games/zangband/Makefile Sat Jan 2 15:53:39 2016 (r405076) @@ -14,7 +14,7 @@ NO_CDROM= Possible copyright infringemen WRKSRC= ${WRKDIR}/${PORTNAME} -USES= autoreconf gmake ncurses perl5 +USES= autoreconf gmake localbase ncurses perl5 USE_PERL5= build GNU_CONFIGURE= yes CONFIGURE_ARGS= --datadir=${PREFIX}/lib \ @@ -23,9 +23,6 @@ MAKE_ENV= VERBOSE=1 MAKEFILE= makefile ALL_TARGET= default -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib - SUB_FILES= pkg-deinstall pkg-message SUB_LIST= ANGBANDBIN="${ANGBANDBIN}" ANGBANDLIB="${ANGBANDLIB}" Modified: head/games/zangband/pkg-plist ============================================================================== --- head/games/zangband/pkg-plist Sat Jan 2 15:24:37 2016 (r405075) +++ head/games/zangband/pkg-plist Sat Jan 2 15:53:39 2016 (r405076) @@ -1,15 +1,11 @@ @group games @owner games -@mode 2555 -%%ANGBANDBIN%% -@mode +@(,,2555) %%ANGBANDBIN%% %%ANGBANDLIB%%/apex/readme.txt @unexec cmp -s %D/%%ANGBANDLIB%%/apex/scores.raw %D/%%ANGBANDLIB%%/apex/z_scores.raw && rm %D/%%ANGBANDLIB%%/apex/scores.raw || true @unexec cmp -s %D/%%ANGBANDLIB%%/apex/scores.raw /dev/null && rm %D/%%ANGBANDLIB%%/apex/scores.raw || true %%ANGBANDLIB%%/apex/z_scores.raw @exec test -f %D/%%ANGBANDLIB%%/apex/scores.raw || touch %D/%%ANGBANDLIB%%/apex/scores.raw -@exec install -d -o games -g games %D/%%ANGBANDLIB%%/bone -@exec install -d -o games -g games -m 775 %D/%%ANGBANDLIB%%/data %%ANGBANDLIB%%/edit/a_info.txt %%ANGBANDLIB%%/edit/e_info.txt %%ANGBANDLIB%%/edit/f_info.txt @@ -81,7 +77,6 @@ %%ANGBANDLIB%%/help/town.txt %%ANGBANDLIB%%/help/version.txt %%ANGBANDLIB%%/help/wizard.txt -@exec install -d -o games -g games %D/%%ANGBANDLIB%%/info %%ANGBANDLIB%%/pref/colors.prf %%ANGBANDLIB%%/pref/font-ami.prf %%ANGBANDLIB%%/pref/font-dos.prf @@ -268,38 +263,28 @@ %%ANGBANDLIB%%/xtra/graf/8x13.bmp %%ANGBANDLIB%%/xtra/graf/8x8.bmp %%ANGBANDLIB%%/xtra/graf/mask.bmp -@exec install -d -o games -g games %D/%%ANGBANDLIB%%/xtra/help -@exec install -d -o games -g games %D/%%ANGBANDLIB%%/xtra/music %%ANGBANDLIB%%/xtra/sound/sound.cfg -@dirrm %%ANGBANDLIB%%/xtra/sound -@dirrm %%ANGBANDLIB%%/xtra/music -@dirrm %%ANGBANDLIB%%/xtra/help -@dirrm %%ANGBANDLIB%%/xtra/graf -@dirrm %%ANGBANDLIB%%/xtra/font -@dirrm %%ANGBANDLIB%%/xtra -@mode 1777 -@dirrmtry %%ANGBANDLIB%%/user -@mode -@dirrm %%ANGBANDLIB%%/script/tk/library -@dirrm %%ANGBANDLIB%%/script/tk/image -@dirrm %%ANGBANDLIB%%/script/tk/config -@dirrm %%ANGBANDLIB%%/script/tk -@dirrm %%ANGBANDLIB%%/script -@mode 1777 -@dirrmtry %%ANGBANDLIB%%/save -@mode -@dirrm %%ANGBANDLIB%%/pref -@dirrm %%ANGBANDLIB%%/info -@dirrm %%ANGBANDLIB%%/help -@dirrm %%ANGBANDLIB%%/file -@dirrm %%ANGBANDLIB%%/edit -@mode 775 -@dirrmtry %%ANGBANDLIB%%/data -@mode -@dirrm %%ANGBANDLIB%%/bone -@mode 775 -@dirrmtry %%ANGBANDLIB%%/apex -@mode -@dirrmtry %%ANGBANDLIB%% @owner @group +@dir(games,games,) %%ANGBANDLIB%%/xtra/sound +@dir(games,games,) %%ANGBANDLIB%%/xtra/music +@dir(games,games,) %%ANGBANDLIB%%/xtra/help +@dir(games,games,) %%ANGBANDLIB%%/xtra/graf +@dir(games,games,) %%ANGBANDLIB%%/xtra/font +@dir(games,games,) %%ANGBANDLIB%%/xtra +@dir(games,games,1777) %%ANGBANDLIB%%/user +@dir(games,games,) %%ANGBANDLIB%%/script/tk/library +@dir(games,games,) %%ANGBANDLIB%%/script/tk/image +@dir(games,games,) %%ANGBANDLIB%%/script/tk/config +@dir(games,games,) %%ANGBANDLIB%%/script/tk +@dir(games,games,) %%ANGBANDLIB%%/script +@dir(games,games,1777) %%ANGBANDLIB%%/save +@dir(games,games,) %%ANGBANDLIB%%/pref +@dir(games,games,) %%ANGBANDLIB%%/info +@dir(games,games,) %%ANGBANDLIB%%/help +@dir(games,games,) %%ANGBANDLIB%%/file +@dir(games,games,) %%ANGBANDLIB%%/edit +@dir(games,games,775) %%ANGBANDLIB%%/data +@dir(games,games,) %%ANGBANDLIB%%/bone +@dir(games,games,775) %%ANGBANDLIB%%/apex +@dir(games,games) %%ANGBANDLIB%%