1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # T2 SDE: package/.../transfig/usr-local.patch
5 # Copyright (C) 2007 The T2 SDE Project
7 # More information can be found in the files COPYING and README.
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
15 # --- T2-COPYRIGHT-NOTE-END ---
17 diff -ur transfig.3.2.5/fig2dev/dev/Makefile transfig.3.2.5-fixed/fig2dev/dev/Makefile
18 --- transfig.3.2.5/fig2dev/dev/Makefile 2005-08-18 16:31:10.000000000 +0000
19 +++ transfig.3.2.5-fixed/fig2dev/dev/Makefile 2007-05-09 12:53:27.000000000 +0000
24 - @if [ -d $(DESTDIR)/usr/local/lib/fig2dev ]; then \
25 + @if [ -d $(DESTDIR)$(XFIGLIBDIR)/fig2dev ]; then \
28 - if [ -h $(DESTDIR)/usr/local/lib/fig2dev ]; then \
29 - (set -x; rm -f $(DESTDIR)/usr/local/lib/fig2dev); \
30 + if [ -h $(DESTDIR)$(XFIGLIBDIR)/fig2dev ]; then \
31 + (set -x; rm -f $(DESTDIR)$(XFIGLIBDIR)/fig2dev); \
33 - (set -x; $(MKDIRHIER) $(DESTDIR)/usr/local/lib/fig2dev); \
34 + (set -x; $(MKDIRHIER) $(DESTDIR)$(XFIGLIBDIR)/fig2dev); \
36 - $(INSTALL) $(INSTALLFLAGS) $(INSTDATFLAGS) japanese.ps $(DESTDIR)/usr/local/lib/fig2dev/japanese.ps
37 - ( cd $(DESTDIR)/usr/local/lib/fig2dev; rm -f ja.ps ja_JP.ps ja_JP.ujis.ps ja_JP.eucJP.ps ja_JP.EUC.ps; $(LN) japanese.ps ja.ps; $(LN) japanese.ps ja_JP.ps; $(LN) japanese.ps ja_JP.ujis.ps; $(LN) japanese.ps ja_JP.eucJP.ps; $(LN) japanese.ps ja_JP.EUC.ps )
38 + $(INSTALL) $(INSTALLFLAGS) $(INSTDATFLAGS) japanese.ps $(DESTDIR)$(XFIGLIBDIR)/japanese.ps
39 + ( cd $(DESTDIR)$(XFIGLIBDIR)/fig2dev; rm -f ja.ps ja_JP.ps ja_JP.ujis.ps ja_JP.eucJP.ps ja_JP.EUC.ps; $(LN) japanese.ps ja.ps; $(LN) japanese.ps ja_JP.ps; $(LN) japanese.ps ja_JP.ujis.ps; $(LN) japanese.ps ja_JP.eucJP.ps; $(LN) japanese.ps ja_JP.EUC.ps )
42 - @if [ -d $(DESTDIR)/usr/local/lib/fig2dev ]; then \
43 + @if [ -d $(DESTDIR)$(XFIGLIBDIR)/fig2dev ]; then \
46 - if [ -h $(DESTDIR)/usr/local/lib/fig2dev ]; then \
47 - (set -x; rm -f $(DESTDIR)/usr/local/lib/fig2dev); \
48 + if [ -h $(DESTDIR)$(XFIGLIBDIR)/fig2dev ]; then \
49 + (set -x; rm -f $(DESTDIR)$(XFIGLIBDIR)/fig2dev); \
51 - (set -x; $(MKDIRHIER) $(DESTDIR)/usr/local/lib/fig2dev); \
52 + (set -x; $(MKDIRHIER) $(DESTDIR)$(XFIGLIBDIR)/fig2dev); \
54 - $(INSTALL) $(INSTALLFLAGS) $(INSTDATFLAGS) korean.ps $(DESTDIR)/usr/local/lib/fig2dev/korean.ps
55 - ( cd $(DESTDIR)/usr/local/lib/fig2dev; rm -f ko.ps ko_KR.ps ko_KR.eucKR.ps ko_KR.EUC.ps; $(LN) korean.ps ko.ps; $(LN) korean.ps ko_KR.ps; $(LN) korean.ps ko_KR.eucKR.ps; $(LN) korean.ps ko_KR.EUC.ps )
56 + $(INSTALL) $(INSTALLFLAGS) $(INSTDATFLAGS) korean.ps $(DESTDIR)$(XFIGLIBDIR)/fig2dev/korean.ps
57 + ( cd $(DESTDIR)$(XFIGLIBDIR)/fig2dev; rm -f ko.ps ko_KR.ps ko_KR.eucKR.ps ko_KR.EUC.ps; $(LN) korean.ps ko.ps; $(LN) korean.ps ko_KR.ps; $(LN) korean.ps ko_KR.eucKR.ps; $(LN) korean.ps ko_KR.EUC.ps )
60 - @if [ -d $(DESTDIR)/usr/local/lib/fig2dev ]; then \
61 + @if [ -d $(DESTDIR)$(XFIGLIBDIR)/fig2dev ]; then \
64 - if [ -h $(DESTDIR)/usr/local/lib/fig2dev ]; then \
65 - (set -x; rm -f $(DESTDIR)/usr/local/lib/fig2dev); \
66 + if [ -h $(DESTDIR)$(XFIGLIBDIR)/fig2dev ]; then \
67 + (set -x; rm -f $(DESTDIR)$(XFIGLIBDIR)/fig2dev); \
69 - (set -x; $(MKDIRHIER) $(DESTDIR)/usr/local/lib/fig2dev); \
70 + (set -x; $(MKDIRHIER) $(DESTDIR)$(XFIGLIBDIR)/fig2dev); \
72 - $(INSTALL) $(INSTALLFLAGS) $(INSTDATFLAGS) cs_CZ.ps $(DESTDIR)/usr/local/lib/fig2dev/cs_CZ.ps
73 - ( cd $(DESTDIR)/usr/local/lib/fig2dev; rm -f hr_HR.ps hu_HU.ps pl_PL.ps ro_RO.ps sk_SK.ps sl_SI.ps; $(LN) cs_CZ.ps hr_HR.ps; $(LN) cs_CZ.ps hu_HU.ps; $(LN) cs_CZ.ps ro_RO.ps; $(LN) cs_CZ.ps pl_PL.ps; $(LN) cs_CZ.ps sk_SK.ps; $(LN) cs_CZ.ps sl_SI.ps )
74 + $(INSTALL) $(INSTALLFLAGS) $(INSTDATFLAGS) cs_CZ.ps $(DESTDIR)$(XFIGLIBDIR)/fig2dev/cs_CZ.ps
75 + ( cd $(DESTDIR)$(XFIGLIBDIR)/fig2dev; rm -f hr_HR.ps hu_HU.ps pl_PL.ps ro_RO.ps sk_SK.ps sl_SI.ps; $(LN) cs_CZ.ps hr_HR.ps; $(LN) cs_CZ.ps hu_HU.ps; $(LN) cs_CZ.ps ro_RO.ps; $(LN) cs_CZ.ps pl_PL.ps; $(LN) cs_CZ.ps sk_SK.ps; $(LN) cs_CZ.ps sl_SI.ps )
77 # ----------------------------------------------------------------------
78 # common rules for all Makefiles - do not edit