Makefile 512 B

1234567891011121314151617181920212223
  1. # $OpenBSD: Makefile,v 1.6 2017/05/23 11:11:16 benoit Exp $
  2. MODPY_EGG_VERSION = 0.5.3.1
  3. COMMENT = download YouTube content and retrieve metadata
  4. DISTNAME = pafy-${MODPY_EGG_VERSION}
  5. PKGNAME = py-pafy-${MODPY_EGG_VERSION}
  6. CATEGORIES = multimedia
  7. HOMEPAGE = http://np1.github.io/pafy/
  8. # LGPLv3+
  9. PERMIT_PACKAGE_CDROM = Yes
  10. MODULES = lang/python
  11. MODPY_SETUPTOOLS = Yes
  12. MODPY_PI = Yes
  13. MODPY_PI_DIR = p/pafy
  14. pre-configure:
  15. perl -pi -e "s,xprint\(xenc,print(xenc,g" ${WRKSRC}/scripts/ytdl
  16. .include <bsd.port.mk>