Makefile 904 B

123456789101112131415161718192021222324252627282930313233343536
  1. # $OpenBSD: Makefile,v 1.7 2017/06/06 09:24:31 benoit Exp $
  2. COMMENT = nice console editor
  3. DISTNAME = ne-3.1.1
  4. CATEGORIES = editors
  5. HOMEPAGE = http://ne.di.unimi.it/
  6. MAINTAINER = Brian Callahan <bcallah@devio.us>
  7. # GPLv3+
  8. PERMIT_PACKAGE_CDROM = Yes
  9. WANTLIB += c curses m
  10. MASTER_SITES = http://ne.di.unimi.it/
  11. USE_GMAKE = Yes
  12. MAKE_FILE = makefile
  13. MAKE_FLAGS = CC="${CC}" OPTS="${CFLAGS}"
  14. ALL_TARGET = build
  15. NO_TEST = Yes
  16. do-install:
  17. ${INSTALL_PROGRAM} ${WRKSRC}/src/ne ${PREFIX}/bin
  18. ${INSTALL_MAN} ${WRKSRC}/doc/ne.1 ${PREFIX}/man/man1
  19. ${INSTALL_DATA_DIR} ${PREFIX}/share/ne/{macros,syntax}
  20. ${INSTALL_DATA} ${WRKSRC}/syntax/*.jsf ${PREFIX}/share/ne/syntax
  21. ${INSTALL_DATA} ${WRKSRC}/macros/* ${PREFIX}/share/ne/macros
  22. ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ne
  23. ${INSTALL_DATA} \
  24. ${WRKSRC}/{README.md,COPYING,NEWS,CHANGES,doc/ne.{txt,pdf}} \
  25. ${PREFIX}/share/doc/ne
  26. .include <bsd.port.mk>