Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Jan 2016 16:50:02 +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: r405471 - head/games/moria
Message-ID:  <201601071650.u07Go2uW063668@repo.freebsd.org>

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

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

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

Modified: head/games/moria/Makefile
==============================================================================
--- head/games/moria/Makefile	Thu Jan  7 16:48:13 2016	(r405470)
+++ head/games/moria/Makefile	Thu Jan  7 16:50:02 2016	(r405471)
@@ -26,9 +26,10 @@ do-configure:
 	${REINPLACE_CMD} -e "s:%%DATADIR%%:${DATADIR}:g" ${WRKSRC}/source/config.h
 	cd ${WRKSRC} && ${LN} -sf source/* unix/* .
 
-do-install:
-	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} install
+post-install:
 	${INSTALL_MAN} ${WRKSRC}/doc/moria.6 ${STAGEDIR}${PREFIX}/man/man6/
+
+post-install-DOCS-on:
 	cd ${WRKSRC}/doc && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} install
 
 .include <bsd.port.mk>

Modified: head/games/moria/pkg-plist
==============================================================================
--- head/games/moria/pkg-plist	Thu Jan  7 16:48:13 2016	(r405470)
+++ head/games/moria/pkg-plist	Thu Jan  7 16:50:02 2016	(r405471)
@@ -1,7 +1,6 @@
 @owner games
 @group games
-@mode 4711
-bin/moria
+@(,,4711) bin/moria
 @mode 444
 %%DATADIR%%/hours
 %%DATADIR%%/news
@@ -9,13 +8,10 @@ bin/moria
 %%DATADIR%%/owizcmds.hlp
 %%DATADIR%%/roglcmds.hlp
 %%DATADIR%%/rwizcmds.hlp
-@mode 644
-%%DATADIR%%/scores
-@mode 444
+@(,,644) %%DATADIR%%/scores
 %%DATADIR%%/version.hlp
 %%DATADIR%%/welcome.hlp
 @owner
 @group
 @mode
 man/man6/moria.6.gz
-@dirrm %%DATADIR%%



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