Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Nov 2013 13:36:51 +0000 (UTC)
From:      Marcus von Appen <mva@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r333995 - head/lang/ironpython
Message-ID:  <201311161336.rAGDapvW017892@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mva
Date: Sat Nov 16 13:36:51 2013
New Revision: 333995
URL: http://svnweb.freebsd.org/changeset/ports/333995

Log:
  - Enable staging support
  - Fix installation on 10.x and CURRENT
  
  Reported by:	pkg-fallout@

Modified:
  head/lang/ironpython/Makefile

Modified: head/lang/ironpython/Makefile
==============================================================================
--- head/lang/ironpython/Makefile	Sat Nov 16 13:33:45 2013	(r333994)
+++ head/lang/ironpython/Makefile	Sat Nov 16 13:36:51 2013	(r333995)
@@ -21,30 +21,28 @@ GH_COMMIT=	568c234
 
 SUB_FILES=	ipy ipy64
 
-NO_STAGE=	yes
 do-build:
 	cd ${WRKSRC} && ${LOCALBASE}/bin/xbuild /t:Stage \
 		/p:Configuration=Release /p:ReferencedPlatform=V4 \
 		/p:Mono=true /p:BaseConfiguration=Release
 
 do-install:
-	@${MKDIR} ${PREFIX}/lib/ironpython
+	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/ironpython
 	cd ${WRKSRC}/Stage/Release/IronPython-${PORTVERSION} && \
-		${COPYTREE_SHARE} . ${PREFIX}/lib/ironpython;
-	${CHMOD} a+x ${PREFIX}/lib/ironpython/ipy.exe
-	${CHMOD} a+x ${PREFIX}/lib/ironpython/ipy64.exe
+		${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/lib/ironpython;
+	${CHMOD} a+x ${STAGEDIR}${PREFIX}/lib/ironpython/ipy.exe
+	${CHMOD} a+x ${STAGEDIR}${PREFIX}/lib/ironpython/ipy64.exe
 	for f in ${SUB_FILES}; do \
-		${INSTALL_SCRIPT} ${WRKDIR}/$$f ${PREFIX}/bin; \
+		${INSTALL_SCRIPT} ${WRKDIR}/$$f ${STAGEDIR}${PREFIX}/bin; \
 	done
 
 post-install:
 	@for f in ${SUB_FILES}; do \
 		${ECHO_CMD} "bin/$$f" >> ${TMPPLIST}; \
 	done
-	@${ECHO_CMD} "bin/
-	@${FIND} -P ${PREFIX}/lib/ironpython ! -type d 2>/dev/null | \
-		${SED} -ne 's,^${PREFIX}/,,p' >> ${TMPPLIST}
-	@${FIND} -P -d ${PREFIX}/lib/ironpython -type d 2>/dev/null | \
-		${SED} -ne 's,^${PREFIX}/,@dirrm ,p' >> ${TMPPLIST}
+	@${FIND} -P ${STAGEDIR}${PREFIX}/lib/ironpython ! -type d 2>/dev/null | \
+		${SED} -ne 's,^${STAGEDIR}${PREFIX}/,,p' >> ${TMPPLIST}
+	@${FIND} -P -d ${STAGEDIR}${PREFIX}/lib/ironpython -type d 2>/dev/null | \
+		${SED} -ne 's,^${STAGEDIR}${PREFIX}/,@dirrm ,p' >> ${TMPPLIST}
 
 .include <bsd.port.mk>



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