Makefile 637 B

12345678910111213141516171819202122232425262728293031
  1. # $OpenBSD: Makefile,v 1.21 2015/12/03 21:24:29 sthen Exp $
  2. COMMENT= curses front-end for various audio players
  3. DISTNAME= cplay-1.49
  4. REVISION = 8
  5. CATEGORIES= audio
  6. MAINTAINER= Victor Sahlstedt <salan@legonet.org>
  7. # GPL
  8. PERMIT_PACKAGE_CDROM= Yes
  9. MASTER_SITES= https://spacehopper.org/mirrors/
  10. MODULES= lang/python
  11. NO_BUILD= Yes
  12. NO_TEST= Yes
  13. PKG_ARCH= *
  14. do-configure:
  15. @sed -i "s,/etc/,${SYSCONFDIR}/," ${WRKSRC}/cplay{,.1}
  16. @sed -i "s,^#!.*python,#!${MODPY_BIN}," ${WRKSRC}/cplay
  17. do-install:
  18. ${INSTALL_SCRIPT} ${WRKSRC}/cplay ${PREFIX}/bin/
  19. ${INSTALL_MAN} ${WRKSRC}/cplay.1 ${PREFIX}/man/man1
  20. .include <bsd.port.mk>