mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
- Remove implicit lang/python dependency
Required by: python (via mva)
This commit is contained in:
parent
1d2e026350
commit
ec8743e19e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=335350
3 changed files with 13 additions and 0 deletions
|
@ -11,9 +11,14 @@ DISTFILES= ${PORTNAME}-bin-${PORTVERSION}.tar.gz
|
||||||
MAINTAINER= nivit@FreeBSD.org
|
MAINTAINER= nivit@FreeBSD.org
|
||||||
COMMENT= Musical MIDI Accompaniment generator
|
COMMENT= Musical MIDI Accompaniment generator
|
||||||
|
|
||||||
|
USES= shebangfix
|
||||||
USE_PYTHON= -2.7
|
USE_PYTHON= -2.7
|
||||||
NO_STAGE= yes
|
NO_STAGE= yes
|
||||||
|
|
||||||
|
python_CMD= ${PYTHON_CMD}
|
||||||
|
python_OLD_CMD= /usr/bin/env python
|
||||||
|
SHEBANG_FILES= mma.py
|
||||||
|
|
||||||
OPTIONS_DEFINE= TIMIDITY PLAYMIDI DOCS EXAMPLES
|
OPTIONS_DEFINE= TIMIDITY PLAYMIDI DOCS EXAMPLES
|
||||||
|
|
||||||
TIMIDITY_DESC= Install timidity++ as MIDI player
|
TIMIDITY_DESC= Install timidity++ as MIDI player
|
||||||
|
|
|
@ -16,6 +16,7 @@ LICENSE= MIT
|
||||||
LIB_DEPENDS= boost_python:${PORTSDIR}/devel/boost-python-libs \
|
LIB_DEPENDS= boost_python:${PORTSDIR}/devel/boost-python-libs \
|
||||||
tag:${PORTSDIR}/audio/taglib
|
tag:${PORTSDIR}/audio/taglib
|
||||||
|
|
||||||
|
USES= shebangfix
|
||||||
HAS_CONFIGURE= yes
|
HAS_CONFIGURE= yes
|
||||||
CONFIGURE_SCRIPT= configure.py
|
CONFIGURE_SCRIPT= configure.py
|
||||||
CONFIGURE_ARGS= --taglib-inc-dir="${LOCALBASE}/include/taglib" \
|
CONFIGURE_ARGS= --taglib-inc-dir="${LOCALBASE}/include/taglib" \
|
||||||
|
@ -23,6 +24,9 @@ CONFIGURE_ARGS= --taglib-inc-dir="${LOCALBASE}/include/taglib" \
|
||||||
--boost-inc-dir="${PYTHON_INCLUDEDIR},${LOCALBASE}/include" \
|
--boost-inc-dir="${PYTHON_INCLUDEDIR},${LOCALBASE}/include" \
|
||||||
--boost-lib-dir="${PYTHON_LIBDIR},${LOCALBASE}/lib" \
|
--boost-lib-dir="${PYTHON_LIBDIR},${LOCALBASE}/lib" \
|
||||||
--boost-python-libname="boost_python"
|
--boost-python-libname="boost_python"
|
||||||
|
python_OLD_CMD= /usr/bin/env python
|
||||||
|
python_CMD= ${PYTHON_CMD}
|
||||||
|
SHEBANG_FILES= configure.py
|
||||||
|
|
||||||
PLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
|
PLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
|
||||||
|
|
||||||
|
|
|
@ -33,6 +33,10 @@ PYDISTUTILS_BUILD_TARGET+= build_sphinx -a -E
|
||||||
BUILD_DEPENDS+= sphinx-build:${PORTSDIR}/textproc/py-sphinx \
|
BUILD_DEPENDS+= sphinx-build:${PORTSDIR}/textproc/py-sphinx \
|
||||||
${PKGNAMEPREFIX}sphinxcontrib-bitbucket>=1.0:${PORTSDIR}/textproc/py-sphinxcontrib-bitbucket
|
${PKGNAMEPREFIX}sphinxcontrib-bitbucket>=1.0:${PORTSDIR}/textproc/py-sphinxcontrib-bitbucket
|
||||||
|
|
||||||
|
post-patch:
|
||||||
|
@${REINPLACE_CMD} -e 's|python setup.py|${PYTHON_CMD} setup.py|' \
|
||||||
|
${WRKSRC}/docs/source/conf.py
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
${MKDIR} ${DOCSDIR}
|
${MKDIR} ${DOCSDIR}
|
||||||
@cd ${WRKSRC}/build/sphinx/html && ${COPYTREE_SHARE} . ${DOCSDIR}
|
@cd ${WRKSRC}/build/sphinx/html && ${COPYTREE_SHARE} . ${DOCSDIR}
|
||||||
|
|
Loading…
Add table
Reference in a new issue