Makefile 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. # $OpenBSD: Makefile,v 1.4 2016/05/07 12:40:56 pascal Exp $
  2. COMMENT = traditional vi and ex
  3. DISTNAME = ex-050325
  4. PKGNAME = traditional-vi-20050325
  5. REVISION = 0
  6. CATEGORIES = editors
  7. HOMEPAGE = http://ex-vi.sourceforge.net/
  8. MAINTAINER = Pascal Stumpf <pascal@stumpf.co>
  9. # BSD-style, libuxre is LGPLv2.1
  10. PERMIT_PACKAGE_CDROM = Yes
  11. WANTLIB = c ncurses
  12. MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=ex-vi/}
  13. EXTRACT_SUFX = .tar.bz2
  14. MAKE_FLAGS = PREFIX="${PREFIX}"
  15. NO_TEST = Yes
  16. do-install:
  17. ${INSTALL_PROGRAM} ${WRKSRC}/ex ${PREFIX}/bin/traditional-ex
  18. .for _l in edit vedit vi view
  19. cd ${PREFIX}/bin && ln traditional-ex ${PREFIX}/bin/traditional-${_l}
  20. .endfor
  21. ${INSTALL_PROGRAM} ${WRKSRC}/exrecover ${PREFIX}/libexec
  22. ${INSTALL_PROGRAM} ${WRKSRC}/expreserve ${PREFIX}/libexec
  23. ${INSTALL_MAN} ${WRKSRC}/vi.1 ${PREFIX}/man/man1/traditional-vi.1
  24. ${INSTALL_MAN} ${WRKSRC}/ex.1 ${PREFIX}/man/man1/traditional-ex.1
  25. cd ${PREFIX}/man/man1 && ln traditional-ex.1 \
  26. ${PREFIX}/man/man1/traditional-edit.1
  27. cd ${PREFIX}/man/man1 && ln traditional-vi.1 \
  28. ${PREFIX}/man/man1/traditional-vedit.1
  29. cd ${PREFIX}/man/man1 && ln traditional-vi.1 \
  30. ${PREFIX}/man/man1/traditional-view.1
  31. .include <bsd.port.mk>