aboutsummaryrefslogtreecommitdiffstats
path: root/astro
diff options
context:
space:
mode:
authoravilla <avilla@FreeBSD.org>2010-09-02 02:31:50 +0800
committeravilla <avilla@FreeBSD.org>2010-09-02 02:31:50 +0800
commit33fdf51501d7b19f79e4154e78bcbe0a5a155afb (patch)
treecce25f156d85ca736dab9f822fd4d405cf19419c /astro
parent548147b1758666ec9274e0d2d7b23dfb3d794862 (diff)
downloadfreebsd-ports-gnome-33fdf51501d7b19f79e4154e78bcbe0a5a155afb.tar.gz
freebsd-ports-gnome-33fdf51501d7b19f79e4154e78bcbe0a5a155afb.tar.zst
freebsd-ports-gnome-33fdf51501d7b19f79e4154e78bcbe0a5a155afb.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')
-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}