Changeset View
Changeset View
Standalone View
Standalone View
audio/musicpc/Makefile
# Created by: Mark Reidel <ports@mark.reidle.info> | # Created by: Mark Reidel <ports@mark.reidle.info> | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= musicpc | PORTNAME= musicpc | ||||
PORTVERSION= 0.28 | DISTVERSION= 0.29 | ||||
PORTREVISION= 1 | |||||
CATEGORIES= audio ipv6 | CATEGORIES= audio ipv6 | ||||
MASTER_SITES= http://www.musicpd.org/download/mpc/0/ | MASTER_SITES= http://www.musicpd.org/download/mpc/0/ | ||||
DISTNAME= mpc-${PORTVERSION} | DISTNAME= mpc-${PORTVERSION} | ||||
MAINTAINER= uzsolt@uzsolt.hu | MAINTAINER= uzsolt@uzsolt.hu | ||||
COMMENT= Command line client for the musicpd | COMMENT= Command line client for the musicpd | ||||
LICENSE= GPLv2+ | LICENSE= GPLv2+ | ||||
LICENSE_FILE= ${WRKSRC}/COPYING | LICENSE_FILE= ${WRKSRC}/COPYING | ||||
LIB_DEPENDS= libmpdclient.so:audio/libmpdclient | LIB_DEPENDS= libmpdclient.so:audio/libmpdclient | ||||
USES= pkgconfig tar:xz | USES= meson pkgconfig python tar:xz | ||||
GNU_CONFIGURE= yes | MESON_ARGS+= --mandir=${MANPREFIX} | ||||
PLIST_FILES= bin/mpc man/man1/mpc.1.gz | PLIST_FILES= bin/mpc man/man1/mpc.1.gz | ||||
PORTDOCS= AUTHORS README NEWS | OPTIONS_DEFINE= DOCS EXAMPLES MANPAGES ICONV | ||||
PORTEXAMPLES= * | OPTIONS_DEFAULT= MANPAGES ICONV | ||||
OPTIONS_DEFINE= EXAMPLES DOCS ICONV | MANPAGES_USES= python | ||||
OPTIONS_DEFAULT= ICONV | MANPAGES_BUILD_DEPENDS= sphinx-apidoc:textproc/py-sphinx@${PY_FLAVOR} | ||||
mat: Specifying an executable on a flavored port is a bad idea, it will only exist for the default… | |||||
yuriAuthorUnsubmitted Not Done Inline ActionsHow can BUILD_DEPENDS depend on a package? yuri: How can `BUILD_DEPENDS` depend on a package? | |||||
matUnsubmitted Not Done Inline ActionsLike you have done for the gazillion python modules you added, look at any of BUILD/RUN_DEPENDS lines. It is explained in 5.9.9. mat: Like you have done for the gazillion python modules you added, look at any of BUILD/RUN_DEPENDS… | |||||
MANPAGES_MESON_TRUE= use_sphinx | |||||
ICONV_USES= iconv | ICONV_USES= iconv | ||||
ICONV_LDFLAGS= -L${LOCALBASE}/lib ${ICONV_LIB} | ICONV_LDFLAGS= -L${ICONV_PREFIX}/lib ${ICONV_LIB} | ||||
ICONV_CONFIGURE_ENABLE= iconv | ICONV_MESON_TRUE= iconv | ||||
do-install: | PORTDOCS= AUTHORS README.rst NEWS | ||||
${INSTALL_PROGRAM} ${WRKSRC}/src/mpc ${STAGEDIR}${PREFIX}/bin | PORTEXAMPLES= * | ||||
${INSTALL_MAN} ${WRKSRC}/doc/mpc.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 | |||||
do-install-DOCS-on: | |||||
@${MKDIR} ${STAGEDIR}${DOCSDIR} | |||||
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} | |||||
do-install-EXAMPLES-on: | |||||
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR} | |||||
${INSTALL_DATA} ${WRKSRC}/doc/mpc-completion.bash \ | |||||
${STAGEDIR}${EXAMPLESDIR} | |||||
.include <bsd.port.mk> | .include <bsd.port.mk> |
Specifying an executable on a flavored port is a bad idea, it will only exist for the default flavor. It would be preferable to depend on the package being installed.