Makefile 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. # $OpenBSD: Makefile,v 1.10 2014/08/31 15:51:49 stu Exp $
  2. COMMENT = learn Tcl interactively
  3. DISTNAME = tcltutor-30b7
  4. CATEGORIES = lang lang/tcl
  5. HOMEPAGE = http://www.msen.com/~clif/TclTutor.html
  6. MAINTAINER = Stuart Cassoff <stwo@users.sourceforge.net>
  7. # ISC
  8. PERMIT_PACKAGE_CDROM = Yes
  9. MASTER_SITES = http://www.msen.com/~clif/
  10. DISTFILES = tcltutor30b7.tgz
  11. MODULES = x11/tk
  12. RUN_DEPENDS = ${MODTK_RUN_DEPENDS}
  13. NO_BUILD = Yes
  14. NO_TEST = Yes
  15. PKG_ARCH = *
  16. WRKDIST = ${WRKDIR}/TclTutor
  17. SUBST_VARS += TT_LIB_DIR TT_LSN_DIR
  18. TT_LIB_DIR = ${PREFIX}/libdata/tcltutor
  19. TT_LSN_DIR = ${PREFIX}/share/doc/tcltutor
  20. do-configure:
  21. @${SUBST_CMD} ${WRKSRC}/TclTutor.tcl
  22. @${MODTCL_WISH_ADJ} ${WRKSRC}/TclTutor.tcl
  23. do-install:
  24. ${INSTALL_SCRIPT} ${WRKSRC}/TclTutor.tcl ${PREFIX}/bin/tcltutor
  25. ${INSTALL_DATA_DIR} ${TT_LIB_DIR}
  26. .for i in balloon.tcl htmllib.tcl images.tcl options.tcl simpleTop.tcl
  27. ${INSTALL_DATA} ${WRKSRC}/$i ${TT_LIB_DIR}
  28. .endfor
  29. ${INSTALL_DATA_DIR} ${TT_LSN_DIR}
  30. ${INSTALL_DATA} ${WRKSRC}/NOTICE ${TT_LSN_DIR}
  31. ${INSTALL_DATA} ${WRKSRC}/README ${TT_LSN_DIR}
  32. .for i in Tcl_English Tcl_Portuguese
  33. ${INSTALL_DATA_DIR} ${TT_LSN_DIR}/$i
  34. . for j in lsn cfg html
  35. ${INSTALL_DATA} ${WRKSRC}/lesson/$i/*.$j ${TT_LSN_DIR}/$i
  36. . endfor
  37. .endfor
  38. .include <bsd.port.mk>