summaryrefslogtreecommitdiff
path: root/astro/xplanet
diff options
context:
space:
mode:
authorAlberto Villa <avilla@FreeBSD.org>2010-09-01 18:31:50 +0000
committerAlberto Villa <avilla@FreeBSD.org>2010-09-01 18:31:50 +0000
commitb0ff6ead480214748e669f87bd67dbc8da7c6e9c (patch)
tree49c7411616260e7e330f24dc13cef88ac7da31b2 /astro/xplanet
parentc6af04b72f7057cef8f5ff6989fa49a8fcdaf2dc (diff)
downloadfreebsd-ports-b0ff6ead480214748e669f87bd67dbc8da7c6e9c.zip
- Fix install when astro/xearth is not there.
PR: ports/149525 Submitted by: avilla Approved by: novel (maintainer timeout), tabthorpe (mentor)
Diffstat (limited to 'astro/xplanet')
-rw-r--r--astro/xplanet/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/astro/xplanet/Makefile b/astro/xplanet/Makefile
index 3aca36ef2013..5b9850e871c4 100644
--- a/astro/xplanet/Makefile
+++ b/astro/xplanet/Makefile
@@ -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}