aboutsummaryrefslogtreecommitdiffstats
path: root/lang/squirrel
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2014-06-01 22:26:42 +0800
committerpawel <pawel@FreeBSD.org>2014-06-01 22:26:42 +0800
commit2d1e975d826b1cece2868a41d296d1c5ae649663 (patch)
treea3fdbf5f6e20db941c448e4694eea53f4b9c367d /lang/squirrel
parent6fc19c650cdfff5645a747e1663cc72e8e628d1f (diff)
downloadfreebsd-ports-gnome-2d1e975d826b1cece2868a41d296d1c5ae649663.tar.gz
freebsd-ports-gnome-2d1e975d826b1cece2868a41d296d1c5ae649663.tar.zst
freebsd-ports-gnome-2d1e975d826b1cece2868a41d296d1c5ae649663.zip
- Add staging support
- Unmute install commands
Diffstat (limited to 'lang/squirrel')
-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>