Makefile 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include ${TOPDIR}/rules.mk
  4. PKG_NAME:= joe
  5. PKG_VERSION:= 3.7
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 66de1b073e869ba12abbfcde3885c577
  8. PKG_DESCR:= JOE - Joe's Own Editor
  9. PKG_SECTION:= editor
  10. PKG_URL:= http://joe-editor.sourceforge.net/
  11. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=joe-editor/}
  12. PKG_FLAVOURS_JOE:= DOC LANGUAGE SYNTAX
  13. PKGFD_DOC:= Install documentation
  14. PKGFD_LANGUAGE:= Install translation files
  15. PKGFD_SYNTAX:= Install syntax highlighting files
  16. include ${TOPDIR}/mk/package.mk
  17. $(eval $(call PKG_template,JOE,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  18. post-install:
  19. ${INSTALL_DIR} ${IDIR_JOE}/usr/bin
  20. ${INSTALL_DIR} ${IDIR_JOE}/etc/joe
  21. ${CP} ${WRKINST}/usr/bin/* ${IDIR_JOE}/usr/bin
  22. ${CP} ${WRKINST}/etc/joe/* ${IDIR_JOE}/etc/joe
  23. ifeq (${ADK_PACKAGE_JOE_DOC},y)
  24. ${INSTALL_DIR} ${IDIR_JOE}/usr/share/doc
  25. ${INSTALL_DIR} ${IDIR_JOE}/usr/share/man
  26. ${CP} ${WRKINST}/usr/share/doc/* ${IDIR_JOE}/usr/share/doc
  27. ${CP} ${WRKINST}/usr/share/man/* ${IDIR_JOE}/usr/share/man
  28. endif
  29. ifeq (${ADK_PACKAGE_JOE_LANGUAGE},y)
  30. ${INSTALL_DIR} ${IDIR_JOE}/usr/share/joe/lang
  31. ${CP} ${WRKINST}/usr/share/joe/lang/* ${IDIR_JOE}/usr/share/joe/lang
  32. endif
  33. ifeq (${ADK_PACKAGE_JOE_SYNTAX},y)
  34. ${INSTALL_DIR} ${IDIR_JOE}/usr/share/joe/syntax
  35. ${INSTALL_DIR} ${IDIR_JOE}/usr/share/joe/charmaps
  36. ${CP} ${WRKINST}/usr/share/joe/syntax/* ${IDIR_JOE}/usr/share/joe/syntax
  37. ${CP} ${WRKINST}/usr/share/joe/charmaps/* ${IDIR_JOE}/usr/share/joe/charmaps
  38. endif
  39. include ${TOPDIR}/mk/pkg-bottom.mk