1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/lang/otcl/Makefile
Tim Vanderhoek 29870c686d PKGDEINSTALL=${PORTSDIR}/lang/tcl82/pkg/DEINSTALL.tclsh, or from
${PKGDIR} if DEINSTALL.tclsh exists there.

Also, add INSTALL.tclsh to ja-tcl*, otcl, and itcl.  The latter
two technically don't need it since they depend on another library
which will pull the (DE)?INSTALL.tclsh stuff in, but I'm changing
them anyways as a defensive measure.
2000-05-31 18:17:39 +00:00

33 lines
799 B
Makefile

# New ports collection makefile for: otcl
# Date created: 23 April 1999
# Whom: obonilla
#
# $FreeBSD$
#
PORTNAME= otcl
PORTVERSION= 1.0a5
CATEGORIES= lang
MASTER_SITES= http://www-mash.cs.berkeley.edu/dist/
MAINTAINER= obonilla@fisicc-ufm.edu
LIB_DEPENDS= tk82.1:${PORTSDIR}/x11-toolkits/tk82
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-tcl-ver=8.2 --with-tk-ver=8.2
USE_AUTOCONF= yes
PKGINSTALL= ${PORTSDIR}/lang/tcl82/pkg/INSTALL.tclsh
PKGDEINSTALL= ${PORTSDIR}/lang/tcl82/pkg/DEINSTALL.tclsh
post-install:
${LN} -sf libotcl.so ${PREFIX}/lib/libotcl.so.1
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
strip ${PREFIX}/bin/otclsh
strip ${PREFIX}/bin/owish
.if exists(${PKGINSTALL})
${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL}
.endif
.include <bsd.port.mk>