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

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

Log:
  - Simplify MASTER_SITES
  - Add NO_ARCH
  - Switch to options helpers
  - Silince post-patch

Modified:
  head/games/krank/Makefile

Modified: head/games/krank/Makefile
==============================================================================
--- head/games/krank/Makefile	Wed May 18 13:19:24 2016	(r415445)
+++ head/games/krank/Makefile	Wed May 18 13:19:27 2016	(r415446)
@@ -5,7 +5,7 @@ PORTNAME=	krank
 PORTVERSION=	07
 PORTREVISION=	6
 CATEGORIES=	games
-MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}
+MASTER_SITES=	SF
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Little casual game
@@ -15,18 +15,20 @@ RUN_DEPENDS=	${PYGAME} \
 
 USES=		python:run tar:bzip2
 NO_BUILD=	yes
+NO_ARCH=	yes
 
 PORTDOCS=	CHANGELOG.txt README
-OPTIONS_DEFINE=	DOCS
 
 DESKTOP_ENTRIES="Krank" "" "${PORTNAME}" \
 		"${PORTNAME}" "Game;ArcadeGame;" ""
 
+OPTIONS_DEFINE=	DOCS
+
 post-extract:
 	@${FIND} ${WRKSRC} -name .cvsignore -delete -or -name .DS_Store -delete
 
 post-patch:
-	${REINPLACE_CMD} -e 's|`dirname.*|${DATADIR}|' ${WRKSRC}/${PORTNAME}
+	@${REINPLACE_CMD} -e 's|`dirname.*|${DATADIR}|' ${WRKSRC}/${PORTNAME}
 
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
@@ -39,6 +41,7 @@ do-install:
 	${LN} -sf ${DATADIR}/html/gfx/logo.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?201605181319.u4IDJSml084088>