svn commit: r405471 - head/games/moria

Pawel Pekala pawel at FreeBSD.org
Thu Jan 7 16:50:04 UTC 2016


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
- at 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
- at mode 644
-%%DATADIR%%/scores
- at mode 444
+@(,,644) %%DATADIR%%/scores
 %%DATADIR%%/version.hlp
 %%DATADIR%%/welcome.hlp
 @owner
 @group
 @mode
 man/man6/moria.6.gz
- at dirrm %%DATADIR%%


More information about the svn-ports-head mailing list