Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Jun 2016 09:03:53 +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: r416446 - head/games/bugsquish
Message-ID:  <201606060903.u5693rmK046531@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Mon Jun  6 09:03:53 2016
New Revision: 416446
URL: https://svnweb.freebsd.org/changeset/ports/416446

Log:
  - Switch to options helpers

Modified:
  head/games/bugsquish/Makefile

Modified: head/games/bugsquish/Makefile
==============================================================================
--- head/games/bugsquish/Makefile	Mon Jun  6 07:57:32 2016	(r416445)
+++ head/games/bugsquish/Makefile	Mon Jun  6 09:03:53 2016	(r416446)
@@ -22,16 +22,17 @@ USES=		gmake
 USE_SDL=	image mixer sdl
 
 PORTDOCS=	AUTHORS.txt CHANGES.txt README.txt
-OPTIONS_DEFINE=	DOCS
 
 DESKTOP_ENTRIES="Bug Squish" "" "${PORTNAME}" \
 		"${PORTNAME}" "Game;ArcadeGame;" ""
 
+OPTIONS_DEFINE=	DOCS
+
 post-extract:
 	${TAR} xfjp ${_DISTDIR}/${PORTNAME}_music${EXTRACT_SUFX} -C \
 		${WRKSRC}/data/music/
 	@cd ${WRKSRC}/data/music ; ${RM} -f *.mod
-	@${FIND} ${WRKDIR} -name .xvpics | ${XARGS} ${RM} -fr
+	@${FIND} ${WRKDIR} -name .xvpics -print0 | ${XARGS} -0 ${RM} -fr
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|/usr/share/bugsquish/|${DATADIR}/| ; \
@@ -44,14 +45,11 @@ post-patch:
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
-
-.  for d in embedded images music sounds
-	@(cd ${WRKSRC}/data && ${COPYTREE_SHARE} ${d} ${STAGEDIR}${DATADIR})
-.  endfor
-
+	@(cd ${WRKSRC}/data && ${COPYTREE_SHARE} "embedded images music sounds" ${STAGEDIR}${DATADIR})
 	${LN} -sf ${PREFIX}/share/bugsquish/images/icon.png \
 		${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png
 
+do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
 



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