aboutsummaryrefslogtreecommitdiffstats
path: root/devel/tclcl/Makefile
blob: 8f32e1bdf4be2e59394290e5a6ae5fbec7794572 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# New ports collection makefile for: tclcl
# Date created:     23 April 1999
# Whom:         obonilla
#
# $FreeBSD$
#

PORTNAME=   tclcl
PORTVERSION=    1.0b11
CATEGORIES= devel tcl83 tk83
MASTER_SITES=   http://www.isi.edu/nsnam/dist/
DISTFILES=  tclcl-src-${PORTVERSION}.tar.gz

MAINTAINER= obonilla@fisicc-ufm.edu
COMMENT=    Tcl/C++ interface used by ns and nam

LIB_DEPENDS=    tk83.1:${PORTSDIR}/x11-toolkits/tk83 \
        otcl.1:${PORTSDIR}/lang/otcl

GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --with-tcl-ver=8.3 --with-tk-ver=8.3

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/tcl2c++ ${PREFIX}/bin
    ${INSTALL_SCRIPT} ${WRKSRC}/otcldoc ${PREFIX}/bin
    ${INSTALL_DATA} ${WRKSRC}/*.h ${PREFIX}/include
    ${INSTALL_DATA} ${WRKSRC}/libtclcl.a ${PREFIX}/lib
    @${LN} -sf ${PREFIX}/lib/libtclcl.a ${PREFIX}/lib/libTcl.a
.include <bsd.port.mk>