summaryrefslogtreecommitdiff
path: root/packages/t1lib/t1lib-5.0.2/install.patch
blob: 3d8843861cba534329a8480025e057af2c8c8727 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163

#
# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
#

--- t1lib-5.0.1/Makefile.in~install	2001-01-15 17:37:11.000000000 -0500
+++ t1lib-5.0.1/Makefile.in	2004-02-13 12:29:21.000000000 -0500
@@ -44,6 +44,7 @@
 INSTALL_PROGRAM = @INSTALL_PROGRAM@
 INSTALL_DATA    = @INSTALL_DATA@
 MKINSTALLDIRS   = @top_srcdir@/ac-tools/mkinstalldirs
+DESTDIR		= @DESTDIR@
 prefix          = @prefix@
 exec_prefix     = @exec_prefix@
 includedir      = @includedir@
--- t1lib-5.0.1/doc/Makefile.in~install	2001-12-15 14:10:46.000000000 -0500
+++ t1lib-5.0.1/doc/Makefile.in	2004-02-13 12:29:28.000000000 -0500
@@ -43,6 +43,7 @@
 INSTALL_PROGRAM = @INSTALL_PROGRAM@
 INSTALL_DATA    = @INSTALL_DATA@
 MKINSTALLDIRS   = @top_srcdir@/ac-tools/mkinstalldirs
+DESTDIR		= @DESTDIR@
 prefix          = @prefix@
 exec_prefix     = @exec_prefix@
 includedir      = @includedir@
@@ -91,18 +92,18 @@
 install: dummy
 	if (test -f t1lib_doc.ps) \
 	then \
-	  $(MKINSTALLDIRS) @T1LIB_DATA_DIR@/doc; \
-	  $(INSTALL_DATA) t1lib_doc.ps @T1LIB_DATA_DIR@/doc; \
+	  $(MKINSTALLDIRS) $(DESTDIR)@T1LIB_DATA_DIR@/doc; \
+	  $(INSTALL_DATA) t1lib_doc.ps $(DESTDIR)@T1LIB_DATA_DIR@/doc; \
 	fi;
 	if (test -f t1lib_doc.pdf) \
 	then \
-	  $(MKINSTALLDIRS) @T1LIB_DATA_DIR@/doc; \
-	  $(INSTALL_DATA) t1lib_doc.pdf @T1LIB_DATA_DIR@/doc; \
+	  $(MKINSTALLDIRS) $(DESTDIR)@T1LIB_DATA_DIR@/doc; \
+	  $(INSTALL_DATA) t1lib_doc.pdf $(DESTDIR)@T1LIB_DATA_DIR@/doc; \
 	fi;
 
 
 uninstall: dummy
-	$(RM) -R @T1LIB_DATA_DIR@/doc
+	$(RM) -R $(DESTDIR)@T1LIB_DATA_DIR@/doc
 
 
 dummy:
--- t1lib-5.0.1/examples/Makefile.in~install	2001-01-15 17:11:47.000000000 -0500
+++ t1lib-5.0.1/examples/Makefile.in	2004-02-13 12:29:33.000000000 -0500
@@ -40,6 +40,7 @@
 INSTALL_PROGRAM = @INSTALL_PROGRAM@
 INSTALL_DATA    = @INSTALL_DATA@
 MKINSTALLDIRS   = @top_srcdir@/ac-tools/mkinstalldirs
+DESTDIR		= @DESTDIR@
 prefix          = @prefix@
 exec_prefix     = @exec_prefix@
 includedir      = @includedir@
--- t1lib-5.0.1/lib/Makefile.in~install	2002-06-24 22:15:30.000000000 -0400
+++ t1lib-5.0.1/lib/Makefile.in	2004-02-13 12:29:35.000000000 -0500
@@ -40,6 +40,7 @@
 INSTALL_PROGRAM = @INSTALL_PROGRAM@
 INSTALL_DATA    = @INSTALL_DATA@
 MKINSTALLDIRS   = @top_srcdir@/ac-tools/mkinstalldirs
+DESTDIR		= @DESTDIR@
 prefix          = @prefix@
 exec_prefix     = @exec_prefix@
 includedir      = @includedir@
@@ -160,27 +161,27 @@
 
 
 install: dummy
-	$(MKINSTALLDIRS) $(libdir)
-	$(MKINSTALLDIRS) $(includedir)
-	$(MKINSTALLDIRS) @T1LIB_DATA_DIR@
+	$(MKINSTALLDIRS) $(DESTDIR)$(libdir)
+	$(MKINSTALLDIRS) $(DESTDIR)$(includedir)
+	$(MKINSTALLDIRS) $(DESTDIR)@T1LIB_DATA_DIR@
 	$(LIBTOOL) --mode=install \
-		$(INSTALL_DATA) $(MAIN_TARGET) $(libdir)
+		$(INSTALL_DATA) $(MAIN_TARGET) $(DESTDIR)$(libdir)
 	$(LIBTOOL) --mode=install \
