diff options
author | steve <steve@FreeBSD.org> | 1999-11-29 02:32:45 +0800 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1999-11-29 02:32:45 +0800 |
commit | 08c63c7539787146848177b39e6859b9318119c8 (patch) | |
tree | 045e72940e0580d322686df49fa5f8edfa473315 /x11-toolkits/itk | |
parent | 775d6227a319547ad506dac9b94354b25428275c (diff) | |
download | freebsd-ports-gnome-08c63c7539787146848177b39e6859b9318119c8.tar.gz freebsd-ports-gnome-08c63c7539787146848177b39e6859b9318119c8.tar.zst freebsd-ports-gnome-08c63c7539787146848177b39e6859b9318119c8.zip |
Update to use Tcl/Tk version 8.2.
Submitted by: Ade Lovett <ade@lovett.com>
Diffstat (limited to 'x11-toolkits/itk')
-rw-r--r-- | x11-toolkits/itk/Makefile | 11 | ||||
-rw-r--r-- | x11-toolkits/itk/files/Makefile.lib | 4 | ||||
-rw-r--r-- | x11-toolkits/itk/pkg-plist | 4 |
3 files changed, 9 insertions, 10 deletions
diff --git a/x11-toolkits/itk/Makefile b/x11-toolkits/itk/Makefile index f40c8ba87bb2..f33fecb428e9 100644 --- a/x11-toolkits/itk/Makefile +++ b/x11-toolkits/itk/Makefile @@ -8,17 +8,17 @@ DISTNAME= itcl3.0.1 PKGNAME= itk-3.0.1 -CATEGORIES= x11-toolkits tk80 +CATEGORIES= x11-toolkits tk82 MASTER_SITES= ftp://ftp.tcltk.com/pub/itcl/ MAINTAINER= dmlb@ragnet.demon.co.uk -LIB_DEPENDS= tk80.1:${PORTSDIR}/x11-toolkits/tk80 \ +LIB_DEPENDS= tk82.1:${PORTSDIR}/x11-toolkits/tk82 \ itcl30.1:${PORTSDIR}/lang/itcl WRKSRC= ${WRKDIR}/itcl3.0.1/itk/unix GNU_CONFIGURE= yes -CONFIGURE_ARGS= --enable-shared --with-tcl=${PREFIX}/lib/tcl8.0 --with-itcl=${PREFIX}/lib/itcl3.0 --with-tk=${PREFIX}/lib/tk8.0 +CONFIGURE_ARGS= --enable-shared --with-tcl=${PREFIX}/lib/tcl8.2 --with-itcl=${PREFIX}/lib/itcl3.0 --with-tk=${PREFIX}/lib/tk8.2 CONFIGURE_ENV= PORTSDIR=${PORTSDIR} ITK_LIB_FILE=${ITK_LIB_FILE} SHLIB_MAJOR= 1 @@ -32,11 +32,7 @@ MANN= Archetype.n Toplevel.n Widget.n itk.n itkvars.n usual.n .include <bsd.port.pre.mk> -.if ${PORTOBJFORMAT} == "elf" ITK_LIB_FILE= ${ITK_LIB}.${SHLIB_MAJOR} -.else -ITK_LIB_FILE= ${ITK_LIB}.${SHLIB_MAJOR}.${SHLIB_MINOR} -.endif post-configure: @${CP} ${FILESDIR}/Makefile.lib ${WRKSRC} @@ -48,6 +44,7 @@ pre-build: TCL_PREFIX=${PREFIX} ITCL_PREFIX=${PREFIX} TK_PREFIX=${PREFIX} post-install: + ${LN} -sf itkwish3.0 ${PREFIX}/bin/itkwish ${LN} -sf ${ITK_LIB_FILE} ${PREFIX}/lib/${ITK_LIB} ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib diff --git a/x11-toolkits/itk/files/Makefile.lib b/x11-toolkits/itk/files/Makefile.lib index 2eed56b86d2e..9f362ba9fcd8 100644 --- a/x11-toolkits/itk/files/Makefile.lib +++ b/x11-toolkits/itk/files/Makefile.lib @@ -2,9 +2,9 @@ NOPROFILE= yes LIB= itk30 ITK_LIBRARY= ${PREFIX}/lib/itk3.0 CFLAGS+= -I. -I./../generic \ - -I${TCL_PREFIX}/include/tcl8.0/generic \ + -I${TCL_PREFIX}/include/tcl8.2/generic \ -I${ITCL_PREFIX}/include/itcl3.0/generic \ - -I${TK_PREFIX}/include/tk8.0/generic \ + -I${TK_PREFIX}/include/tk8.2/generic \ -I/usr/X11R6/include \ -DHAVE_GETCWD=1 -DNO_VALUES_H=1 -DHAVE_UNISTD_H=1 -DUSE_TERMIOS=1\ -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1\ diff --git a/x11-toolkits/itk/pkg-plist b/x11-toolkits/itk/pkg-plist index 46c5ee8e56bc..c75e1f7edd39 100644 --- a/x11-toolkits/itk/pkg-plist +++ b/x11-toolkits/itk/pkg-plist @@ -1,7 +1,9 @@ bin/itkwish3.0 +@exec /bin/ln -s %D/%F %B/itkwish +@unexec rm %B/itkwish include/itk3.0/generic/itk.h include/itk3.0/itk.h -lib/libitk30.so.1.1 +lib/libitk30.so.1 lib/libitk30.so lib/libitk30.a @exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B |