Makefile 941 B

1234567891011121314151617181920212223242526272829303132
  1. # $OpenBSD: Makefile,v 1.21 2017/05/03 19:38:15 ratchov Exp $
  2. COMMENT= command line MIDI sequencer and filter
  3. DISTNAME= midish-1.2.0
  4. CATEGORIES= audio
  5. HOMEPAGE= http://www.midish.org/
  6. MAINTAINER= Alexandre Ratchov <alex@caoua.org>
  7. # BSD
  8. PERMIT_PACKAGE_CDROM= Yes
  9. MASTER_SITES= ${HOMEPAGE}
  10. WANTLIB= c sndio
  11. CONFIGURE_STYLE= simple
  12. CONFIGURE_ARGS= --prefix=${PREFIX}
  13. NO_TEST= Yes
  14. MAKE_FLAGS= CC="${CC}"
  15. do-install:
  16. ${INSTALL_PROGRAM} ${WRKBUILD}/midish ${PREFIX}/bin
  17. ${INSTALL_SCRIPT} ${WRKSRC}/smfplay ${WRKSRC}/smfrec ${PREFIX}/bin
  18. cd ${WRKSRC}; ${INSTALL_MAN} midish.1 smfplay.1 smfrec.1 \
  19. ${PREFIX}/man/man1
  20. ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/midish
  21. ${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/manual.html \
  22. ${PREFIX}/share/doc/midish
  23. ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/midish
  24. ${INSTALL_DATA} ${WRKSRC}/midishrc ${WRKSRC}/sample.sng \
  25. ${PREFIX}/share/examples/midish
  26. .include <bsd.port.mk>