From owner-svn-ports-head@freebsd.org Thu Jan 7 16:50:03 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E451AA662FD; Thu, 7 Jan 2016 16:50:03 +0000 (UTC) (envelope-from pawel@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B7DFC1525; Thu, 7 Jan 2016 16:50:03 +0000 (UTC) (envelope-from pawel@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u07Go27I063670; Thu, 7 Jan 2016 16:50:02 GMT (envelope-from pawel@FreeBSD.org) Received: (from pawel@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u07Go2uW063668; Thu, 7 Jan 2016 16:50:02 GMT (envelope-from pawel@FreeBSD.org) Message-Id: <201601071650.u07Go2uW063668@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pawel set sender to pawel@FreeBSD.org using -f From: Pawel Pekala Date: Thu, 7 Jan 2016 16:50:02 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r405471 - head/games/moria X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jan 2016 16:50:04 -0000 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 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%%