3c790afd3b
Changes in 8.5.16 Changed Tcl behavior - Unicode 7.0 charset (within BMP) - [scan %E%G%X]. Updated packages - http 2.7.13 - tcltest 2.3.8 - platform 1.0.13 Changes in 8.5.17 Changed Tcl behavior - Fixed several I/O bugs introduced in 8.5.16. Changes in 8.5.18 (none) Changes in 8.5.19 New global variables - tcl_platform(engine) TIP440 Changed Tcl behavior - Update to Unicode 8.0 support.
54 lines
1.3 KiB
Makefile
54 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.2 2016/03/03 21:16:46 bsiegert 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/tcl85/Makefile.version"
|
|
|
|
WRKSRC= ${WRKDIR}/tcl${TCL_VERSION}
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_DIRS= unix
|
|
BUILD_DIRS= ${CONFIGURE_DIRS}
|
|
INSTALL_TARGET= install
|
|
|
|
PKGCONFIG_OVERRIDE+= unix/tcl.pc.in
|
|
|
|
CHECK_PORTABILITY_SKIP= win/configure
|
|
|
|
# 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|"
|
|
|
|
.if ${OPSYS} == "Darwin"
|
|
PLIST_SUBST+= SO=dylib
|
|
PLIST_SUBST+= SO_1_0=1.0.dylib
|
|
.else
|
|
PLIST_SUBST+= SO=so
|
|
PLIST_SUBST+= SO_1_0=so.1.0
|
|
.endif
|
|
|
|
PLIST_SUBST+= SONUM=${TCL_SONUM}
|
|
PLIST_SUBST+= BASEVER=${TCL_BASEVER}
|
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|