Makefile 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. # $OpenBSD: Makefile,v 1.31 2016/08/01 12:29:36 awolk Exp $
  2. COMMENT= multi-window tail(1) utility
  3. DISTNAME= multitail-6.4.2
  4. CATEGORIES= sysutils
  5. HOMEPAGE= http://www.vanheusden.com/multitail/
  6. MAINTAINER= Adam Wolk <awolk@openbsd.org>
  7. # GPLv2
  8. PERMIT_PACKAGE_CDROM= Yes
  9. MASTER_SITES= ${HOMEPAGE}
  10. EXTRACT_SUFX= .tgz
  11. WANTLIB= c m ncurses util panel
  12. NO_TEST= Yes
  13. MAKE_FLAGS= UTF8_SUPPORT='no'
  14. USE_GMAKE= Yes
  15. pre-configure:
  16. @sed -i 's,-O3,,' ${WRKSRC}/Makefile
  17. do-install:
  18. ${INSTALL_PROGRAM} ${WRKBUILD}/multitail ${PREFIX}/bin
  19. ${INSTALL_MAN} ${WRKSRC}/multitail.1 ${PREFIX}/man/man1
  20. ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/multitail
  21. ${INSTALL_DATA} ${WRKSRC}/readme.txt ${WRKSRC}/manual.html \
  22. ${PREFIX}/share/doc/multitail
  23. ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/multitail
  24. ${INSTALL_DATA} ${WRKSRC}/multitail.conf \
  25. ${PREFIX}/share/examples/multitail
  26. @perl -i -pe \
  27. 's:/etc/multitail/:${TRUEPREFIX}/share/examples/multitail/:' \
  28. ${PREFIX}/share/examples/multitail/multitail.conf
  29. ${INSTALL_DATA} ${WRKSRC}/conversion-scripts/* \
  30. ${PREFIX}/share/examples/multitail
  31. .include <bsd.port.mk>