1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Add staging support

- Unmute install commands
This commit is contained in:
Pawel Pekala 2014-06-01 14:26:42 +00:00
parent 2f3121abfc
commit 70c9af17a6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=356127

View File

@ -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>