Annotation of pkgsrc/lang/tcl/Makefile, Revision 1.76
1.76 ! dsainty 1: # $NetBSD: Makefile,v 1.75 2014/02/26 11:24:28 dsainty Exp $
1.1 jwise 2:
1.46 minskim 3: DISTNAME= tcl${TCL_VERSION}-src
4: PKGNAME= tcl-${TCL_VERSION}
1.76 ! dsainty 5: PKGREVISION= 3
1.37 adam 6: CATEGORIES= lang
7: MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tcl/}
8:
1.64 jwise 9: MAINTAINER= pkgsrc-users@NetBSD.org
1.37 adam 10: HOMEPAGE= http://www.tcl.tk/
1.67 marino 11: COMMENT= Tool Command Language, a dynamic language
12: LICENSE= 2-clause-bsd
1.2 jwise 13:
1.46 minskim 14: .include "../../lang/tcl/Makefile.version"
15:
1.57 adam 16: WRKSRC= ${WRKDIR}/tcl${TCL_VERSION}
1.1 jwise 17:
1.42 adam 18: GNU_CONFIGURE= yes
1.57 adam 19: CONFIGURE_DIRS= unix
20: BUILD_DIRS= ${CONFIGURE_DIRS}
1.72 adam 21: INSTALL_TARGET= install
1.65 snj 22:
1.73 obache 23: PKGCONFIG_OVERRIDE+= unix/tcl.pc.in
24:
1.72 adam 25: CHECK_PORTABILITY_SKIP= win/configure
1.52 seb 26:
27: # The test target gives better results when not run as root.
1.42 adam 28: TEST_TARGET= test
1.1 jwise 29:
1.67 marino 30: .include "options.mk"
1.30 jlam 31:
1.67 marino 32: # This is needed for SGI and maybe sun (according to tcl developers)
1.48 dmcmahil 33: .if defined(ABI) && ${ABI} == "64"
1.47 jschauma 34: CONFIGURE_ARGS+= --enable-64bit
35: .endif
36:
1.57 adam 37: SUBST_CLASSES+= tcl-config
38: SUBST_STAGE.tcl-config= post-build
39: SUBST_FILES.tcl-config= unix/tclConfig.sh
40: SUBST_SED.tcl-config+= -e "s|${WRKSRC}/unix|${PREFIX}/lib|"
41: SUBST_SED.tcl-config+= -e "s|${WRKSRC}|${PREFIX}/include/tcl|"
1.49 jschauma 42:
1.67 marino 43: PLIST_SUBST+= SONUM=${TCL_SONUM}
44: PLIST_SUBST+= BASEVER=${TCL_BASEVER}
1.1 jwise 45:
1.75 dsainty 46: .include "../../devel/zlib/buildlink3.mk"
1.1 jwise 47: .include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>