head	1.7;
access;
symbols
	RELEASE_6_2_0:1.6
	RELEASE_6_1_0:1.6
	RELEASE_5_5_0:1.6
	RELEASE_6_0_0:1.6
	RELEASE_5_4_0:1.6
	RELEASE_4_11_0:1.6
	RELEASE_5_3_0:1.6
	RELEASE_4_10_0:1.6
	RELEASE_5_2_1:1.6
	RELEASE_5_2_0:1.6
	RELEASE_4_9_0:1.6
	RELEASE_5_1_0:1.6
	RELEASE_4_8_0:1.5
	RELEASE_5_0_0:1.5
	RELEASE_4_7_0:1.5
	RELEASE_4_6_2:1.5
	RELEASE_4_6_1:1.5
	RELEASE_4_6_0:1.5
	RELEASE_5_0_DP1:1.5
	RELEASE_4_5_0:1.5
	RELEASE_4_4_0:1.5
	RELEASE_4_3_0:1.4
	RELEASE_4_2_0:1.3
	RELEASE_4_1_1:1.3
	RELEASE_4_1_0:1.3
	RELEASE_3_5_0:1.3
	RELEASE_4_0_0:1.1.1.1
	RELEASE_3_4_0:1.1.1.1
	v0_3_2:1.1.1.1
	YINJIEH:1.1.1;
locks; strict;
comment	@# @;


1.7
date	2006.12.30.03.53.35;	author rafan;	state dead;
branches;
next	1.6;

1.6
date	2003.05.15.06.16.33;	author ijliao;	state Exp;
branches;
next	1.5;

1.5
date	2001.08.13.13.14.49;	author kevlo;	state Exp;
branches;
next	1.4;

1.4
date	2001.01.14.14.45.33;	author clive;	state Exp;
branches;
next	1.3;

1.3
date	2000.04.02.04.49.45;	author vanilla;	state Exp;
branches;
next	1.2;

1.2
date	2000.03.19.03.14.37;	author foxfair;	state Exp;
branches;
next	1.1;

1.1
date	99.10.27.10.53.09;	author nakai;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	99.10.27.10.53.09;	author nakai;	state Exp;
branches;
next	;


desc
@@


1.7
log
@- Update to 0.3.16
  This builds on newer gcc.
- Respect CC, CFLAGS
- Comply new style patch filename
- xchat plugin is disabled for now

PR:		ports/107264
Submitted by:	Ying-Chieh Chen (maintainer)
@
text
@--- Makefile.orig	Sat Apr 28 09:45:46 2001
+++ Makefile	Thu May 15 13:52:33 2003
@@@@ -1,7 +1,7 @@@@
 
 CC=gcc
-CFLAG=-O2 -g -Wall -Iinclude
-LIBS= -Llib -lhz
+CFLAG+=-Iinclude
+LIBS+=-Llib -lhz
 
 .PHONY: all hzlib clean install-home install
 
@@@@ -30,12 +30,11 @@@@
 	ln -s $(HOME)/bin/autogb $(HOME)/bin/autob5
 	chmod 755 $(HOME)/bin/autogb 
 install:
