Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Jan 2016 16:51: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: r405472 - head/games/nethack32
Message-ID:  <201601071651.u07GpdwP065786@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Thu Jan  7 16:51:39 2016
New Revision: 405472
URL: https://svnweb.freebsd.org/changeset/ports/405472

Log:
  - Modernize pkg-plist, remove deprecated @dirrm
  - Convert to options helper
  
  PR:		205845
  Submitted by:	myself
  Approved by:	maintainer

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

Modified: head/games/nethack32/Makefile
==============================================================================
--- head/games/nethack32/Makefile	Thu Jan  7 16:50:02 2016	(r405471)
+++ head/games/nethack32/Makefile	Thu Jan  7 16:51:39 2016	(r405472)
@@ -70,6 +70,7 @@ post-install:
 .endif
 	${DO_MAKE_BUILD} -C ${WRKSRC}/doc ${MAKE_ARGS} manpages
 
+post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/doc/Guidebook.txt ${STAGEDIR}${DOCSDIR}
 

Modified: head/games/nethack32/pkg-plist
==============================================================================
--- head/games/nethack32/pkg-plist	Thu Jan  7 16:50:02 2016	(r405471)
+++ head/games/nethack32/pkg-plist	Thu Jan  7 16:51:39 2016	(r405472)
@@ -1,11 +1,8 @@
 %%HACKLINK%%bin/nethack
-@mode 555
-bin/%%HACKNAME%%
+@(,,555) bin/%%HACKNAME%%
 @owner games
 @group games
-@mode 02755
-%%DATADIR%%/%%HACKNAME%%
-@mode
+@(,,02755) %%DATADIR%%/%%HACKNAME%%
 %%DATADIR%%/A-filla.lev
 %%DATADIR%%/A-fillb.lev
 %%DATADIR%%/A-goal.lev
@@ -89,9 +86,7 @@ bin/%%HACKNAME%%
 %%DATADIR%%/juiblex.lev
 %%DATADIR%%/knox.lev
 %%DATADIR%%/license
-@mode 664
-%%DATADIR%%/logfile
-@mode
+@(,,664) %%DATADIR%%/logfile
 %%DATADIR%%/medusa-1.lev
 %%DATADIR%%/medusa-2.lev
 %%DATADIR%%/minefill.lev
@@ -107,12 +102,8 @@ bin/%%HACKNAME%%
 %%DATADIR%%/perm
 %%DATADIR%%/pet_mark.xbm
 %%DATADIR%%/quest.dat
-@mode 664
-%%DATADIR%%/record
-@mode
-@mode 02755
-%%DATADIR%%/recover
-@mode
+@(,,664) %%DATADIR%%/record
+@(,,02755) %%DATADIR%%/recover
 %%DATADIR%%/rip.xpm
 %%DATADIR%%/rumors
 %%DATADIR%%/sanctum.lev
@@ -135,12 +126,4 @@ man/man6/lev_comp%%HACKEXT%%.6.gz
 man/man6/%%HACKNAME%%.6.gz
 man/man6/recover%%HACKEXT%%.6.gz
 %%PORTDOCS%%%%DOCSDIR%%/Guidebook.txt
-@mode 0775
-@owner games
-@group games
-@dirrmtry %%DATADIR%%/save
-@group
-@owner
-@mode
-@dirrmtry %%DATADIR%%
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@dir(games,games,0755) %%DATADIR%%/save



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601071651.u07GpdwP065786>