Makefile 970 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # $OpenBSD: Makefile,v 1.25 2017/05/14 23:12:55 schwarze Exp $
  2. COMMENT= X Hangul Terminal (XFree86 xterm Based)
  3. V= 2.0.6-177
  4. DISTNAME= hanterm-xf-$V
  5. CATEGORIES= korean
  6. PKGNAME= hanterm-xf-${V:S/-/./}
  7. REVISION= 4
  8. EPOCH= 0
  9. MASTER_SITES= http://kldp.net/frs/download.php/3281/
  10. HOMEPAGE= http://hanterm-xf.kldp.net
  11. PERMIT_PACKAGE_CDROM= yes
  12. MAINTAINER= Jung Lee <moorang@gmail.com>
  13. WANTLIB= ICE SM X11 Xaw Xext Xmu Xt c iconv termcap util
  14. LIB_DEPENDS= converters/libiconv
  15. NO_TEST= Yes
  16. CONFIGURE_STYLE= gnu
  17. CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
  18. LDFLAGS="-L${LOCALBASE}/lib -liconv"
  19. # Force check for openpty(3) in libutil
  20. CONFIGURE_ENV+= ac_cv_func_grantpt=no
  21. CONFIGURE_ARGS= --enable-box-char \
  22. --enable-ansi-color \
  23. --enable-256-color \
  24. --enable-tcap-query
  25. post-build:
  26. iconv -f EUC-KR -t UTF-8 ${WRKSRC}/hanterm.man > ${WRKBUILD}/hanterm.1
  27. post-install:
  28. ${INSTALL_MAN} ${WRKBUILD}/hanterm.1 ${PREFIX}/man/man1/
  29. .include <bsd.port.mk>