2011-01-05 14:00:54 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.25 2011/01/05 19:00:54 sebastia 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
|
2011-01-05 14:00:54 -05:00
|
|
|
REVISION = 0
|
2007-10-24 10:58:57 -04:00
|
|
|
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
|
2011-01-05 14:00:54 -05:00
|
|
|
|
|
|
|
MODULES += x11/tk
|
|
|
|
MODTK_VERSION = 8.4
|
2010-11-15 14:45:56 -05:00
|
|
|
WANTLIB= c m stdc++ otcl>=1
|
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
|
|
|
|
2010-11-15 14:45:56 -05:00
|
|
|
LIB_DEPENDS= lang/otcl
|
2000-01-05 21:36:15 -05:00
|
|
|
|
2002-02-28 10:27:10 -05:00
|
|
|
CONFIGURE_STYLE= gnu
|
2011-01-05 14:00:54 -05:00
|
|
|
CONFIGURE_ARGS= --with-tcl-ver=${MODTCL_VERSION} \
|
|
|
|
--with-tk-ver=${MODTK_VERSION} \
|
|
|
|
--with-tcl=${MODTCL_LIBDIR} \
|
|
|
|
--with-tk=${MODTK_LIBDIR}
|
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
${SUBST_CMD} ${WRKSRC}/otcldoc
|
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>
|