123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- # $OpenBSD: Makefile,v 1.9 2017/05/27 19:57:05 ajacoutot Exp $
- COMMENT = html5-powered web music server
- MODPY_EGG_VERSION = 0.6
- DISTNAME = zeya_${MODPY_EGG_VERSION}.orig
- PKGNAME = zeya-${MODPY_EGG_VERSION}
- REVISION = 3
- CATEGORIES = audio www
- HOMEPAGE = http://web.psung.name/zeya/
- MASTER_SITES = ${MASTER_SITE_DEBIAN:=main/z/zeya/}
- MAINTAINER = David Coppa <dcoppa@openbsd.org>
- # AGPLv3 (GNU Affero Public License)
- PERMIT_PACKAGE_CDROM = Yes
- MODULES = lang/python
- RUN_DEPENDS = audio/faad \
- audio/flac \
- audio/mpg123 \
- audio/py-tagpy \
- audio/vorbis-tools \
- MODPY_ADJ_FILES = zeya.py \
- zeyaclient.py \
- zeyatest.py
- ZEYA_MODULES = ${WRKBUILD}/backends.py \
- ${WRKBUILD}/common.py \
- ${WRKBUILD}/decoders.py \
- ${WRKBUILD}/directory.py \
- ${WRKBUILD}/m3u.py \
- ${WRKBUILD}/options.py \
- ${WRKBUILD}/pls.py \
- ${WRKBUILD}/rhythmbox.py
- NO_BUILD = Yes
- NO_TEST = Yes
- PKG_ARCH = *
- WRKDIST = ${WRKDIR}
- do-install:
- ${SUBST_CMD} ${WRKBUILD}/backends.py \
- ${WRKBUILD}/decoders.py ${WRKBUILD}/zeya.py \
- ${WRKBUILD}/zeyaclient.py
- ${INSTALL_SCRIPT} ${WRKBUILD}/zeya.py ${PREFIX}/sbin/zeya
- ${INSTALL_SCRIPT} ${WRKBUILD}/zeyaclient.py \
- ${PREFIX}/bin/zeyaclient
- ${INSTALL_DATA_DIR} ${PREFIX}/lib/zeya ${PREFIX}/share/zeya
- ${INSTALL_DATA} ${ZEYA_MODULES} ${PREFIX}/lib/zeya/
- ${INSTALL_DATA} ${WRKBUILD}/resources/* ${PREFIX}/share/zeya/
- ${INSTALL_MAN} ${WRKBUILD}/doc/zeyaclient.1 ${PREFIX}/man/man1/
- ${INSTALL_MAN} ${WRKBUILD}/doc/zeya.1 ${PREFIX}/man/man8/zeya.8
- .include <bsd.port.mk>
|