Makefile 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # $OpenBSD: Makefile,v 1.4 2015/11/02 11:56:54 espie Exp $
  2. COMMENT = search for TV serie nzb-files via web interface
  3. DISTNAME = midgetspy-Sick-Beard-b3a7afe
  4. # alpha version
  5. PKGNAME = sickbeard-0.0.1
  6. CATEGORIES = news
  7. HOMEPAGE = http://sickbeard.com/
  8. MAINTAINER = Marcus Glocker <marcus@nazgul.ch>
  9. REVISION = 0
  10. # GPLv3
  11. PERMIT_PACKAGE_CDROM = Yes
  12. MASTER_SITES = http://www.nazgul.ch/pub/
  13. MODULES = lang/python
  14. BUILD_DEPENDS = ${_MODPY_BUILD_DEPENDS}
  15. RUN_DEPENDS = news/sabnzbd
  16. NO_BUILD = Yes
  17. NO_TEST = Yes
  18. PKG_ARCH = *
  19. WRKSRC = ${WRKDIR}/midgetspy-Sick-Beard-b3a7afe
  20. do-install:
  21. ${INSTALL_DATA_DIR} \
  22. ${PREFIX}/lib/python${MODPY_VERSION}/site-packages/sickbeard
  23. cp -Rp ${WRKSRC}/* \
  24. ${PREFIX}/lib/python${MODPY_VERSION}/site-packages/sickbeard
  25. ${SUBST_CMD} -m 555 -c ${FILESDIR}/sickbeard ${WRKSRC}/sickbeard/sickbeard
  26. ${INSTALL_SCRIPT} ${WRKSRC}/sickbeard/sickbeard ${PREFIX}/bin/sickbeard
  27. chown -R ${BINOWN}:${BINGRP} \
  28. ${PREFIX}/lib/python${MODPY_VERSION}/site-packages/sickbeard
  29. post-install:
  30. ${MODPY_BIN} ${MODPY_LIBDIR}/compileall.py \
  31. ${PREFIX}/lib/python${MODPY_VERSION}/site-packages/sickbeard
  32. .include <bsd.port.mk>