Annotation of pkgsrc/x11/tk/Makefile, revision 1.42
1.42 ! tv 1: # $NetBSD: Makefile,v 1.41 2005/04/11 02:44:26 jschauma Exp $
1.1 jwise 2:
1.40 adam 3: DISTNAME= tk8.4.9-src
4: PKGNAME= tk-8.4.9
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.24 jlam 12: PKG_INSTALLATION_TYPES= overwrite pkgviews
13:
1.29 minskim 14: WRKSRC= ${WRKDIR}/${DISTNAME:C/-src//}/unix
1.38 adam 15:
16: USE_X11= yes
17: USE_LIBTOOL= yes
1.9 jlam 18: GNU_CONFIGURE= yes
1.32 jlam 19: CONFIGURE_ARGS+= --with-tcl=${BUILDLINK_PREFIX.tcl}/lib
1.35 jwise 20: CONFIGURE_ARGS+= --enable-threads
1.11 jlam 21: MAKE_ENV+= TOUCH="${TOUCH}"
1.9 jlam 22:
1.20 dillo 23: TEST_TARGET= test
1.10 jlam 24:
1.12 jlam 25: # Initially install the man pages into ${WRKDIR}/man, as we need a staged
26: # install to avoid overwriting existing manpages in ${PREFIX}/man.
27: CONFIGURE_ARGS+= --mandir=${WRKDIR}/man
28:
1.32 jlam 29: .include "../../lang/tcl/buildlink3.mk"
30:
1.41 jschauma 31: post-build:
32: ${SED} -e "s|^\(.*\)='\(.*\)'|\1=\"\2\"|" \
33: -e "s|${WRKSRC}|${PREFIX}/lib|" \
34: -e "s|${WRKDIR}/${DISTNAME:C/-src//}|${PREFIX}|" \
35: ${WRKSRC}/tkConfig.sh > ${WRKSRC}/tkConfig.sh.tmp && \
36: ${MV} ${WRKSRC}/tkConfig.sh.tmp ${WRKSRC}/tkConfig.sh
37:
1.1 jwise 38: post-install:
1.26 minskim 39: cd ${WRKDIR} && ${PAX} -rwpm man ${PREFIX}
1.27 minskim 40: ${RM} -rf ${WRKDIR}/man
1.4 agc 41: ${RM} -f ${PREFIX}/bin/wish
1.29 minskim 42: cd ${PREFIX}/bin && ${LN} -s wish8.4 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.3 jwise 46: ${INSTALL_DATA} ${WRKSRC}/../generic/default.h ${PREFIX}/include/tk/generic
1.17 bjoern 47: ${INSTALL_DATA} ${WRKSRC}/../generic/ks_names.h ${PREFIX}/include/tk/generic
1.1 jwise 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
1.29 minskim 69: ${INSTALL_DATA} ${WRKSRC}/../generic/tkUndo.h ${PREFIX}/include/tk/generic
1.1 jwise 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
73:
74: .include "../../mk/bsd.pkg.mk"
CVSweb <[email protected]>