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-Makefile55
1 files changed, 0 insertions, 55 deletions
diff --git a/math/emacs-calc/files/patch-Makefile b/math/emacs-calc/files/patch-Makefile
deleted file mode 100644
index 4942735cd0c9..000000000000
--- a/math/emacs-calc/files/patch-Makefile
+++ /dev/null
@@ -1,55 +0,0 @@
---- Makefile.orig Sun Jul 10 10:59:15 2005
-+++ Makefile Sun Jul 10 11:24:42 2005
-@@ -52,13 +52,13 @@
- # Do full Calc installation. (Note that `make' == `make all'.)
- # These are written this way instead of `all: compile private info'
- # to make the steps more explicit while the `make' is in progress.
--all:
-+all.orig:
- $(MAKE) compile
- $(MAKE) private
- $(MAKE) info
- $(ECHO) "Calc is now installed."
-
--install:
-+install.orig:
- $(MAKE) compile
- $(MAKE) public
- $(MAKE) info
-@@ -180,4 +180,36 @@
- $(REMOVE) calctut.*
- $(REMOVE) calcsum.*
-
-+# FreeBSD installation
-+
-+prefix = %%PREFIX%%
-+infodir = ${prefix}/info
-+sharedir = ${prefix}/share
-+emacssharedir = ${sharedir}/emacs
-+emacssitedir = ${emacssharedir}/site-lisp
-+calcsitedir = ${emacssitedir}/calc
-+
-+elcfiles != find . -name '*.elc' -type f
-+infofiles != find . -name 'calc.info*' -type f
-+sitefiles = INSTALL README README.prev ${elcfiles}
-+
-+installfiles := ${infofiles:%=$(infodir)/%} ${sitefiles:%=$(calcsitedir)/%}
-+
-+all:
-+ $(MAKE) compile
-+ $(MAKE) info
-+
-+install: ${installfiles}
-+ install-info ${DESTDIR}${infodir}/calc.info ${DESTDIR}${infodir}/dir
-+
-+.for file in ${infofiles}
-+${infodir}/${file}: ${file}
-+ ${BSD_INSTALL_DATA} $? ${DESTDIR}$@
-+.endfor
-+
-+.for file in ${sitefiles}
-+${calcsitedir}/${file}: ${file}
-+ @install -d -m 0755 ${DESTDIR}${@D}
-+ ${BSD_INSTALL_DATA} $? ${DESTDIR}$@
-+.endfor
-