-		$(INSTALL_DATA) $(MAIN_HEADER) $(includedir)
-	if (test -f @T1LIB_DATA_DIR@/t1lib.config) \
+		$(INSTALL_DATA) $(MAIN_HEADER) $(DESTDIR)$(includedir)
+	if (test -f $(DESTDIR)@T1LIB_DATA_DIR@/t1lib.config) \
 	then \
 	  echo "Alert: Global configuration file exists, installation skipped!"; \
 	else \
-	  $(LIBTOOL) --mode=install $(INSTALL_DATA) t1lib.config @T1LIB_DATA_DIR@; \
+	  $(LIBTOOL) --mode=install $(INSTALL_DATA) t1lib.config $(DESTDIR)@T1LIB_DATA_DIR@; \
 	fi;
 
 
 uninstall: dummy
-	-$(LIBTOOL) --mode=uninstall $(RM) $(libdir)/libt1.la
-	-$(LIBTOOL) --mode=uninstall $(RM) $(libdir)/libt1x.la
-	-$(LIBTOOL) --mode=uninstall $(RM) $(includedir)/t1lib.h
-	-$(LIBTOOL) --mode=uninstall $(RM) $(includedir)/t1libx.h
-	-$(LIBTOOL) --mode=uninstall $(RM) @T1LIB_DATA_DIR@/t1lib.config
+	-$(LIBTOOL) --mode=uninstall $(RM) $(DESTDIR)$(libdir)/libt1.la
+	-$(LIBTOOL) --mode=uninstall $(RM) $(DESTDIR)$(libdir)/libt1x.la
+	-$(LIBTOOL) --mode=uninstall $(RM) $(DESTDIR)$(includedir)/t1lib.h
+	-$(LIBTOOL) --mode=uninstall $(RM) $(DESTDIR)$(includedir)/t1libx.h
+	-$(LIBTOOL) --mode=uninstall $(RM) $(DESTDIR)@T1LIB_DATA_DIR@/t1lib.config
 
 
 dummy:
--- t1lib-5.0.1/type1afm/Makefile.in~install	2001-01-15 17:08:23.000000000 -0500
+++ t1lib-5.0.1/type1afm/Makefile.in	2004-02-13 12:29:40.000000000 -0500
@@ -42,6 +42,7 @@
 INSTALL_PROGRAM = @INSTALL_PROGRAM@
 INSTALL_DATA    = @INSTALL_DATA@
 MKINSTALLDIRS   = @top_srcdir@/ac-tools/mkinstalldirs
+DESTDIR		= @DESTDIR@
 prefix          = @prefix@
 exec_prefix     = @exec_prefix@
 includedir      = @includedir@
@@ -87,14 +88,14 @@
 	-rmdir .libs
 
 install: dummy
-	$(MKINSTALLDIRS) $(bindir)
+	$(MKINSTALLDIRS) $(DESTDIR)$(bindir)
 	$(LIBTOOL) --mode=install \
-		$(INSTALL_PROGRAM) type1afm $(bindir)/type1afm
+		$(INSTALL_PROGRAM) type1afm $(DESTDIR)$(bindir)/type1afm
 
 
 uninstall: dummy
 	$(LIBTOOL) --mode=uninstall \
-		$(RM) $(bindir)/type1afm	
+		$(RM) $(DESTDIR)$(bindir)/type1afm	
 
 
 dummy:
--- t1lib-5.0.1/xglyph/Makefile.in~install	2001-01-15 17:06:53.000000000 -0500
+++ t1lib-5.0.1/xglyph/Makefile.in	2004-02-13 12:29:44.000000000 -0500
@@ -42,6 +42,7 @@
 INSTALL_PROGRAM = @INSTALL_PROGRAM@
 INSTALL_DATA    = @INSTALL_DATA@
 MKINSTALLDIRS   = @top_srcdir@/ac-tools/mkinstalldirs
+DESTDIR		= @DESTDIR@
 prefix          = @prefix@
 exec_prefix     = @exec_prefix@
 includedir      = @includedir@
@@ -94,12 +95,12 @@
 
 
 install: dummy
-	$(MKINSTALLDIRS) $(bindir)
-	$(LIBTOOL) --mode=install $(INSTALL_PROGRAM) xglyph $(bindir)/xglyph
+	$(MKINSTALLDIRS) $(DESTDIR)$(bindir)
+	$(LIBTOOL) --mode=install $(INSTALL_PROGRAM) xglyph $(DESTDIR)$(bindir)/xglyph
 
 
 uninstall: dummy
-	$(LIBTOOL) --mode=uninstall $(RM) -f $(bindir)/xglyph	
+	$(LIBTOOL) --mode=uninstall $(RM) -f $(DESTDIR)$(bindir)/xglyph	
 
 
 dummy: