Date: Sun, 17 Nov 2013 00:43:48 +0000 (UTC) From: Danilo Egea Gondolfo <danilo@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r334041 - head/games/linux-rtcw Message-ID: <201311170043.rAH0hmOB044209@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: danilo Date: Sun Nov 17 00:43:48 2013 New Revision: 334041 URL: http://svnweb.freebsd.org/changeset/ports/334041 Log: - Add stage support Modified: head/games/linux-rtcw/Makefile Modified: head/games/linux-rtcw/Makefile ============================================================================== --- head/games/linux-rtcw/Makefile Sun Nov 17 00:28:16 2013 (r334040) +++ head/games/linux-rtcw/Makefile Sun Nov 17 00:43:48 2013 (r334041) @@ -26,9 +26,6 @@ PORTDOCS= * OPTIONS_DEFINE= DOCS -NO_STAGE= yes -.include <bsd.port.options.mk> - # XXX: should probably be converted to use the LICENSE framework post-extract: @${MV} ${WRKSRC}/pb/PB_EULA.txt ${WRKSRC} @@ -41,23 +38,16 @@ do-build: .endfor do-install: - @${MKDIR} ${DATADIR} + @${MKDIR} ${STAGEDIR}${DATADIR} .for f in ${WRAPPERS} - ${INSTALL_PROGRAM} ${WRKSRC}/bin/Linux/x86/${f}.x86 ${DATADIR}/${f} - ${INSTALL_SCRIPT} ${WRKDIR}/${f} ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/bin/Linux/x86/${f}.x86 ${STAGEDIR}${DATADIR}/${f} + ${INSTALL_SCRIPT} ${WRKDIR}/${f} ${STAGEDIR}${PREFIX}/bin .endfor - ${CP} -a ${WRKSRC}/main ${WRKSRC}/pb ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/Wolf[MS]P.xpm ${PREFIX}/share/pixmaps -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} + ${CP} -a ${WRKSRC}/main ${WRKSRC}/pb ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/Wolf[MS]P.xpm ${STAGEDIR}${PREFIX}/share/pixmaps + @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && \ - ${INSTALL_DATA} CHANGES INSTALL QUICKSTART *.txt ${DOCSDIR} - ${CP} -a ${WRKSRC}/Docs ${DOCSDIR} -.endif - -post-install: - @${ECHO_CMD} - @${CAT} ${PKGMESSAGE} - @${ECHO_CMD} + ${INSTALL_DATA} CHANGES INSTALL QUICKSTART *.txt ${STAGEDIR}${DOCSDIR} + ${CP} -a ${WRKSRC}/Docs ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311170043.rAH0hmOB044209>