head	1.3;
access;
symbols
	RELEASE_7_2_0:1.2
	RELEASE_7_1_0:1.2
	RELEASE_6_4_0:1.2
	RELEASE_5_EOL:1.2
	RELEASE_7_0_0:1.2
	RELEASE_6_3_0:1.2
	PRE_XORG_7:1.2
	RELEASE_4_EOL:1.2
	RELEASE_6_2_0:1.2
	RELEASE_6_1_0:1.2
	RELEASE_5_5_0:1.2
	RELEASE_6_0_0:1.2
	RELEASE_5_4_0:1.2
	RELEASE_4_11_0:1.2
	RELEASE_5_3_0:1.2
	RELEASE_4_10_0:1.2
	RELEASE_5_2_1:1.2
	RELEASE_5_2_0:1.2
	RELEASE_4_9_0:1.1
	RELEASE_5_1_0:1.1
	RELEASE_4_8_0:1.1
	RELEASE_5_0_0:1.1
	RELEASE_4_7_0:1.1
	RELEASE_4_6_2:1.1
	RELEASE_4_6_1:1.1
	RELEASE_4_6_0:1.1
	RELEASE_5_0_DP1:1.1
	RELEASE_4_5_0:1.1;
locks; strict;
comment	@# @;


1.3
date	2009.06.01.15.43.33;	author itetcu;	state dead;
branches;
next	1.2;

1.2
date	2003.10.19.08.24.25;	author kris;	state Exp;
branches;
next	1.1;

1.1
date	2001.12.09.09.50.05;	author clive;	state Exp;
branches;
next	;


desc
@@


1.3
log
@Patch Makefile to respect PREFIX and use our INSTALL macros.

Reported by:	QATty
@
text
@--- Makefile.orig	Wed Feb  8 20:29:35 1995
+++ Makefile	Sun Oct 19 01:23:52 2003
@@@@ -1,6 +1,8 @@@@
 SHELL = /bin/sh
 
-CFLAGS = -O -DUNDEFCHAR=0xa2a2
+CC ?= cc
+CFLAGS ?= -O -pipe
+CFLAGS += -DUNDEFCHAR=0xa2a2
 
 TABLEC = GB2312JX0208.c GB2312JX0212.c GB2312UZPJ.c
 TABLEO = GB2312JX0208.o GB2312JX0212.o GB2312UZPJ.o
@@@@ -11,19 +13,20 @@@@
 	./t2c $< $@@
 
 .c.o:
-	cc $(CFLAGS) -c $<
+	$(CC) $(CFLAGS) -c $<
 
 .t.o:
 	./t2c $< $*.c
-	cc $(CFLAGS) -c $*.c
+	$(CC) $(CFLAGS) -c $*.c
 
 gb2jis: $(TABLEO) gb2jis.o
-	cc gb2jis.o $(TABLEO) -o gb2jis
+	$(CC) gb2jis.o $(TABLEO) -o gb2jis
 	strip gb2jis
 
 install: gb2jis gb2jis.1
 	cp gb2jis /usr/local/bin/gb2jis
 	cp gb2jis.1 /usr/local/man/man1/gb2jis.1
+	cp gb2jis.el /usr/local/share/emacs/site-lisp/gb2jis.el
 #	nroff -man gb2jis.1 > /usr/local/catman/C/u_man/cat1/gb2jis.1
 
 clean:
@@@@ -34,7 +37,7 @@@@
 	-egrep '0x([2-9].[8-f]|[8-f].[2-9])' GB2312UZPJ.c
 
 t2c: t2c.c
-	cc $(CFLAGS) t2c.c -o t2c
+	$(CC) $(CFLAGS) t2c.c -o t2c
 	strip t2c
 
 $(TABLEC): t2c
@


1.2
log
@Respect CC and CFLAGS
@
text
@@


1.1
log
@New port: gb2jis

GB2JIS  converts  GB2312-80  and  GB8565-88  characters to
JISX0208-1983  and  JISX0212-1990  characters.   GB2312-80
(^[$A),  GB2312-80  +  GB8565-88  (^[$(E), and Chinese-EUC
(8-bit GuoBiao) are available for Hanzi code.

PR: ports/31849
Submitted by: Zhang Shu <jo-c@@is.aist-nara.ac.jp>
@
text
@d1 45
a45 12
*** Makefile.orig	Sat Sep 16 14:28:25 2000
--- Makefile	Sat Sep 16 14:28:48 2000
***************
*** 24,29 ****
--- 24,30 ----
  install: gb2jis gb2jis.1
  	cp gb2jis /usr/local/bin/gb2jis
  	cp gb2jis.1 /usr/local/man/man1/gb2jis.1
+ 	cp gb2jis.el /usr/local/share/emacs/site-lisp/gb2jis.el
  #	nroff -man gb2jis.1 > /usr/local/catman/C/u_man/cat1/gb2jis.1
  
  clean:
@

