Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Jun 2016 09:03:52 +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: r416502 - head/games/bubbros
Message-ID:  <201606070903.u5793qVG082050@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Tue Jun  7 09:03:52 2016
New Revision: 416502
URL: https://svnweb.freebsd.org/changeset/ports/416502

Log:
  - Switch to options helpers

Modified:
  head/games/bubbros/Makefile

Modified: head/games/bubbros/Makefile
==============================================================================
--- head/games/bubbros/Makefile	Tue Jun  7 08:45:32 2016	(r416501)
+++ head/games/bubbros/Makefile	Tue Jun  7 09:03:52 2016	(r416502)
@@ -15,18 +15,19 @@ LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
 RUN_DEPENDS=	${PYGAME}
-BUILD_DEPENDS:=	${RUN_DEPENDS}
+BUILD_DEPENDS=	${PYGAME}
 
 USES=		python
 
 PORTDOCS=	*.html
-OPTIONS_DEFINE=	DOCS
 
 SUB_FILES=	${PORTNAME}
 
 DESKTOP_ENTRIES="Bub-n-Bros" "" "${PORTNAME}" \
 		"${PORTNAME}" "Game;ArcadeGame;" ""
 
+OPTIONS_DEFINE=	DOCS
+
 post-patch:
 	@${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|g' \
 		${WRKSRC}/display/setup.py
@@ -56,13 +57,13 @@ do-install:
 	@${PYTHON_CMD} ${STAGEDIR}${DATADIR}/bubbob/images/buildcolors.py
 	${LN} -sf ${DATADIR}/http2/data/bob.png \
 		${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png
-
 .for l in bubbob/statesaver.so display/xshm.so
-	${CHMOD} u+w ${STAGEDIR}${DATADIR}/${l}
-	${STRIP_CMD} ${STAGEDIR}${DATADIR}/${l}
+	@${CHMOD} u+w ${STAGEDIR}${DATADIR}/${l}
+	@${STRIP_CMD} ${STAGEDIR}${DATADIR}/${l}
 .endfor
-
 	${INSTALL_MAN} ${WRKSRC}/doc/*.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/
+
+do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/|} ${STAGEDIR}${DOCSDIR}
 



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