Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 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: r416537 - head/games/black-box
Message-ID:  <201606080903.u5893rEC040915@repo.freebsd.org>

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

Log:
  - Switch to options helpers

Modified:
  head/games/black-box/Makefile

Modified: head/games/black-box/Makefile
==============================================================================
--- head/games/black-box/Makefile	Wed Jun  8 08:30:46 2016	(r416536)
+++ head/games/black-box/Makefile	Wed Jun  8 09:03:53 2016	(r416537)
@@ -22,16 +22,18 @@ USE_SDL=	sdl image mixer
 GNU_CONFIGURE=	yes
 
 PORTDOCS=	AUTHORS ChangeLog NEWS README
-OPTIONS_DEFINE=	DOCS
 
 DESKTOP_ENTRIES="Black-Box" "" "${PORTNAME}" \
 		"${PORTNAME}" "Game;ArcadeGame;" ""
 
+OPTIONS_DEFINE=	DOCS
+
 post-install:
 	${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \
 		${STAGEDIR}${PREFIX}/share/pixmaps/
 
-	${MKDIR} ${STAGEDIR}${DOCSDIR}
+post-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>



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