Annotation of pkgsrc/x11/tk/Makefile, revision 1.56
1.56 ! adam 1: # $NetBSD: Makefile,v 1.55 2006/02/23 23:31:51 minskim Exp $
1.1 jwise 2:
1.49 minskim 3: DISTNAME= tk${TK_VERSION}-src
4: PKGNAME= tk-${TK_VERSION}
1.38 adam 5: CATEGORIES= x11 lang
1.29 minskim 6: MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tcl/}
1.1 jwise 7:
1.23 grant 8: MAINTAINER= [email protected]
1.29 minskim 9: HOMEPAGE= http://www.tcl.tk/
1.6 wiz 10: COMMENT= Graphical toolkit for TCL
1.1 jwise 11:
1.49 minskim 12: .include "../../x11/tk/Makefile.version"
13:
1.24 jlam 14: PKG_INSTALLATION_TYPES= overwrite pkgviews
15:
1.52 rillig 16: WRKSRC= ${WRKDIR}/tk${TK_VERSION}
1.38 adam 17:
18: USE_LIBTOOL= yes
1.9 jlam 19: GNU_CONFIGURE= yes
1.52 rillig 20: CONFIGURE_DIRS= unix
21: BUILD_DIRS= ${CONFIGURE_DIRS}
1.32 jlam 22: CONFIGURE_ARGS+= --with-tcl=${BUILDLINK_PREFIX.tcl}/lib
1.35 jwise 23: CONFIGURE_ARGS+= --enable-threads
1.44 tron 24: CONFIGURE_ENV+= LIB_RUNTIME_DIR=${PREFIX}/lib
1.43 rillig 25: MAKE_ENV+= TOUCH=${TOUCH:Q}
26: PTHREAD_OPTS+= require
1.9 jlam 27:
1.20 dillo 28: TEST_TARGET= test
1.10 jlam 29:
1.32 jlam 30: .include "../../lang/tcl/buildlink3.mk"
1.43 rillig 31: .include "../../mk/pthread.buildlink3.mk"
1.46 jlam 32: .include "../../mk/x11.buildlink3.mk"
1.32 jlam 33:
1.52 rillig 34: SUBST_CLASSES+= tk-config
35: SUBST_STAGE.tk-config= post-build
36: SUBST_FILES.tk-config= unix/tkConfig.sh
37: SUBST_SED.tk-config+= -e "s|${WRKSRC}/unix|${PREFIX}/lib|"
38: SUBST_SED.tk-config+= -e "s|${WRKSRC}|${PREFIX}/include/tk|"
1.41 jschauma 39:
1.1 jwise 40: post-install:
1.4 agc 41: ${RM} -f ${PREFIX}/bin/wish
1.52 rillig 42: ${LN} -s wish8.4 ${PREFIX}/bin/wish
1.7 hubertf 43: ${INSTALL_DATA_DIR} ${PREFIX}/include/tk
44: ${INSTALL_DATA_DIR} ${PREFIX}/include/tk/generic
45: ${INSTALL_DATA_DIR} ${PREFIX}/include/tk/unix
1.52 rillig 46: ${INSTALL_DATA} ${WRKSRC}/generic/default.h ${PREFIX}/include/tk/generic
47: ${INSTALL_DATA} ${WRKSRC}/generic/ks_names.h ${PREFIX}/include/tk/generic
48: ${INSTALL_DATA} ${WRKSRC}/generic/tk.h ${PREFIX}/include/tk/generic
49: ${INSTALL_DATA} ${WRKSRC}/generic/tk3d.h ${PREFIX}/include/tk/generic
50: ${INSTALL_DATA} ${WRKSRC}/generic/tkButton.h ${PREFIX}/include/tk/generic
51: ${INSTALL_DATA} ${WRKSRC}/generic/tkCanvas.h ${PREFIX}/include/tk/generic
52: ${INSTALL_DATA} ${WRKSRC}/generic/tkColor.h ${PREFIX}/include/tk/generic
53: ${INSTALL_DATA} ${WRKSRC}/generic/tkDecls.h ${PREFIX}/include/tk/generic
54: ${INSTALL_DATA} ${WRKSRC}/generic/tkFileFilter.h ${PREFIX}/include/tk/generic
55: ${INSTALL_DATA} ${WRKSRC}/generic/tkFont.h ${PREFIX}/include/tk/generic
56: ${INSTALL_DATA} ${WRKSRC}/generic/tkInitScript.h ${PREFIX}/include/tk/generic
57: ${INSTALL_DATA} ${WRKSRC}/generic/tkInt.h ${PREFIX}/include/tk/generic
58: ${INSTALL_DATA} ${WRKSRC}/generic/tkIntDecls.h ${PREFIX}/include/tk/generic
59: ${INSTALL_DATA} ${WRKSRC}/generic/tkIntPlatDecls.h ${PREFIX}/include/tk/generic
60: ${INSTALL_DATA} ${WRKSRC}/generic/tkIntXlibDecls.h ${PREFIX}/include/tk/generic
61: ${INSTALL_DATA} ${WRKSRC}/generic/tkMenu.h ${PREFIX}/include/tk/generic
62: ${INSTALL_DATA} ${WRKSRC}/generic/tkMenubutton.h ${PREFIX}/include/tk/generic
63: ${INSTALL_DATA} ${WRKSRC}/generic/tkPlatDecls.h ${PREFIX}/include/tk/generic
64: ${INSTALL_DATA} ${WRKSRC}/generic/tkPort.h ${PREFIX}/include/tk/generic
65: ${INSTALL_DATA} ${WRKSRC}/generic/tkScale.h ${PREFIX}/include/tk/generic
66: ${INSTALL_DATA} ${WRKSRC}/generic/tkScrollbar.h ${PREFIX}/include/tk/generic
67: ${INSTALL_DATA} ${WRKSRC}/generic/tkSelect.h ${PREFIX}/include/tk/generic
68: ${INSTALL_DATA} ${WRKSRC}/generic/tkText.h ${PREFIX}/include/tk/generic
69: ${INSTALL_DATA} ${WRKSRC}/generic/tkUndo.h ${PREFIX}/include/tk/generic
70: ${INSTALL_DATA} ${WRKSRC}/unix/tkUnixDefault.h ${PREFIX}/include/tk/unix
71: ${INSTALL_DATA} ${WRKSRC}/unix/tkUnixInt.h ${PREFIX}/include/tk/unix
72: ${INSTALL_DATA} ${WRKSRC}/unix/tkUnixPort.h ${PREFIX}/include/tk/unix
1.1 jwise 73:
74: .include "../../mk/bsd.pkg.mk"
CVSweb <[email protected]>