Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Jun 2014 14:26:42 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r356127 - head/lang/squirrel
Message-ID:  <201406011426.s51EQgnj094986@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Sun Jun  1 14:26:42 2014
New Revision: 356127
URL: http://svnweb.freebsd.org/changeset/ports/356127
QAT: https://qat.redports.org/buildarchive/r356127/

Log:
  - Add staging support
  - Unmute install commands

Modified:
  head/lang/squirrel/Makefile

Modified: head/lang/squirrel/Makefile
==============================================================================
--- head/lang/squirrel/Makefile	Sun Jun  1 14:19:13 2014	(r356126)
+++ head/lang/squirrel/Makefile	Sun Jun  1 14:26:42 2014	(r356127)
@@ -16,7 +16,6 @@ USES=		dos2unix
 USE_LDCONFIG=	yes
 WRKSRC=		${WRKDIR}/SQUIRREL2
 
-NO_STAGE=	yes
 .include <bsd.port.pre.mk>
 
 .if ${ARCH} == amd64 || ${ARCH} == sparc64 || ${ARCH} == ia64
@@ -37,11 +36,11 @@ post-patch:
 	@${REINPLACE_CMD} -e '/cd / s|$$|\&\& cd ..|' ${WRKSRC}/Makefile
 
 do-install:
-	@${INSTALL_PROGRAM} ${WRKSRC}/bin/sq ${PREFIX}/bin/
-	@cd ${WRKSRC}/lib && ${INSTALL_PROGRAM} libsqstdlib.so libsquirrel.so \
-		${PREFIX}/lib/
-	@${LN} -sf libsqstdlib.so ${PREFIX}/lib/libsqstdlib.so.0
-	@${LN} -sf libsquirrel.so ${PREFIX}/lib/libsquirrel.so.0
-	@cd ${WRKSRC}/include && ${INSTALL_DATA} *.h ${PREFIX}/include/
+	${INSTALL_PROGRAM} ${WRKSRC}/bin/sq ${STAGEDIR}${PREFIX}/bin
+	(cd ${WRKSRC}/lib && ${INSTALL_LIB} libsqstdlib.so libsquirrel.so \
+		${STAGEDIR}${PREFIX}/lib)
+	@${LN} -sf libsqstdlib.so ${STAGEDIR}${PREFIX}/lib/libsqstdlib.so.0
+	@${LN} -sf libsquirrel.so ${STAGEDIR}${PREFIX}/lib/libsquirrel.so.0
+	${INSTALL_DATA} ${WRKSRC}/include/*.h ${STAGEDIR}${PREFIX}/include
 
 .include <bsd.port.post.mk>



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