-	install -m 755 autogb $(DESTDIR)/usr/bin
-	install -m 755 lib/libhz.so.0.0 $(DESTDIR)/usr/lib
-	cd $(DESTDIR)/usr/lib;ln -s  libhz.so.0.0 libhz.so.0
-	cd $(DESTDIR)/usr/lib;ln -s  libhz.so.0 libhz.so
-	install -m 755 lib/libhz.a $(DESTDIR)/usr/lib
-	install -m 755 contrib/xchat-plugins/xchat-autogb.so $(DESTDIR)/usr/share/zh-autoconvert
-	install -m 755 contrib/xchat-plugins/xchat-autob5.so $(DESTDIR)/usr/share/zh-autoconvert
-	install -m 644 include/*.h  $(DESTDIR)/usr/include
-	ln -s autogb $(DESTDIR)/usr/bin/autob5
+	${BSD_INSTALL_PROGRAM} autogb $(PREFIX)/bin
+	${BSD_INSTALL_PROGRAM} lib/libhz.so.0.0 $(PREFIX)/lib/libhz.so.0
+	cd $(PREFIX)/lib;ln -s  libhz.so.0 libhz.so
+	${BSD_INSTALL_PROGRAM} lib/libhz.a $(PREFIX)/lib
+	${BSD_INSTALL_PROGRAM} contrib/xchat-plugins/xchat-autogb.so $(PREFIX)/share/zh-autoconvert
+	${BSD_INSTALL_PROGRAM} contrib/xchat-plugins/xchat-autob5.so $(PREFIX)/share/zh-autoconvert
+	${BSD_INSTALL_DATA} include/*.h  $(PREFIX)/include
+	ln -s autogb $(PREFIX)/bin/autob5
@


1.6
log
@1. dont specify -lgnugetopt in Makefile
2. respect CFLAGS
3. utilize BSD_INSTALL_* macro
@
text
@@


1.5
log
@- Update to version 0.3.13
- Update MASTER_SITES

PR: 29569
Submitted by: Yen-Ming Lee <leeym@@utopia.leeym.com>
@
text
@d2 1
a2 1
+++ Makefile	Thu Aug  9 23:31:09 2001
d8 2
a9 2
+CFLAG+=-Iinclude -I/usr/local/include
+LIBS+=-Llib -lhz -L/usr/local/lib -lgnugetopt
d26 2
a27 2
+	install -m 755 autogb $(PREFIX)/bin
+	install -m 755 lib/libhz.so.0.0 $(PREFIX)/lib/libhz.so.0
d29 4
a32 4
+	install -m 755 lib/libhz.a $(PREFIX)/lib
+	install -m 755 contrib/xchat-plugins/xchat-autogb.so $(PREFIX)/share/zh-autoconvert
+	install -m 755 contrib/xchat-plugins/xchat-autob5.so $(PREFIX)/share/zh-autoconvert
+	install -m 644 include/*.h  $(PREFIX)/include
@


1.4
log
@Update to 0.3.8

PR: 24277
Submitted by: MAINTAINER
@
text
@d1 3
a3 3
--- Makefile.orig	Mon Jan  8 18:05:51 2001
+++ Makefile	Tue Jan  9 03:03:10 2001
@@@@ -1,11 +1,12 @@@@
d13 21
a33 6
-all: autob5 autogb hzlib  xchat-plugins
+all: autob5 autogb hzlib
+#xchat-plugins
 
 autob5: autogb
 	rm -f autob5;ln -s autogb autob5
@


1.3
log
@Respect CC and CFLAGS
@
text
@d1 3
a3 3
--- Makefile.orig	Wed Jan  5 13:50:05 2000
+++ Makefile	Sun Apr  2 11:37:04 2000
@@@@ -1,6 +1,6 @@@@
d6 4
a9 2
-CFLAG=-O2 -g -Iinclude
+CFLAG+=-Iinclude
d11 1
d13 6
a18 1
 all: autob5 autogb hzlib 
@


1.2
log
@PR:		17369
Submitted by:	Yin-Jieh Chen <yinjieh@@Crazyman.Dorm13.NCTU.edu.tw>
Update to 0.3.5, patches submitted by port's maintainer.
@
text
@d1 2
a2 2
--- Makefile.orig	Sat Mar 11 14:41:18 2000
+++ Makefile	Sat Mar 11 14:41:24 2000
d7 1
a7 1
+CFLAG+=-O2 -g -Iinclude
@


1.1
log
@Initial revision
@
text
@d1 4
a4 3
--- Makefile.orig	Mon Oct 25 19:00:37 1999
+++ Makefile	Tue Oct 26 08:29:33 1999
@@@@ -1,5 +1,5 @@@@
d6 2
a7 2
-CFLAG=-O2 -g
+CFLAG+=-O2
d10 1
a10 1
 all:lib.o autob5 autogb hzlib 
@


1.1.1.1
log
@Initial Import.
Chinese character code converter.
(Such tool is simple, but important for multibyte- people. :)

PR:		ports/14528
Submitted by:	Yin-Jieh Chen yinjieh@@Crazyman.Dorm13.NCTU.edu.tw
@
text
@@
