head	1.2;
access;
symbols
	RELEASE_8_3_0:1.2
	RELEASE_9_0_0:1.2
	RELEASE_7_4_0:1.2
	RELEASE_8_2_0:1.2
	RELEASE_6_EOL:1.2
	RELEASE_8_1_0:1.2
	RELEASE_7_3_0:1.1
	RELEASE_8_0_0:1.1
	RELEASE_7_2_0:1.1
	RELEASE_7_1_0:1.1
	RELEASE_6_4_0:1.1
	RELEASE_5_EOL:1.1
	RELEASE_7_0_0:1.1
	RELEASE_6_3_0:1.1
	PRE_XORG_7:1.1
	RELEASE_4_EOL:1.1;
locks; strict;
comment	@# @;


1.2
date	2010.06.30.02.15.08;	author vanilla;	state Exp;
branches;
next	1.1;

1.1
date	2006.12.30.03.53.35;	author rafan;	state Exp;
branches;
next	;


desc
@@


1.2
log
@respect $(CC) to make clang happy.

Feature safe:	yes
@
text
@--- Makefile.orig	2001-04-28 09:45:46.000000000 +0800
+++ Makefile	2010-06-30 10:13:29.000000000 +0800
@@@@ -1,7 +1,6 @@@@
 
-CC=gcc
-CFLAG=-O2 -g -Wall -Iinclude
-LIBS= -Llib -lhz
+CFLAG+=-Iinclude
+LIBS+=-Llib -lhz
 
 .PHONY: all hzlib clean install-home install
 
@@@@ -30,12 +29,11 @@@@ install-home:
 	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/autoconvert
+	#${BSD_INSTALL_PROGRAM} contrib/xchat-plugins/xchat-autob5.so $(PREFIX)/share/autoconvert
+	${BSD_INSTALL_DATA} include/*.h  $(PREFIX)/include
+	ln -s autogb $(PREFIX)/bin/autob5
@


1.1
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
@d1 3
a3 3
--- Makefile.orig	Sat Apr 28 09:45:46 2001
+++ Makefile	Thu Dec 28 15:12:13 2006
@@@@ -1,7 +1,7 @@@@
d5 1
a5 1
 CC=gcc
d13 1
a13 1
@@@@ -30,12 +30,11 @@@@
@

