Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jan 2016 18:08:09 +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: r407374 - head/games/unnethack
Message-ID:  <201601271808.u0RI89aw041411@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Wed Jan 27 18:08:08 2016
New Revision: 407374
URL: https://svnweb.freebsd.org/changeset/ports/407374

Log:
  - Modernize pkg-plist
  - Use option helper
  - pkg-message is shown automatically now
  
  Approved by:	portmgr blanket

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

Modified: head/games/unnethack/Makefile
==============================================================================
--- head/games/unnethack/Makefile	Wed Jan 27 17:42:42 2016	(r407373)
+++ head/games/unnethack/Makefile	Wed Jan 27 18:08:08 2016	(r407374)
@@ -39,7 +39,8 @@ post-install:
 			*) ${MV} $$fn unnethack_$$fn ;; \
 		esac; \
 	done
+
+post-install-DOCS-on:
 	${INSTALL_DATA} ${FILESDIR}/sample.unnethackrc ${STAGEDIR}${DOCSDIR}
-	@${CAT} ${PKGMESSAGE}
 
 .include <bsd.port.mk>

Modified: head/games/unnethack/pkg-plist
==============================================================================
--- head/games/unnethack/pkg-plist	Wed Jan 27 17:42:42 2016	(r407373)
+++ head/games/unnethack/pkg-plist	Wed Jan 27 18:08:08 2016	(r407374)
@@ -6,17 +6,11 @@ bin/unnethack
 %%DATADIR%%/nhdat
 %%DATADIR%%/recover
 %%DATADIR%%/unnethack
-@dirrm %%DATADIR%%
 @mode 664
 %%VARDIR%%/logfile
 %%VARDIR%%/perm
 %%VARDIR%%/record
 %%VARDIR%%/xlogfile
-@mode 775
-@dirrmtry %%VARDIR%%/bones
-@dirrmtry %%VARDIR%%/level
-@dirrmtry %%VARDIR%%/saves
-@unexec rmdir -p %D/%%VARDIR%% 2>/dev/null || true
 @owner
 @group
 @mode
@@ -28,4 +22,7 @@ man/man6/unnethack.6.gz
 %%DOCSDIR%%/Guidebook.txt
 %%DOCSDIR%%/license
 %%PORTDOCS%%%%DOCSDIR%%/sample.unnethackrc
-@dirrm %%DOCSDIR%%
+@dir(games,games,) %%DATADIR%%
+@dir(games,games,775) %%VARDIR%%/bones
+@dir(games,games,775) %%VARDIR%%/level
+@dir(games,games,775) %%VARDIR%%/saves



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