Mercurial > hgrepos > FreeBSD > ports > sysutils > local-bsdtools
comparison Makefile @ 770:56ab5c012d5f
fports: Begin a new command "fports" and fully implemented its subcommand "fports deptree".
fports is supposed to be the successor to check-ports.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Wed, 23 Oct 2024 13:56:52 +0200 |
| parents | 019e69bf6f21 |
| children | b5b19c62da24 |
comparison
equal
deleted
inserted
replaced
| 769:03350d2a2af6 | 770:56ab5c012d5f |
|---|---|
| 78 | 78 |
| 79 do-extract: | 79 do-extract: |
| 80 ${MKDIR} ${WRKSRC}/bin | 80 ${MKDIR} ${WRKSRC}/bin |
| 81 ${MKDIR} ${WRKSRC}/sbin | 81 ${MKDIR} ${WRKSRC}/sbin |
| 82 ${CP} Makefile ${WRKSRC}/Makefile | 82 ${CP} Makefile ${WRKSRC}/Makefile |
| 83 .for _rp in sbin/check-ports sbin/fjail sbin/ftjail sbin/fzfs sbin/fpkg sbin/bsmtp2dma | 83 .for _rp in sbin/check-ports sbin/fjail sbin/ftjail sbin/fzfs sbin/fpkg sbin/fports sbin/bsmtp2dma |
| 84 ${CP} -v ${SRC}/${_rp} ${WRKSRC}/${_rp} | 84 ${CP} -v ${SRC}/${_rp} ${WRKSRC}/${_rp} |
| 85 ${SED} -i "" -e "s|@@VERSION@@|${PORTVERSION}|" -e "s|@@ETCDIR@@|${ETCDIR}|" -e "s|@@DATADIR@@|${DATADIR}|" -e "s|@@SIMPLEVERSIONTAG@@|${SIMPLEVERSIONTAG}|" -e "s|@@SIMPLEVERSIONSTR@@|${SIMPLEVERSIONSTR}|" ${WRKSRC}/${_rp} | 85 ${SED} -i "" -e "s|@@VERSION@@|${PORTVERSION}|" -e "s|@@ETCDIR@@|${ETCDIR}|" -e "s|@@DATADIR@@|${DATADIR}|" -e "s|@@SIMPLEVERSIONTAG@@|${SIMPLEVERSIONTAG}|" -e "s|@@SIMPLEVERSIONSTR@@|${SIMPLEVERSIONSTR}|" ${WRKSRC}/${_rp} |
| 86 .endfor | 86 .endfor |
| 87 ${MKDIR} ${WRKSRC}/etc/periodic/daily | 87 ${MKDIR} ${WRKSRC}/etc/periodic/daily |
| 88 .for _ef in etc/package-mapping.conf.sample etc/pkgtools.conf.sample etc/bsmtp2dma.conf.sample etc/periodic/daily/800.local-ipv6-refresh etc/periodic/daily/750.local-trim-zfs etc/periodic/daily/720.local-triggered-action | 88 .for _ef in etc/package-mapping.conf.sample etc/pkgtools.conf.sample etc/bsmtp2dma.conf.sample etc/periodic/daily/800.local-ipv6-refresh etc/periodic/daily/750.local-trim-zfs etc/periodic/daily/720.local-triggered-action |
| 89 ${CP} -v ${SRC}/${_ef} ${WRKSRC}/${_ef} | 89 ${CP} -v ${SRC}/${_ef} ${WRKSRC}/${_ef} |
| 90 ${SED} -i "" -e "s|@@SIMPLEVERSIONTAG@@|${SIMPLEVERSIONTAG}|" ${WRKSRC}/${_ef} | 90 ${SED} -i "" -e "s|@@SIMPLEVERSIONTAG@@|${SIMPLEVERSIONTAG}|" ${WRKSRC}/${_ef} |
| 91 .endfor | 91 .endfor |
| 92 ${MKDIR} ${WRKSRC}/share/${PORTNAME} | 92 ${MKDIR} ${WRKSRC}/share/${PORTNAME} |
| 93 .for _df in share/local-bsdtools/farray.sh share/local-bsdtools/common.subr | 93 .for _df in share/local-bsdtools/farray.sh share/local-bsdtools/common.subr share/local-bsdtools/ports.subr |
| 94 ${CP} -v ${SRC}/${_df} ${WRKSRC}/${_df} | 94 ${CP} -v ${SRC}/${_df} ${WRKSRC}/${_df} |
| 95 ${SED} -i "" -e "s|@@SIMPLEVERSIONTAG@@|${SIMPLEVERSIONTAG}|" ${WRKSRC}/${_df} | 95 ${SED} -i "" -e "s|@@SIMPLEVERSIONTAG@@|${SIMPLEVERSIONTAG}|" ${WRKSRC}/${_df} |
| 96 .endfor | 96 .endfor |
| 97 ${MKDIR} ${WRKSRC}/share/examples/${PORTNAME} | 97 ${MKDIR} ${WRKSRC}/share/examples/${PORTNAME} |
| 98 .for _sf in share/examples/local-bsdtools/freebsd-update-ftjail-template.sh share/examples/local-bsdtools/freebsd-update-ftjail.sh | 98 .for _sf in share/examples/local-bsdtools/freebsd-update-ftjail-template.sh share/examples/local-bsdtools/freebsd-update-ftjail.sh |
| 112 (cd ${WRKSRC}/docs && sphinx-build -M man . _build) | 112 (cd ${WRKSRC}/docs && sphinx-build -M man . _build) |
| 113 (cd ${WRKSRC}/docs && sphinx-build -M html . _build) | 113 (cd ${WRKSRC}/docs && sphinx-build -M html . _build) |
| 114 .endif | 114 .endif |
| 115 | 115 |
| 116 do-install: | 116 do-install: |
| 117 .for _rp in sbin/check-ports sbin/fjail sbin/ftjail sbin/fzfs sbin/fpkg sbin/bsmtp2dma | 117 .for _rp in sbin/check-ports sbin/fjail sbin/ftjail sbin/fzfs sbin/fpkg sbin/fports sbin/bsmtp2dma |
| 118 ${INSTALL_SCRIPT} ${WRKSRC}/${_rp} ${STAGEDIR}${PREFIX}/${_rp} | 118 ${INSTALL_SCRIPT} ${WRKSRC}/${_rp} ${STAGEDIR}${PREFIX}/${_rp} |
| 119 .endfor | 119 .endfor |
| 120 ${MKDIR} ${STAGEDIR}${ETCDIR} | 120 ${MKDIR} ${STAGEDIR}${ETCDIR} |
| 121 .for _ef in package-mapping.conf.sample pkgtools.conf.sample bsmtp2dma.conf.sample | 121 .for _ef in package-mapping.conf.sample pkgtools.conf.sample bsmtp2dma.conf.sample |
| 122 ${INSTALL_DATA} ${WRKSRC}/etc/${_ef} ${STAGEDIR}${ETCDIR}/${_ef} | 122 ${INSTALL_DATA} ${WRKSRC}/etc/${_ef} ${STAGEDIR}${ETCDIR}/${_ef} |
| 124 ${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/daily | 124 ${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/daily |
| 125 .for _ps in 800.local-ipv6-refresh 750.local-trim-zfs 720.local-triggered-action | 125 .for _ps in 800.local-ipv6-refresh 750.local-trim-zfs 720.local-triggered-action |
| 126 ${INSTALL_SCRIPT} ${WRKSRC}/etc/periodic/daily/${_ps} ${STAGEDIR}${PREFIX}/etc/periodic/daily | 126 ${INSTALL_SCRIPT} ${WRKSRC}/etc/periodic/daily/${_ps} ${STAGEDIR}${PREFIX}/etc/periodic/daily |
| 127 .endfor | 127 .endfor |
| 128 ${MKDIR} ${STAGEDIR}${DATADIR} | 128 ${MKDIR} ${STAGEDIR}${DATADIR} |
| 129 .for _df in farray.sh common.subr | 129 .for _df in farray.sh common.subr ports.subr |
| 130 ${INSTALL_DATA} ${WRKSRC}/share/${PORTNAME}/${_df} ${STAGEDIR}${DATADIR} | 130 ${INSTALL_DATA} ${WRKSRC}/share/${PORTNAME}/${_df} ${STAGEDIR}${DATADIR} |
| 131 .endfor | 131 .endfor |
| 132 ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} | 132 ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} |
| 133 .for _exf in freebsd-update-ftjail-template.sh freebsd-update-ftjail.sh | 133 .for _exf in freebsd-update-ftjail-template.sh freebsd-update-ftjail.sh |
| 134 ${INSTALL_DATA} ${WRKSRC}/share/examples/${PORTNAME}/${_exf} ${STAGEDIR}${EXAMPLESDIR} | 134 ${INSTALL_DATA} ${WRKSRC}/share/examples/${PORTNAME}/${_exf} ${STAGEDIR}${EXAMPLESDIR} |
