3f8475aeeb
* --enable-aqua build for Mac OS X is now a Cocoa implementation. * Support has been added for Cygwin network pathnames. * Updated to Unicode 6.2 support. Fixes for several crashes and bugs.
43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.71 2012/11/24 21:38:49 adam Exp $
|
|
|
|
DISTNAME= tcl${TCL_VERSION}-src
|
|
PKGNAME= tcl-${TCL_VERSION}
|
|
CATEGORIES= lang
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tcl/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.tcl.tk/
|
|
COMMENT= Tool Command Language, a dynamic language
|
|
LICENSE= 2-clause-bsd
|
|
|
|
.include "../../lang/tcl/Makefile.version"
|
|
|
|
WRKSRC= ${WRKDIR}/tcl${TCL_VERSION}
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_DIRS= unix
|
|
BUILD_DIRS= ${CONFIGURE_DIRS}
|
|
|
|
CONFIGURE_ARGS+= --prefix=${PREFIX}
|
|
INSTALL_TARGET= install
|
|
|
|
# The test target gives better results when not run as root.
|
|
TEST_TARGET= test
|
|
|
|
.include "options.mk"
|
|
|
|
# This is needed for SGI and maybe sun (according to tcl developers)
|
|
.if defined(ABI) && ${ABI} == "64"
|
|
CONFIGURE_ARGS+= --enable-64bit
|
|
.endif
|
|
|
|
SUBST_CLASSES+= tcl-config
|
|
SUBST_STAGE.tcl-config= post-build
|
|
SUBST_FILES.tcl-config= unix/tclConfig.sh
|
|
SUBST_SED.tcl-config+= -e "s|${WRKSRC}/unix|${PREFIX}/lib|"
|
|
SUBST_SED.tcl-config+= -e "s|${WRKSRC}|${PREFIX}/include/tcl|"
|
|
|
|
PLIST_SUBST+= SONUM=${TCL_SONUM}
|
|
PLIST_SUBST+= BASEVER=${TCL_BASEVER}
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|