diff options
author | Steve Price <steve@FreeBSD.org> | 1999-11-28 18:32:45 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 1999-11-28 18:32:45 +0000 |
commit | bc087374d35aa9c841dd63d44e9c9697702921ed (patch) | |
tree | 9bfffecdf0e79fc2f3af0e2a2f1044536ad164ca /x11-toolkits/itk | |
parent | 3689fb2140698b1b4eff0933fe730262b161f533 (diff) | |
download | ports-bc087374d35aa9c841dd63d44e9c9697702921ed.tar.gz ports-bc087374d35aa9c841dd63d44e9c9697702921ed.zip |
Notes
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 |