58 lines
1.4 KiB
Makefile
58 lines
1.4 KiB
Makefile
# $OpenBSD: Makefile,v 1.12 2019/07/12 20:43:42 sthen Exp $
|
|
|
|
COMMENT = html5-powered web music server
|
|
|
|
MODPY_EGG_VERSION = 0.6
|
|
DISTNAME = zeya_${MODPY_EGG_VERSION}.orig
|
|
PKGNAME = zeya-${MODPY_EGG_VERSION}
|
|
REVISION = 5
|
|
CATEGORIES = audio www
|
|
|
|
HOMEPAGE = http://web.psung.name/zeya/
|
|
|
|
MASTER_SITES = ${MASTER_SITE_DEBIAN:=main/z/zeya/}
|
|
|
|
# AGPLv3 (GNU Affero Public License)
|
|
PERMIT_PACKAGE = 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>
|