mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Support stage
This commit is contained in:
parent
c2fd956bf1
commit
e1afd9d248
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=338739
@ -25,26 +25,25 @@ PLIST_SUB= ARCH="${ARCH}"
|
||||
|
||||
PKGLIBDIR= ${PREFIX}/lib/${PORTNAME}
|
||||
|
||||
NO_STAGE= yes
|
||||
post-build:
|
||||
@${ECHO_CMD} '#!/bin/sh' > ${WRKDIR}/libmicro-bench
|
||||
@${ECHO_CMD} '(cd ${PKGLIBDIR} && ./bench $$1)' >> ${WRKDIR}/libmicro-bench.sh
|
||||
|
||||
do-install:
|
||||
(cd ${WRKDIR} && ${INSTALL_SCRIPT} libmicro-bench.sh \
|
||||
${PREFIX}/bin/libmicro-bench)
|
||||
${STAGEDIR}${PREFIX}/bin/libmicro-bench)
|
||||
(cd ${WRKSRC} && ${INSTALL_SCRIPT} multiview.sh \
|
||||
${PREFIX}/bin/multiview)
|
||||
@${MKDIR} ${PKGLIBDIR}
|
||||
${STAGEDIR}${PREFIX}/bin/multiview)
|
||||
@${MKDIR} ${STAGEDIR}${PKGLIBDIR}
|
||||
(cd ${WRKSRC} && ${INSTALL_SCRIPT} bench.sh \
|
||||
${PKGLIBDIR}/bench)
|
||||
@${MKDIR} ${PKGLIBDIR}/bin-${ARCH}
|
||||
${STAGEDIR}${PKGLIBDIR}/bench)
|
||||
@${MKDIR} ${STAGEDIR}${PKGLIBDIR}/bin-${ARCH}
|
||||
(cd ${WRKSRC}/bin-${ARCH} \
|
||||
&& ${INSTALL_PROGRAM} exec_bin ${PKGLIBDIR}/bin-${ARCH})
|
||||
&& ${INSTALL_PROGRAM} exec_bin ${STAGEDIR}${PKGLIBDIR}/bin-${ARCH})
|
||||
(cd ${WRKSRC}/bin ; for i in * ; do ${INSTALL_PROGRAM} \
|
||||
${WRKSRC}/bin-${ARCH}/$$i ${PKGLIBDIR}/bin-${ARCH} ; done)
|
||||
@${MKDIR} ${PKGLIBDIR}/bin
|
||||
(cd ${PKGLIBDIR}/bin-${ARCH} ; for i in * ; do ${LN} -s \
|
||||
${WRKSRC}/bin-${ARCH}/$$i ${STAGEDIR}${PKGLIBDIR}/bin-${ARCH} ; done)
|
||||
@${MKDIR} ${STAGEDIR}${PKGLIBDIR}/bin
|
||||
(cd ${STAGEDIR}${PKGLIBDIR}/bin-${ARCH} ; for i in * ; do ${LN} -s \
|
||||
../bin-${ARCH}/$$i ../bin ; done)
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user