svn commit: r407374 - head/games/unnethack

Pawel Pekala pawel at FreeBSD.org
Wed Jan 27 18:08:10 UTC 2016


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
- at dirrm %%DATADIR%%
 @mode 664
 %%VARDIR%%/logfile
 %%VARDIR%%/perm
 %%VARDIR%%/record
 %%VARDIR%%/xlogfile
- at mode 775
- at dirrmtry %%VARDIR%%/bones
- at dirrmtry %%VARDIR%%/level
- at dirrmtry %%VARDIR%%/saves
- at 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
- at dirrm %%DOCSDIR%%
+ at dir(games,games,) %%DATADIR%%
+ at dir(games,games,775) %%VARDIR%%/bones
+ at dir(games,games,775) %%VARDIR%%/level
+ at dir(games,games,775) %%VARDIR%%/saves


More information about the svn-ports-head mailing list