summaryrefslogtreecommitdiff
path: root/math/emacs-calc/files/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'math/emacs-calc/files/patch-Makefile')
-rw-r--r--math/emacs-calc/files/patch-Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/math/emacs-calc/files/patch-Makefile b/math/emacs-calc/files/patch-Makefile
index b53505e10b2c..4942735cd0c9 100644
--- a/math/emacs-calc/files/patch-Makefile
+++ b/math/emacs-calc/files/patch-Makefile
@@ -40,16 +40,16 @@
+ $(MAKE) info
+
+install: ${installfiles}
-+ install-info ${infodir}/calc.info ${infodir}/dir
++ install-info ${DESTDIR}${infodir}/calc.info ${DESTDIR}${infodir}/dir
+
+.for file in ${infofiles}
+${infodir}/${file}: ${file}
-+ install -o root -g wheel -m 0444 $? $@
++ ${BSD_INSTALL_DATA} $? ${DESTDIR}$@
+.endfor
+
+.for file in ${sitefiles}
+${calcsitedir}/${file}: ${file}
-+ @install -d -o root -g wheel -m 0755 ${@D}
-+ install -o root -g wheel -m 0444 $? $@
++ @install -d -m 0755 ${DESTDIR}${@D}
++ ${BSD_INSTALL_DATA} $? ${DESTDIR}$@
+.endfor