mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
- Fix install when astro/xearth is not there.
PR: ports/149525 Submitted by: avilla Approved by: novel (maintainer timeout), tabthorpe (mentor)
This commit is contained in:
parent
c6af04b72f
commit
b0ff6ead48
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=260381
1 changed files with 2 additions and 0 deletions
|
@ -87,8 +87,10 @@ post-extract:
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
.for file in freebsd.committers.markers freebsd.ftp.markers
|
.for file in freebsd.committers.markers freebsd.ftp.markers
|
||||||
|
.if exists(${PORTSDIR}/astro/xearth/files/${file})
|
||||||
@${INSTALL_DATA} ${PORTSDIR}/astro/xearth/files/${file} \
|
@${INSTALL_DATA} ${PORTSDIR}/astro/xearth/files/${file} \
|
||||||
${DATADIR}/markers
|
${DATADIR}/markers
|
||||||
|
.endif
|
||||||
.endfor
|
.endfor
|
||||||
@${FIND} ${DATADIR} -type f | \
|
@${FIND} ${DATADIR} -type f | \
|
||||||
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
|
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
|
||||||
|
|
Loading…
Add table
Reference in a new issue