Date: Sat, 2 Jan 2016 15:53:39 +0000 (UTC) From: Pawel Pekala <pawel@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r405076 - head/games/zangband Message-ID: <201601021553.u02FrdKF019240@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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%%
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601021553.u02FrdKF019240>