aboutsummaryrefslogtreecommitdiffstats
path: root/astro
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2006-08-12 12:07:30 +0800
committerrafan <rafan@FreeBSD.org>2006-08-12 12:07:30 +0800
commit82343a76fb59c06f1e61c5215b736946578fec92 (patch)
treec1c43f81a3240b1f6a50cee60999385ce7b4ab70 /astro
parentb4b4f6a42fbf545155340212172bf8c643ce7bed (diff)
downloadfreebsd-ports-gnome-82343a76fb59c06f1e61c5215b736946578fec92.tar.gz
freebsd-ports-gnome-82343a76fb59c06f1e61c5215b736946578fec92.tar.zst
freebsd-ports-gnome-82343a76fb59c06f1e61c5215b736946578fec92.zip
- Respect DESTDIR
PR: ports/101838 Submitted by: Gea-Suan Lin <gslin at gslin.org>
Diffstat (limited to 'astro')
-rw-r--r--astro/p5-Astro-Catalog/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/astro/p5-Astro-Catalog/Makefile b/astro/p5-Astro-Catalog/Makefile
index d028ec281443..2bab29aff640 100644
--- a/astro/p5-Astro-Catalog/Makefile
+++ b/astro/p5-Astro-Catalog/Makefile
@@ -70,9 +70,9 @@ post-patch:
post-install:
.for f in ${CONFIG}
- ${INSTALL_DATA} ${WRKSRC}/etc/${f} ${PREFIX}/etc/${f}.default
-.if !exists(${PREFIX}/etc/${f})
- ${INSTALL_DATA} ${WRKSRC}/etc/${f} ${PREFIX}/etc/${f}
+ ${INSTALL_DATA} ${WRKSRC}/etc/${f} ${TARGETDIR}/etc/${f}.default
+.if !exists(${TARGETDIR}/etc/${f})
+ ${INSTALL_DATA} ${WRKSRC}/etc/${f} ${TARGETDIR}/etc/${f}
.endif
.endfor