2012-08-22 01:49:18 +02:00
|
|
|
# $NetBSD: Makefile,v 1.20 2012/08/21 23:49:20 marino 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
|
2009-02-17 20:49:57 +01:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
2004-03-09 00:49:41 +01:00
|
|
|
|
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
|
|
|
|
|
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"
|