summaryrefslogtreecommitdiff
path: root/inputmethod/unicon-im/patches/patch-aa
blob: 92265ab60c75982cb0f1c04e3e7574a4658ddff5 (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
$NetBSD: patch-aa,v 1.1.1.1 2002/06/15 09:29:15 shell Exp $

--- Makefile.in.orig	Mon May 22 17:21:20 2000
+++ Makefile.in
@@ -2,7 +2,6 @@
 all:
 	cd server; make
 	cd client; make
-	cd unicon; make
 	cd ImmModules/CCE; make
 	cd ImmModules/TL-1; make
 
@@ -15,19 +14,14 @@
 data: gbdata big5data
 
 install: 
-	if [ ! -d $(prefix) ] ; then mkdir -p $(prefix); fi
-	if [ ! -d $(prefix)/lib/unicon2 ] ; then mkdir -p $(prefix)/lib/unicon2; fi
-	if [ ! -d $(prefix)/bin ] ; then mkdir -p $(prefix)/bin; fi
-	if [ ! -d $(prefix)/lib/unicon2/gbk ] ; then mkdir -p $(prefix)/lib/unicon2/gbk; fi
-	if [ ! -d $(prefix)/lib/unicon2/gb ] ; then mkdir -p $(prefix)/lib/unicon2/gb; fi
-	if [ ! -d $(prefix)/lib/unicon2/big5 ] ; then mkdir -p $(prefix)/lib/unicon2/big5; fi
-	if [ ! -d $(prefix)/lib/unicon2/freepy ] ; then mkdir -p $(prefix)/lib/unicon2/freepy; fi
+	$(BSD_INSTALL_DATA_DIR) $(prefix)/lib/unicon
 	cd data; make install
 	cd server; make install
 	cd client; make install
-	cd unicon; make install
 	cd ImmModules/CCE; make install
 	cd ImmModules/TL-1; make install
+	$(BSD_INSTALL_DATA) unicon/sys-big5.tab $(prefix)/lib/unicon
+	$(BSD_INSTALL_DATA) unicon/sys-gb.tab $(prefix)/lib/unicon
 
 clean:
 	cd server; make clean