2012-08-18 08:41:37 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.27 2012/08/18 12:41:38 ajacoutot Exp $
|
2000-01-05 21:36:15 -05:00
|
|
|
|
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
|
|
|
|
2012-04-28 14:07:12 -04:00
|
|
|
V= 1.20
|
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
|
2012-04-28 14:07:12 -04:00
|
|
|
MAINTAINER = Stuart Cassoff <stwo@users.sourceforge.net>
|
2002-02-28 10:27:10 -05:00
|
|
|
|
2012-04-28 14:07:12 -04:00
|
|
|
HOMEPAGE= http://otcl-tclcl.sourceforge.net/tclcl/
|
2002-02-28 10:27:10 -05:00
|
|
|
|
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
|
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} \
|
2012-04-28 14:07:12 -04:00
|
|
|
--with-tcl=${LOCALBASE} \
|
|
|
|
--with-tk=${LOCALBASE}
|
2011-01-05 14:00:54 -05:00
|
|
|
|
|
|
|
pre-configure:
|
2012-04-28 14:07:12 -04:00
|
|
|
@${MODTCL_TCLSH_ADJ} ${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>
|