mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +00:00
devel/pcsc-ada: Make jobs safe
This commit is contained in:
parent
c2f6fdf8ac
commit
cd00f4db86
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=372436
@ -62,20 +62,27 @@ post-patch:
|
||||
tests/runner.adb \
|
||||
tests/test_pcscada.adb)
|
||||
|
||||
do-build:
|
||||
# We cannot use a redefined ALL_TARGET because MAKE_JOBS_SAFE is set
|
||||
# for PROCESSORS, but that also sets -j for gmake can break build
|
||||
(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
|
||||
${MAKE_CMD} ${MAKE_ARGS:NDESTDIR=*} ${ALL_TARGET})
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/lib/gnat \
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/gnat \
|
||||
${STAGEDIR}${PREFIX}/lib/pcscada \
|
||||
${STAGEDIR}${PREFIX}/include/pcscada
|
||||
${STAGEDIR}${PREFIX}/include/pcscada \
|
||||
${STAGEDIR}${EXAMPLESDIR}/src \
|
||||
${STAGEDIR}${EXAMPLESDIR}/bin \
|
||||
${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/src/* ${STAGEDIR}${PREFIX}/include/pcscada
|
||||
${INSTALL_DATA} ${WRKSRC}/lib/static/* \
|
||||
${STAGEDIR}${PREFIX}/lib/pcscada
|
||||
${INSTALL_DATA} ${FILESDIR}/pcscada.gpr ${STAGEDIR}${PREFIX}/lib/gnat
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} html ${STAGEDIR}${DOCSDIR})
|
||||
.endif
|
||||
.if ${PORT_OPTIONS:MEXAMPLES}
|
||||
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/src ${STAGEDIR}${EXAMPLESDIR}/bin
|
||||
(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . \
|
||||
${STAGEDIR}${EXAMPLESDIR}/src)
|
||||
${RM} ${STAGEDIR}${EXAMPLESDIR}/src/*/*.bak
|
||||
|
Loading…
Reference in New Issue
Block a user