Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Oct 2014 14:44:41 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r371837 - head/games/fargoal
Message-ID:  <201410311444.s9VEifD0063530@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Fri Oct 31 14:44:40 2014
New Revision: 371837
URL: https://svnweb.freebsd.org/changeset/ports/371837
QAT: https://qat.redports.org/buildarchive/r371837/

Log:
  - Simplify installation
  - Drop @dirrm* from plist

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

Modified: head/games/fargoal/Makefile
==============================================================================
--- head/games/fargoal/Makefile	Fri Oct 31 14:44:35 2014	(r371836)
+++ head/games/fargoal/Makefile	Fri Oct 31 14:44:40 2014	(r371837)
@@ -22,15 +22,6 @@ SUB_FILES=	${PORTNAME}-sh
 do-install:
 	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}-sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
 	${INSTALL_PROGRAM} ${WRKSRC}/../sword ${STAGEDIR}${PREFIX}/libexec/${PORTNAME}
-.for f in agreement.txt data gfx sfx
-	@${MKDIR} ${STAGEDIR}${DATADIR}
-	${CP} -R ${WRKSRC}/../${f} ${STAGEDIR}${DATADIR}
-.endfor
-
-post-install:
-	@${FIND} ${STAGEDIR}${DATADIR} -type f -print0 | \
-		${XARGS} -0 ${CHMOD} ${SHAREMODE}
-	@${FIND} ${STAGEDIR}${DATADIR} -type d -print0 | \
-		${XARGS} -0 ${CHMOD} ${BINMODE}
+	cd ${WRKSRC}/.. && ${COPYTREE_SHARE} "agreement.txt data gfx sfx" ${STAGEDIR}${DATADIR}
 
 .include <bsd.port.mk>

Modified: head/games/fargoal/pkg-plist
==============================================================================
--- head/games/fargoal/pkg-plist	Fri Oct 31 14:44:35 2014	(r371836)
+++ head/games/fargoal/pkg-plist	Fri Oct 31 14:44:40 2014	(r371837)
@@ -48,7 +48,3 @@ libexec/fargoal
 %%DATADIR%%/sfx/ugh.wav
 %%DATADIR%%/sfx/up.wav
 %%DATADIR%%/sfx/victory.wav
-@dirrm %%DATADIR%%/sfx
-@dirrm %%DATADIR%%/gfx
-@dirrm %%DATADIR%%/data
-@dirrm %%DATADIR%%



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