aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/hanzim
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2003-08-17 09:36:07 +0800
committerkris <kris@FreeBSD.org>2003-08-17 09:36:07 +0800
commit55f8393fd20b2ddb0894c36e8ddb4650db54edad (patch)
tree367d1717f6e98c674f365a169f364863d5789401 /chinese/hanzim
parent295fa4ec56aa39f3872ba7b2a09fef606a9e6379 (diff)
downloadfreebsd-ports-gnome-55f8393fd20b2ddb0894c36e8ddb4650db54edad.tar.gz
freebsd-ports-gnome-55f8393fd20b2ddb0894c36e8ddb4650db54edad.tar.zst
freebsd-ports-gnome-55f8393fd20b2ddb0894c36e8ddb4650db54edad.zip
Update to tcl/tk 8.4 and bump PORTREVISION.
Diffstat (limited to 'chinese/hanzim')
-rw-r--r--chinese/hanzim/Makefile7
-rw-r--r--chinese/hanzim/files/patch-Makefile4
2 files changed, 6 insertions, 5 deletions
diff --git a/chinese/hanzim/Makefile b/chinese/hanzim/Makefile
index adc8a1ccadd5..34daa4aa01a0 100644
--- a/chinese/hanzim/Makefile
+++ b/chinese/hanzim/Makefile
@@ -8,7 +8,8 @@
PORTNAME= hanzim
PORTVERSION= 1.3
-CATEGORIES= chinese tk83
+PORTREVISION= 1
+CATEGORIES= chinese tk84
MASTER_SITES= ftp://kommos.ucsd.edu/pub/arobert/Chinese/%SUBDIR%/
MASTER_SITE_SUBDIR= . Old
EXTRACT_SUFX= .tgz
@@ -16,8 +17,8 @@ EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= A Chinese character learning-aid program
-BUILD_DEPENDS+= wish8.3:${PORTSDIR}/x11-toolkits/tk83
-RUN_DEPENDS+= wish8.3:${PORTSDIR}/x11-toolkits/tk83
+BUILD_DEPENDS+= wish8.4:${PORTSDIR}/x11-toolkits/tk84
+RUN_DEPENDS+= wish8.4:${PORTSDIR}/x11-toolkits/tk84
WRKSRC= ${WRKDIR}/Hanzim
ALL_TARGET= ${PORTNAME}
diff --git a/chinese/hanzim/files/patch-Makefile b/chinese/hanzim/files/patch-Makefile
index b66c91a86d2e..8234eaee4335 100644
--- a/chinese/hanzim/files/patch-Makefile
+++ b/chinese/hanzim/files/patch-Makefile
@@ -36,7 +36,7 @@
# 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) -ltk83 -ltcl83 -lX11 -lm
++LIBS = $(LIBXDIR) $(LIBTCLDIR) -ltk84 -ltcl84 -lX11 -lm
INSTALL = install
RM = rm -f
@@ -47,7 +47,7 @@
-CC = cc
-DEFINES = -D$(OS) -DLIBDIR=\"$(LIBDIR)\"
-CFLAGS = -O2 $(DEFINES)
-+DEFINES = -D$(OS) -DLIBDIR=\"$(LIBDIR)\" -I${LOCALBASE}/include/tk8.3 -I${LOCALBASE}/include/tcl8.3 -I${X11BASE}/include
++DEFINES = -D$(OS) -DLIBDIR=\"$(LIBDIR)\" -I${LOCALBASE}/include/tk8.4 -I${LOCALBASE}/include/tcl8.4 -I${X11BASE}/include
+CFLAGS += $(DEFINES)
#CFLAGS = -O2 -Wall -pedantic -ansi $(DEFINES)
LFLAGS = $(LIBS) -s