From b0ff6ead480214748e669f87bd67dbc8da7c6e9c Mon Sep 17 00:00:00 2001 From: Alberto Villa Date: Wed, 1 Sep 2010 18:31:50 +0000 Subject: [PATCH] - Fix install when astro/xearth is not there. PR: ports/149525 Submitted by: avilla Approved by: novel (maintainer timeout), tabthorpe (mentor) --- astro/xplanet/Makefile | 2 ++ 1 file changed, 2 insertions(+) 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}