Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 May 2016 13:19:25 +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: r415445 - head/games/blockrage
Message-ID:  <201605181319.u4IDJPMb083988@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Wed May 18 13:19:24 2016
New Revision: 415445
URL: https://svnweb.freebsd.org/changeset/ports/415445

Log:
  - Simplify MASTER_SITES
  - Switch to options helpers

Modified:
  head/games/blockrage/Makefile

Modified: head/games/blockrage/Makefile
==============================================================================
--- head/games/blockrage/Makefile	Wed May 18 13:19:22 2016	(r415444)
+++ head/games/blockrage/Makefile	Wed May 18 13:19:24 2016	(r415445)
@@ -5,7 +5,7 @@ PORTNAME=	blockrage
 PORTVERSION=	0.2.3
 PORTREVISION=	6
 CATEGORIES=	games
-MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTVERSION} \
+MASTER_SITES=	SF \
 		SF/nemysisfreebsdp/${CATEGORIES}/:icons
 DISTFILES=	${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \
 		${PORTNAME}_icons${EXTRACT_SUFX}:icons
@@ -21,7 +21,6 @@ GNU_CONFIGURE=	yes
 ALL_TARGET=	${PORTNAME}
 
 PORTDOCS=	ChangeLog KNOWN_BUGS README
-OPTIONS_DEFINE=	DOCS
 
 INSTALLS_ICONS=	yes
 ICON_SIZES=	32x32 48x48 64x64 72x72 96x96
@@ -31,6 +30,8 @@ SUB_FILES=	${PORTNAME}
 DESKTOP_ENTRIES="Block Rage" "" "${PORTNAME}" \
 		"${PORTNAME}" "Game;ArcadeGame;" ""
 
+OPTIONS_DEFINE=	DOCS
+
 post-patch:
 	@${REINPLACE_CMD} -e \
 		's|prefix=/usr/local|prefix=${PREFIX}|; \
@@ -58,6 +59,7 @@ do-install:
 		${STAGEDIR}${PREFIX}/share/pixmaps/
 	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.6 ${STAGEDIR}${MAN6PREFIX}/man/man6/
 
+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?201605181319.u4IDJPMb083988>