Makefile 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # $OpenBSD: Makefile,v 1.25 2016/09/02 22:22:07 ajacoutot Exp $
  2. COMMENT= command-line utility to rip and encode audio cds
  3. DISTNAME= abcde-2.7.2
  4. CATEGORIES= audio
  5. HOMEPAGE= http://abcde.einval.com/
  6. # Artistic or GPLv2, but "Copyright for this work is to expire
  7. # January 1, 2010, after which it shall be public domain."
  8. PERMIT_PACKAGE_CDROM= Yes
  9. MASTER_SITES= http://abcde.einval.com/download/
  10. MASTER_SITES0= http://lly.org/~rcw/id3/ \
  11. http://lly.org/~rcw/id3/old/
  12. RUN_DEPENDS= audio/cdparanoia \
  13. audio/cd-discid \
  14. audio/id3lib \
  15. audio/vorbis-tools \
  16. shells/bash
  17. NO_TEST= Yes
  18. pre-configure:
  19. sed -i "s,/bin/bash,/usr/bin/env bash," \
  20. ${WRKSRC}/abcde ${WRKSRC}/cddb-tool
  21. sed -i "s,/etc/,${SYSCONFDIR}/," ${WRKSRC}/abcde
  22. do-install:
  23. ${INSTALL_SCRIPT} ${WRKSRC}/abcde ${PREFIX}/bin
  24. ${INSTALL_SCRIPT} ${WRKSRC}/cddb-tool ${PREFIX}/bin
  25. ${INSTALL_MAN} ${WRKSRC}/abcde.1 ${PREFIX}/man/man1
  26. ${INSTALL_MAN} ${WRKSRC}/cddb-tool.1 ${PREFIX}/man/man1
  27. ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/abcde
  28. ${INSTALL_DATA} ${WRKSRC}/abcde.conf ${PREFIX}/share/examples/abcde
  29. .include <bsd.port.mk>