Makefile 701 B

12345678910111213141516171819202122232425262728293031323334
  1. # $OpenBSD: Makefile,v 1.23 2016/03/20 16:12:22 naddy Exp $
  2. COMMENT= Python wrapper for the Ogg libraries
  3. MODPY_EGG_VERSION=1.3
  4. DISTNAME= pyogg-${MODPY_EGG_VERSION}
  5. PKGNAME= ${DISTNAME:S/py/py-/}
  6. REVISION = 10
  7. CATEGORIES= audio
  8. HOMEPAGE= http://ekyo.nerim.net/software/pyogg/
  9. # LGPL
  10. PERMIT_PACKAGE_CDROM= Yes
  11. WANTLIB += ${MODPY_WANTLIB}
  12. WANTLIB += ogg pthread
  13. MASTER_SITES= ${HOMEPAGE}
  14. MODULES= lang/python
  15. LIB_DEPENDS= audio/libogg
  16. MODPY_ADJ_FILES = test/oggtail.py
  17. do-configure:
  18. @cd ${WRKSRC} && ${MODPY_BIN} ./config_unix.py --prefix ${PREFIX}
  19. do-test: fake
  20. @cd ${WRKSRC}/test && ${MAKE_ENV} \
  21. PYTHONPATH=${WRKINST}${MODPY_SITEPKG} ${MODPY_BIN} ./testogg.py
  22. .include <bsd.port.mk>