2007-10-24 10:58:57 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.22 2007/10/24 14:58:57 steven Exp $
|
2000-01-05 21:36:15 -05:00
|
|
|
# $FreeBSD: ports/devel/tclcl/Makefile,v 1.4 1999/11/28 18:31:57 steve Exp $
|
|
|
|
|
2007-09-15 22:52:56 -04:00
|
|
|
COMMENT= Tcl/C++ interface used by ns and nam
|
2001-05-05 20:12:42 -04:00
|
|
|
|
2007-10-24 10:58:57 -04:00
|
|
|
V= 1.19
|
|
|
|
DISTNAME= tclcl-src-$V
|
|
|
|
PKGNAME= tclcl-$V
|
2000-01-05 21:36:15 -05:00
|
|
|
CATEGORIES= devel
|
2002-02-28 10:27:10 -05:00
|
|
|
|
|
|
|
HOMEPAGE= http://www.isi.edu/nsnam/tclcl/index.html
|
|
|
|
|
2003-10-29 17:13:26 -05:00
|
|
|
# BSD
|
2000-04-18 03:13:06 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2004-11-23 19:11:03 -05:00
|
|
|
WANTLIB= c m stdc++
|
2000-04-18 03:13:06 -04:00
|
|
|
|
2007-10-24 10:58:57 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=otcl-tclcl/}
|
|
|
|
WRKDIST= ${WRKDIR}/tclcl-$V
|
2000-01-05 21:36:15 -05:00
|
|
|
|
2006-08-01 19:39:08 -04:00
|
|
|
LIB_DEPENDS= otcl.>=1::lang/otcl
|
2000-01-05 21:36:15 -05:00
|
|
|
|
2002-02-28 10:27:10 -05:00
|
|
|
CONFIGURE_STYLE= gnu
|
2007-10-24 10:58:57 -04:00
|
|
|
CONFIGURE_ARGS= --with-tcl-ver=8.4 --with-tk-ver=8.4
|
2000-01-05 21:36:15 -05:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/tcl2c++ ${PREFIX}/bin
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/otcldoc ${PREFIX}/bin
|
2006-08-09 05:46:10 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/include/tclcl
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/*.h ${PREFIX}/include/tclcl
|
2000-01-05 21:36:15 -05:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/libtclcl.a ${PREFIX}/lib
|
2000-03-27 16:30:07 -05:00
|
|
|
@ln -sf ${TRUEPREFIX}/lib/libtclcl.a ${PREFIX}/lib/libTcl.a
|
2001-11-12 11:24:10 -05:00
|
|
|
|
2002-02-28 10:27:10 -05:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2000-01-05 21:36:15 -05:00
|
|
|
.include <bsd.port.mk>
|