From d52e89e2353a0253bf50a4b8ae3e0c252312e9d4 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Tue, 7 Jun 2016 09:03:52 +0000 Subject: [PATCH] - Switch to options helpers --- games/bubbros/Makefile | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/games/bubbros/Makefile b/games/bubbros/Makefile index 19f7389c9788..60c84065cb3d 100644 --- a/games/bubbros/Makefile +++ b/games/bubbros/Makefile @@ -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}