Makefile 735 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. # $OpenBSD: Makefile,v 1.20 2016/03/20 16:12:22 naddy Exp $
  2. COMMENT= Python wrapper module for the ao library
  3. MODPY_EGG_VERSION=0.82
  4. DISTNAME= pyao-${MODPY_EGG_VERSION}
  5. PKGNAME= ${DISTNAME:S/py/py-/}
  6. REVISION = 10
  7. CATEGORIES= audio
  8. HOMEPAGE= http://ekyo.nerim.net/software/pyogg/
  9. # GPL
  10. PERMIT_PACKAGE_CDROM= Yes
  11. WANTLIB += ${MODPY_WANTLIB}
  12. WANTLIB += ao pthread
  13. MASTER_SITES= ${HOMEPAGE}
  14. MODULES= lang/python
  15. LIB_DEPENDS= audio/libao
  16. NO_TEST= Yes
  17. MODPY_ADJ_FILES= test.py
  18. EXAMPLESDIR= ${PREFIX}/share/examples/py-ao
  19. do-configure:
  20. @cd ${WRKSRC} && ${MODPY_BIN} ./config_unix.py --prefix ${PREFIX}
  21. post-install:
  22. ${INSTALL_DATA_DIR} ${EXAMPLESDIR}
  23. ${INSTALL_DATA} ${WRKSRC}/test.py ${EXAMPLESDIR}
  24. .include <bsd.port.mk>