Makefile 692 B

123456789101112131415161718192021222324252627282930313233
  1. # $OpenBSD: Makefile,v 1.49 2017/06/01 14:18:06 schwarze Exp $
  2. COMMENT= Joe's Own Editor
  3. DISTNAME = joe-4.4
  4. REVISION = 0
  5. CATEGORIES= editors
  6. MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=joe-editor/}
  7. HOMEPAGE= http://joe-editor.sourceforge.net/
  8. # GPLv2 only
  9. PERMIT_PACKAGE_CDROM= Yes
  10. WANTLIB= c ncurses m util
  11. BUILD_DEPENDS = converters/libiconv
  12. CONFIGURE_STYLE= gnu
  13. FAKE_FLAGS= sysconf_joedir=${PREFIX}/share/examples/joe \
  14. sysconf_docdir=${PREFIX}/share/doc/joe
  15. post-build:
  16. iconv -f KOI8-T -t UTF-8 ${WRKSRC}/man/ru/joe.1 > \
  17. ${WRKBUILD}/man/ru/joe.1-utf8
  18. post-install:
  19. ${INSTALL_MAN} ${WRKBUILD}/man/ru/joe.1-utf8 \
  20. ${PREFIX}/man/ru/man1/joe.1
  21. .include <bsd.port.mk>