Makefile 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. # $OpenBSD: Makefile,v 1.9 2017/05/27 19:57:05 ajacoutot Exp $
  2. COMMENT = html5-powered web music server
  3. MODPY_EGG_VERSION = 0.6
  4. DISTNAME = zeya_${MODPY_EGG_VERSION}.orig
  5. PKGNAME = zeya-${MODPY_EGG_VERSION}
  6. REVISION = 3
  7. CATEGORIES = audio www
  8. HOMEPAGE = http://web.psung.name/zeya/
  9. MASTER_SITES = ${MASTER_SITE_DEBIAN:=main/z/zeya/}
  10. MAINTAINER = David Coppa <dcoppa@openbsd.org>
  11. # AGPLv3 (GNU Affero Public License)
  12. PERMIT_PACKAGE_CDROM = Yes
  13. MODULES = lang/python
  14. RUN_DEPENDS = audio/faad \
  15. audio/flac \
  16. audio/mpg123 \
  17. audio/py-tagpy \
  18. audio/vorbis-tools \
  19. MODPY_ADJ_FILES = zeya.py \
  20. zeyaclient.py \
  21. zeyatest.py
  22. ZEYA_MODULES = ${WRKBUILD}/backends.py \
  23. ${WRKBUILD}/common.py \
  24. ${WRKBUILD}/decoders.py \
  25. ${WRKBUILD}/directory.py \
  26. ${WRKBUILD}/m3u.py \
  27. ${WRKBUILD}/options.py \
  28. ${WRKBUILD}/pls.py \
  29. ${WRKBUILD}/rhythmbox.py
  30. NO_BUILD = Yes
  31. NO_TEST = Yes
  32. PKG_ARCH = *
  33. WRKDIST = ${WRKDIR}
  34. do-install:
  35. ${SUBST_CMD} ${WRKBUILD}/backends.py \
  36. ${WRKBUILD}/decoders.py ${WRKBUILD}/zeya.py \
  37. ${WRKBUILD}/zeyaclient.py
  38. ${INSTALL_SCRIPT} ${WRKBUILD}/zeya.py ${PREFIX}/sbin/zeya
  39. ${INSTALL_SCRIPT} ${WRKBUILD}/zeyaclient.py \
  40. ${PREFIX}/bin/zeyaclient
  41. ${INSTALL_DATA_DIR} ${PREFIX}/lib/zeya ${PREFIX}/share/zeya
  42. ${INSTALL_DATA} ${ZEYA_MODULES} ${PREFIX}/lib/zeya/
  43. ${INSTALL_DATA} ${WRKBUILD}/resources/* ${PREFIX}/share/zeya/
  44. ${INSTALL_MAN} ${WRKBUILD}/doc/zeyaclient.1 ${PREFIX}/man/man1/
  45. ${INSTALL_MAN} ${WRKBUILD}/doc/zeya.1 ${PREFIX}/man/man8/zeya.8
  46. .include <bsd.port.mk>