freebsd-ports/lang/otcl/Makefile

33 lines
742 B
Makefile
Raw Normal View History

# New ports collection makefile for: otcl
# Date created: 23 April 1999
# Whom: obonilla
#
1999-08-25 02:35:40 -04:00
# $FreeBSD$
#
PORTNAME= otcl
PORTVERSION= 1.0a6
CATEGORIES= lang
MASTER_SITES= http://www.isi.edu/nsnam/dist/
MAINTAINER= obonilla@fisicc-ufm.edu
LIB_DEPENDS= tk82.1:${PORTSDIR}/x11-toolkits/tk82
INSTALLS_SHLIB= yes
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
strip ${PREFIX}/bin/otclsh
strip ${PREFIX}/bin/owish
.if exists(${PKGINSTALL})
${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL}
.endif
.include <bsd.port.mk>