1994-10-05 21:29:35 -04:00
|
|
|
# New ports collection makefile for: itcl
|
1996-08-23 23:52:11 -04:00
|
|
|
# Date created: Aug 17 1996
|
|
|
|
# Whom: chuckr
|
1994-10-05 21:29:35 -04:00
|
|
|
#
|
1999-08-25 02:35:40 -04:00
|
|
|
# $FreeBSD$
|
1994-10-05 21:29:35 -04:00
|
|
|
#
|
|
|
|
|
2000-04-12 02:21:15 -04:00
|
|
|
PORTNAME= itcl
|
|
|
|
PORTVERSION= 3.0.1
|
1996-11-11 21:19:40 -05:00
|
|
|
CATEGORIES= lang
|
1999-04-05 18:18:02 -04:00
|
|
|
MASTER_SITES= ftp://ftp.tcltk.com/pub/itcl/
|
2000-04-12 02:21:15 -04:00
|
|
|
DISTNAME= itcl3.0.1
|
1995-04-15 01:44:50 -04:00
|
|
|
|
1999-04-05 18:18:02 -04:00
|
|
|
MAINTAINER= dmlb@ragnet.demon.co.uk
|
1994-10-05 21:29:35 -04:00
|
|
|
|
1999-11-28 13:32:45 -05:00
|
|
|
LIB_DEPENDS= tcl82.1:${PORTSDIR}/lang/tcl82
|
1999-04-05 18:18:02 -04:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/itcl3.0.1/itcl/unix
|
2000-06-16 17:52:40 -04:00
|
|
|
INSTALLS_SHLIB= yes
|
1996-08-25 23:00:41 -04:00
|
|
|
GNU_CONFIGURE= yes
|
1999-11-28 13:32:45 -05:00
|
|
|
CONFIGURE_ARGS= --enable-shared --with-tcl=${PREFIX}/lib/tcl8.2
|
1999-04-05 18:18:02 -04:00
|
|
|
CONFIGURE_ENV= PORTSDIR=${PORTSDIR} ITCL_LIB_FILE=${ITCL_LIB_FILE}
|
2000-10-08 06:02:41 -04:00
|
|
|
PKGINSTALL= ${PORTSDIR}/lang/tcl82/pkg-install.tclsh
|
|
|
|
PKGDEINSTALL= ${PORTSDIR}/lang/tcl82/pkg-deinstall.tclsh
|
1996-08-23 23:52:11 -04:00
|
|
|
|
1999-04-05 18:18:02 -04:00
|
|
|
SHLIB_MAJOR= 1
|
|
|
|
SHLIB_MINOR= 1
|
|
|
|
MAKEFILE= makefile
|
|
|
|
ITCL_LIB= libitcl30.so
|
1996-08-23 23:52:11 -04:00
|
|
|
|
1999-04-05 18:18:02 -04:00
|
|
|
MANCOMPRESSED= yes
|
|
|
|
MAN1= itclsh.1
|
|
|
|
MANN= body.n class.n code.n configbody.n delete.n ensemble.n find.n
|
|
|
|
MANN+= itcl.n itcl_class.n itcl_info.n itclvars.n local.n scope.n
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
ITCL_LIB_FILE= ${ITCL_LIB}.${SHLIB_MAJOR}
|
|
|
|
|
|
|
|
post-configure:
|
|
|
|
@${CP} ${FILESDIR}/Makefile.lib ${WRKSRC}
|
|
|
|
@${CP} ${FILESDIR}/makefile ${WRKSRC}
|
|
|
|
|
|
|
|
pre-build:
|
|
|
|
@cd ${WRKSRC} && ${MAKE} -f Makefile.lib PREFIX=${PREFIX} \
|
|
|
|
SHLIB_MAJOR=${SHLIB_MAJOR} SHLIB_MINOR=${SHLIB_MINOR} \
|
|
|
|
TCL_PREFIX=${PREFIX}
|
|
|
|
|
|
|
|
post-install:
|
1999-11-28 13:32:45 -05:00
|
|
|
${LN} -sf ${PREFIX}/bin/itclsh3.0 ${PREFIX}/bin/itclsh
|
1999-04-05 18:18:02 -04:00
|
|
|
${LN} -sf ${ITCL_LIB_FILE} ${PREFIX}/lib/${ITCL_LIB}
|
2000-05-31 14:17:39 -04:00
|
|
|
.if exists(${PKGINSTALL})
|
|
|
|
${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL}
|
|
|
|
.endif
|
1999-04-05 18:18:02 -04:00
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|