Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Oct 2013 02:18:42 +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: r331924 - head/games/formido
Message-ID:  <201310290218.r9T2Iggr043446@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Tue Oct 29 02:18:42 2013
New Revision: 331924
URL: http://svnweb.freebsd.org/changeset/ports/331924

Log:
  - Support staging

Modified:
  head/games/formido/Makefile

Modified: head/games/formido/Makefile
==============================================================================
--- head/games/formido/Makefile	Tue Oct 29 02:08:54 2013	(r331923)
+++ head/games/formido/Makefile	Tue Oct 29 02:18:42 2013	(r331924)
@@ -22,22 +22,16 @@ PLIST_FILES=	bin/${PORTNAME}
 PORTDATA=	*
 PORTDOCS=	*
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 pre-build:
 	@${MKDIR} ${WRKSRC}/obj
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/formido ${PREFIX}/bin
-	${MKDIR} ${DATADIR}
-.if !defined(NOPORTDATA)
-	cd ${WRKSRC}/data && ${COPYTREE_SHARE} '*' ${DATADIR}/
-	${INSTALL_DATA} ${WRKSRC}/formido.cfg ${DATADIR}
-.endif
-.if ${PORT_OPTIONS:MDOCS}
-	${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/
-.endif
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
+	cd ${WRKSRC}/data && ${COPYTREE_SHARE} '*' ${STAGEDIR}${DATADIR}/
+	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.cfg ${STAGEDIR}${DATADIR}/
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/
 
 .include <bsd.port.mk>



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