summaryrefslogtreecommitdiff
path: root/print/latex-cjk/files/patch-Makefile
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2006-03-16 06:22:02 +0000
committerXin LI <delphij@FreeBSD.org>2006-03-16 06:22:02 +0000
commit8873423497a63d01472073f3c14ac88ad4d69fb1 (patch)
tree8828979762ac85b1333d4e959cd83f56343a62ef /print/latex-cjk/files/patch-Makefile
parentUpdate to 2.2. (diff)
Several improvements over chinese/CJK port, to make it possible to
support CJK PDF builds. Submitted by: intron <intron at intron ac> Approved by: Rong-En Fan <rafan at infor org> (maintainer, with changes) Approved by: clive
Notes
Notes: svn path=/head/; revision=157374
Diffstat (limited to 'print/latex-cjk/files/patch-Makefile')
-rw-r--r--print/latex-cjk/files/patch-Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/print/latex-cjk/files/patch-Makefile b/print/latex-cjk/files/patch-Makefile
new file mode 100644
index 000000000000..ea2b099782b7
--- /dev/null
+++ b/print/latex-cjk/files/patch-Makefile
@@ -0,0 +1,27 @@
+--- Makefile.orig Thu Jan 1 08:00:00 1970
++++ Makefile Sat Feb 20 08:10:54 1999
+@@ -0,0 +1,24 @@
++#
++# Makefile for CJK to apply on Unix systems more smoothly.
++#
++
++CP = /bin/cp
++CHOWN = /usr/sbin/chown
++
++LATEX_DIR = $(PREFIX)/share/texmf/tex/latex
++CJK_DIR = $(LATEX_DIR)/CJK
++
++all:
++ $(MAKE) -C utils $@
++
++install: install-texinput
++ $(MAKE) -C utils $@
++
++install-texinput:
++ (rm -fr $(CJK_DIR)) && \
++ (mkdir -p $(CJK_DIR)) && \
++ ($(CP) -R texinput/* $(CJK_DIR)) && \
++ ($(CHOWN) -R $(SHAREOWN):$(SHAREGRP) $(CJK_DIR))
++
++clean:
++ $(MAKE) -C utils $@