aboutsummaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2014-06-01 14:26:42 +0000
committerPawel Pekala <pawel@FreeBSD.org>2014-06-01 14:26:42 +0000
commit70c9af17a6d17d68313b5867364cc2cdcf8737b5 (patch)
treea3fdbf5f6e20db941c448e4694eea53f4b9c367d /lang
parent2f3121abfc0fc8e324c09c3f539e0a58b0f35feb (diff)
- Add staging support
- Unmute install commands
Notes
Notes: svn path=/head/; revision=356127
Diffstat (limited to 'lang')
-rw-r--r--lang/squirrel/Makefile13
1 files changed, 6 insertions, 7 deletions
diff --git a/lang/squirrel/Makefile b/lang/squirrel/Makefile
index 47d90aa52fda..b35f955d67f8 100644
--- a/lang/squirrel/Makefile
+++ b/lang/squirrel/Makefile
@@ -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>