svn commit: r405472 - head/games/nethack32

Pawel Pekala pawel at FreeBSD.org
Thu Jan 7 16:51:40 UTC 2016


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
- at mode 555
-bin/%%HACKNAME%%
+@(,,555) bin/%%HACKNAME%%
 @owner games
 @group games
- at mode 02755
-%%DATADIR%%/%%HACKNAME%%
- at 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
- at mode 664
-%%DATADIR%%/logfile
- at 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
- at mode 664
-%%DATADIR%%/record
- at mode
- at mode 02755
-%%DATADIR%%/recover
- at 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
- at mode 0775
- at owner games
- at group games
- at dirrmtry %%DATADIR%%/save
- at group
- at owner
- at mode
- at dirrmtry %%DATADIR%%
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
+ at dir(games,games,0755) %%DATADIR%%/save


More information about the svn-ports-all mailing list