Makefile 781 B

123456789101112131415161718192021222324252627282930313233343536
  1. # $OpenBSD: Makefile,v 1.11 2015/07/18 14:33:50 jasper Exp $
  2. COMMENT= Python ID3 tag reader/writer module
  3. DISTNAME= pytagger-0.5
  4. PKGNAME= ${DISTNAME:S/^py/py-/}
  5. REVISION = 4
  6. CATEGORIES= audio
  7. HOMEPAGE= http://www.liquidx.net/pytagger/
  8. # BSD
  9. PERMIT_PACKAGE_CDROM= Yes
  10. MASTER_SITES= http://www.liquidx.net/static/pytagger/
  11. EXTRACT_SUFX= .tar.bz2
  12. MODULES= lang/python
  13. NO_TEST= Yes
  14. DOCSDIR= ${PREFIX}/share/doc/py-tagger
  15. EXAMPLESDIR= ${PREFIX}/share/examples/py-tagger
  16. post-configure:
  17. @sed -i 's,/usr/bin/env python,${MODPY_BIN},g' \
  18. ${WRKBUILD}/mp3check.py
  19. post-install:
  20. ${INSTALL_DATA_DIR} ${DOCSDIR}
  21. ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
  22. ${INSTALL_DATA_DIR} ${EXAMPLESDIR}
  23. ${INSTALL_DATA} ${WRKBUILD}/{apic,mp3check}.py ${EXAMPLESDIR}
  24. .include <bsd.port.mk>