head	1.5;
access;
symbols
	RELEASE_8_3_0:1.5
	RELEASE_9_0_0:1.5
	RELEASE_7_4_0:1.5
	RELEASE_8_2_0:1.5
	RELEASE_6_EOL:1.5
	RELEASE_8_1_0:1.5
	RELEASE_7_3_0:1.5
	RELEASE_8_0_0:1.5
	RELEASE_7_2_0:1.5
	RELEASE_7_1_0:1.5
	RELEASE_6_4_0:1.5
	RELEASE_5_EOL:1.5
	RELEASE_7_0_0:1.4
	RELEASE_6_3_0:1.4
	PRE_XORG_7:1.4
	RELEASE_4_EOL:1.4
	RELEASE_6_2_0:1.4
	RELEASE_6_1_0:1.4
	RELEASE_5_5_0:1.4
	RELEASE_6_0_0:1.4
	RELEASE_5_4_0:1.4
	RELEASE_4_11_0:1.4
	RELEASE_5_3_0:1.4
	RELEASE_4_10_0:1.4
	RELEASE_5_2_1:1.4
	RELEASE_5_2_0:1.4
	RELEASE_4_9_0:1.4
	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.5
date	2008.04.19.17.47.00;	author miwi;	state Exp;
branches;
next	1.4;

1.4
date	2003.08.17.01.36.07;	author kris;	state Exp;
branches;
next	1.3;

1.3
date	2003.06.26.00.55.57;	author leeym;	state Exp;
branches;
next	1.2;

1.2
date	2003.06.22.18.04.40;	author leeym;	state Exp;
branches;
next	1.1;

1.1
date	2001.09.24.05.05.49;	author ijliao;	state Exp;
branches;
next	;


desc
@@


1.5
log
@- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
@
text
@--- Makefile.orig	Wed Mar 20 00:59:19 2002
+++ Makefile	Sat Jun 14 09:21:10 2003
@@@@ -6,11 +6,11 @@@@
 
 # set INSTALLROOT to the installation base; it is used to set the
 # other directory variables below
-INSTALLROOT = /usr/local
+INSTALLROOT = ${PREFIX}
 #INSTALLROOT = /usr
 
 # set LIBDIR to where you will keep the datafiles, fontspecs, and "hanwin.tcl"
-LIBDIR = $(INSTALLROOT)/lib/Hanzim
+LIBDIR = $(INSTALLROOT)/lib/hanzim
 #LIBDIR = /usr/local/lib/Hanzim
 # for debugging
 #LIBDIR = ./Data
@@@@ -24,7 +24,7 @@@@
 #MANDIR = /usr/local/man
 
 # set DOCDIR to where you want the documentation files to reside
-DOCDIR = $(INSTALLROOT)/doc
+DOCDIR = $(INSTALLROOT)/share/doc/hanzim
 #DOCDIR = $(INSTALLROOT)/share/doc
 #DOCDIR = /usr/local/share/doc
 #DOCDIR = /usr/share/doc
@@@@ -41,13 +41,13 @@@@
 #OS=WINDOWS
 
 # location of Tcl and Tk libraries
-LIBTCLDIR = -L /usr/lib
+LIBTCLDIR = -L${LOCALBASE}/lib
 
 # location of x library
-LIBXDIR = -L /usr/X11/lib
+LIBXDIR = -L${LOCALBASE}/lib
 
 # you might need to change "libtcl" and "libtk" to "libtcl8.x" and "libtk8.x"
-LIBS = $(LIBXDIR) $(LIBTCLDIR) -ltk -ltcl -lX11 -lm -ldl
+LIBS = $(LIBXDIR) $(LIBTCLDIR) -ltk84 -ltcl84 -lX11 -lm
 
 INSTALL = install
 RM = rm -f
@@@@ -55,9 +55,8 @@@@
 # End of configuration.
 ###############################################################################
 
-CC = cc
-DEFINES = -D$(OS) -DLIBDIR=\"$(LIBDIR)\"
-CFLAGS = -O2 $(DEFINES)
+DEFINES = -D$(OS) -DLIBDIR=\"$(LIBDIR)\" -I${LOCALBASE}/include/tk8.4 -I${LOCALBASE}/include/tcl8.4 -I${LOCALBASE}/include
+CFLAGS += $(DEFINES)
 #CFLAGS = -O2 -Wall -pedantic -ansi $(DEFINES)
 LFLAGS = $(LIBS)  -s
 
@


1.4
log
@Update to tcl/tk 8.4 and bump PORTREVISION.
@
text
@d35 1
a35 1
+LIBXDIR = -L${X11BASE}/lib
d50 1
a50 1
+DEFINES = -D$(OS) -DLIBDIR=\"$(LIBDIR)\" -I${LOCALBASE}/include/tk8.4 -I${LOCALBASE}/include/tcl8.4 -I${X11BASE}/include
@


1.3
log
@+ refine Makefile
+ add missing entry in pkg-plist which is generated by hanzim -port-install
@
text
@d39 1
a39 1
+LIBS = $(LIBXDIR) $(LIBTCLDIR) -ltk83 -ltcl83 -lX11 -lm
d50 1
a50 1
+DEFINES = -D$(OS) -DLIBDIR=\"$(LIBDIR)\" -I${LOCALBASE}/include/tk8.3 -I${LOCALBASE}/include/tcl8.3 -I${X11BASE}/include
@


1.2
log
@Fix the "Hanzim: start-up error" problem

PR:		53524
Noticed by:	Mark Linimon <linimon@@lonesome.com>
Submitted by:	Serge Gagnon <gagnon__s@@videotron.ca>
@
text
@a54 9
@@@@ -96,7 +95,7 @@@@
 	$(INSTALL) -m 0644 hanwin.tcl fonts.unix fonts.windows \
 			   zidianf.gb zidianfl.b5 bushou.gb \
 		           cidianf.gb sanzicidianf.gb parts.gb $(LIBDIR)
-	$(BINDIR)/hanzim -buildDB
+	$(BINDIR)/hanzim -port-install
 
      uninstall : 
 	$(RM) $(BINDIR)/hanzim
@


1.1
log
@add hanzim
A Chinese character learning-aid program
@
text
@d1 2
a2 2
--- Makefile.orig	Tue Apr  3 13:41:51 2001
+++ Makefile	Sat Apr 14 21:38:55 2001
d55 9
@

