2012-10-31 12:16:30 +01:00
|
|
|
# $NetBSD: Makefile,v 1.22 2012/10/31 11:19:49 asau Exp $
|
2002-08-28 12:00:11 +02:00
|
|
|
|
2007-04-26 17:32:24 +02:00
|
|
|
DISTNAME= tclcl-src-1.19
|
2007-01-16 22:25:59 +01:00
|
|
|
PKGNAME= tcl-${DISTNAME:S/-src//}
|
2012-08-22 01:49:18 +02:00
|
|
|
PKGREVISION= 1
|
2002-08-28 12:00:11 +02:00
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=otcl-tclcl/}
|
|
|
|
|
2004-03-09 00:49:41 +01:00
|
|
|
MAINTAINER= minskim@NetBSD.org
|
2002-08-28 12:00:11 +02:00
|
|
|
HOMEPAGE= http://otcl-tclcl.sourceforge.net/tclcl/
|
|
|
|
COMMENT= Tcl/C++ interface used by ns and nam
|
|
|
|
|
2004-03-09 00:49:41 +01:00
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
|
2007-01-16 22:25:59 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME:S/-src//}
|
2004-03-09 00:49:41 +01:00
|
|
|
USE_LANGUAGES= c c++
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_LIBTOOL= yes
|
2002-08-28 12:00:11 +02:00
|
|
|
|
|
|
|
CONFIGURE_ARGS+= --with-tcl=${BUILDLINK_PREFIX.tcl}
|
|
|
|
CONFIGURE_ARGS+= --with-tk=${BUILDLINK_PREFIX.tk}
|
2004-03-09 00:49:41 +01:00
|
|
|
CONFIGURE_ARGS+= --with-otcl=${BUILDLINK_PREFIX.tcl-otcl}
|
2002-08-28 12:00:11 +02:00
|
|
|
|
|
|
|
CPPFLAGS+= -I${BUILDLINK_PREFIX.tcl}/include/tcl/generic
|
|
|
|
|
2004-03-09 00:49:41 +01:00
|
|
|
INSTALLATION_DIRS= bin include lib
|
|
|
|
|
2007-01-14 03:03:22 +01:00
|
|
|
BUILDLINK_DEPMETHOD.libXt?= build
|
|
|
|
|
2012-09-29 05:14:08 +02:00
|
|
|
.include "../../lang/tcl/Makefile.version"
|
|
|
|
.include "../../x11/tk/Makefile.version"
|
|
|
|
|
|
|
|
CONFIGURE_ARGS+=--with-tcl-ver=$(TCL_VERSION)
|
|
|
|
CONFIGURE_ARGS+=--with-tk-ver=$(TK_VERSION)
|
|
|
|
|
2004-03-09 00:49:41 +01:00
|
|
|
.include "../../lang/tcl/buildlink3.mk"
|
|
|
|
.include "../../lang/tcl-otcl/buildlink3.mk"
|
2007-01-14 03:03:22 +01:00
|
|
|
.include "../../x11/libXt/buildlink3.mk"
|
2004-03-09 00:49:41 +01:00
|
|
|
.include "../../x11/tk/buildlink3.mk"
|
2002-08-28 12:00:11 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|