Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 May 2014 15:47:25 +0000 (UTC)
From:      Alex Dupre <ale@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r353841 - head/games/freecol
Message-ID:  <201405121547.s4CFlPHq003977@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ale
Date: Mon May 12 15:47:25 2014
New Revision: 353841
URL: http://svnweb.freebsd.org/changeset/ports/353841
QAT: https://qat.redports.org/buildarchive/r353841/

Log:
  Stagify.

Modified:
  head/games/freecol/Makefile

Modified: head/games/freecol/Makefile
==============================================================================
--- head/games/freecol/Makefile	Mon May 12 15:46:34 2014	(r353840)
+++ head/games/freecol/Makefile	Mon May 12 15:47:25 2014	(r353841)
@@ -12,6 +12,8 @@ COMMENT=	An open source version of Colon
 
 LICENSE=	GPLv2
 
+OPTIONS_DEFINE=	DOCS
+
 USES=		zip
 NO_BUILD=	yes
 SUB_FILES=	freecol
@@ -22,27 +24,19 @@ PLIST_FILES=	bin/freecol
 PORTDATA=	*
 PORTDOCS=	*
 
-DESKTOP_ENTRIES="FreeCol" "${COMMENT}" "${DATADIR}/freecol.xpm" "freecol" "Game;StrategyGame;" "false"
-
-NO_STAGE=	yes
-
-OPTIONS_DEFINE=	DOCS
-
-.include <bsd.port.options.mk>
+DESKTOP_ENTRIES="FreeCol" "${COMMENT}" "${DATADIR}/freecol.xpm" "freecol" "Game;StrategyGame;" true
 
 post-extract:
 	@${MV} ${WRKDIR}/freecol ${WRKSRC}
 
 do-install:
-	${INSTALL_SCRIPT} ${WRKDIR}/freecol ${PREFIX}/bin/
-	@${MKDIR} ${DATADIR}
-	@${INSTALL_DATA} ${WRKSRC}/FreeCol.jar ${DATADIR}/
-	@${INSTALL_DATA} ${WRKSRC}/freecol.xpm ${DATADIR}/
-	@(cd ${WRKSRC} && ${COPYTREE_SHARE} data ${DATADIR}/)
-	@(cd ${WRKSRC} && ${COPYTREE_SHARE} jars ${DATADIR}/)
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	@${INSTALL_DATA} ${WRKSRC}/FreeCol.pdf ${DOCSDIR}/
-.endif
+	${INSTALL_SCRIPT} ${WRKDIR}/freecol ${STAGEDIR}${PREFIX}/bin/
+	@${MKDIR} ${STAGEDIR}${DATADIR}
+	@${INSTALL_DATA} ${WRKSRC}/FreeCol.jar ${STAGEDIR}${DATADIR}/
+	@${INSTALL_DATA} ${WRKSRC}/freecol.xpm ${STAGEDIR}${DATADIR}/
+	@(cd ${WRKSRC} && ${COPYTREE_SHARE} data ${STAGEDIR}${DATADIR}/)
+	@(cd ${WRKSRC} && ${COPYTREE_SHARE} jars ${STAGEDIR}${DATADIR}/)
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	@${INSTALL_DATA} ${WRKSRC}/FreeCol.pdf ${STAGEDIR}${DOCSDIR}/
 
 .include <bsd.port.mk>



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