summaryrefslogtreecommitdiffstats
path: root/lang/otcl/Makefile
blob: 9eeca690ade46a4ecaad91347a1364f288ae8e40 (plain)
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
30
31
32
33
34
# New ports collection makefile for: otcl
# Date created:		23 April 1999
# Whom:			obonilla
#
# $FreeBSD$
#

PORTNAME=	otcl
PORTVERSION=	1.9
CATEGORIES=	lang tcl84 tk84
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	otcl-tclcl

MAINTAINER=	ports@FreeBSD.org
COMMENT=	MIT Object Tcl

LIB_DEPENDS=	tk84:${PORTSDIR}/x11-toolkits/tk84

USE_AUTOTOOLS=	autoconf:213
CONFIGURE_ARGS=	--with-tcl-ver=8.4 --with-tk-ver=8.4
USE_LDCONFIG=	yes

PKGINSTALL=	${PORTSDIR}/lang/tcl84/pkg-install.tclsh
PKGDEINSTALL=	${PORTSDIR}/lang/tcl84/pkg-deinstall.tclsh

post-install:
	${LN} -sf libotcl.so ${PREFIX}/lib/libotcl.so.1
	${STRIP_CMD} ${PREFIX}/bin/otclsh
	${STRIP_CMD} ${PREFIX}/bin/owish
.if exists(${PKGINSTALL})
	${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL}
.endif

.include <bsd.port.mk>
OpenPOWER on IntegriCloud