1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00: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:
Alberto Villa 2010-09-01 18:31:50 +00:00
parent c6af04b72f
commit b0ff6ead48
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=260381

View File

@ -87,8 +87,10 @@ post-extract:
post-install:
.for file in freebsd.committers.markers freebsd.ftp.markers
.if exists(${PORTSDIR}/astro/xearth/files/${file})
@${INSTALL_DATA} ${PORTSDIR}/astro/xearth/files/${file} \
${DATADIR}/markers
.endif
.endfor
@${FIND} ${DATADIR} -type f | \
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}