Date: Sat, 10 May 2014 00:23:49 +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: r353549 - head/lang/sisc Message-ID: <201405100023.s4A0Nnka066129@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Sat May 10 00:23:49 2014 New Revision: 353549 URL: http://svnweb.freebsd.org/changeset/ports/353549 QAT: https://qat.redports.org/buildarchive/r353549/ Log: - Support staging - Optionize Modified: head/lang/sisc/Makefile Modified: head/lang/sisc/Makefile ============================================================================== --- head/lang/sisc/Makefile Sat May 10 00:06:18 2014 (r353548) +++ head/lang/sisc/Makefile Sat May 10 00:23:49 2014 (r353549) @@ -16,7 +16,8 @@ JAVA_VERSION= 1.6+ NO_BUILD= yes PORTDOCS= COPYING README -NO_STAGE= yes +OPTIONS_DEFINE= DOCS + post-patch: ${REINPLACE_CMD} -e 's|\(SISC_HOME=\).*$$|\1${DATADIR}|' \ -e 's|\(JAVA=\)java|\1"${LOCALBASE}/bin/java" ; export JAVA_VERSION="${JAVA_VERSION}"|' \ @@ -25,18 +26,15 @@ post-patch: ${WRKSRC}/scheme-src/srfi-22/srfi-22.sh do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/sisc ${PREFIX}/bin - ${MKDIR} ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/*.jar ${WRKSRC}/*.shp ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/scheme-src/*.scm ${DATADIR} - ${INSTALL_SCRIPT} ${WRKSRC}/scheme-src/srfi-22/srfi-22.sh ${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/sisc ${STAGEDIR}${PREFIX}/bin + ${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/*.jar ${WRKSRC}/*.shp ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/scheme-src/*.scm ${STAGEDIR}${DATADIR} + ${INSTALL_SCRIPT} ${WRKSRC}/scheme-src/srfi-22/srfi-22.sh ${STAGEDIR}${PREFIX}/bin .for i in r4rs r5rs srfi-0 srfi-7 ieee-1178-1900 - ${LN} -sf ${PREFIX}/bin/srfi-22.sh ${PREFIX}/bin/scheme-${i} + ${LN} -sf ${PREFIX}/bin/srfi-22.sh ${STAGEDIR}${PREFIX}/bin/scheme-${i} .endfor - -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - cd ${WRKSRC}; ${INSTALL_DATA} COPYING README ${DOCSDIR} -.endif + ${MKDIR} ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405100023.s4A0Nnka066129>