Makefile 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  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:= xterm
  5. PKG_VERSION:= 297
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= 45610ae6fe90cf086fcd75b9cb97bbaf
  8. PKG_DESCR:= Terminal Emulator for X Windows
  9. PKG_SECTION:= x11/apps
  10. PKG_DEPENDS:= libxaw libxt libncurses libxft fontconfig
  11. PKG_BUILDDEP:= ncurses libXt libXmu libXaw libXft
  12. PKG_URL:= http://invisible-island.net/xterm/xterm.html
  13. PKG_SITES:= ftp://invisible-island.net/xterm/
  14. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tgz
  15. include $(TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,XTERM,xterm,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. TARGET_LDFLAGS+= -ltinfo
  18. CONFIGURE_ARGS+= --with-app-defaults=/usr/lib/X11/app-defaults \
  19. --disable-pty-handshake
  20. xterm-install:
  21. $(INSTALL_DIR) $(IDIR_XTERM)/usr/bin
  22. $(INSTALL_BIN) $(WRKINST)/usr/bin/{koi8rxterm,resize,uxterm,xterm} \
  23. $(IDIR_XTERM)/usr/bin/
  24. $(INSTALL_DIR) $(IDIR_XTERM)/usr/lib/X11/app-defaults
  25. $(INSTALL_DATA) ${WRKINST}/usr/lib/X11/app-defaults/{KOI8RXTerm,KOI8RXTerm-color,UXTerm,UXTerm-color,XTerm,XTerm-color} \
  26. ${IDIR_XTERM}/usr/lib/X11/app-defaults/
  27. include ${TOPDIR}/mk/pkg-bottom.mk