summaryrefslogtreecommitdiffstats
path: root/chinese
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2003-08-17 01:36:07 +0000
committerkris <kris@FreeBSD.org>2003-08-17 01:36:07 +0000
commit55f8393fd20b2ddb0894c36e8ddb4650db54edad (patch)
tree367d1717f6e98c674f365a169f364863d5789401 /chinese
parent295fa4ec56aa39f3872ba7b2a09fef606a9e6379 (diff)
downloadFreeBSD-ports-55f8393fd20b2ddb0894c36e8ddb4650db54edad.zip
FreeBSD-ports-55f8393fd20b2ddb0894c36e8ddb4650db54edad.tar.gz
Update to tcl/tk 8.4 and bump PORTREVISION.
Diffstat (limited to 'chinese')
-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 adc8a1c..34daa4a 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 b66c91a..8234eae 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
OpenPOWER on IntegriCloud