1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

multimedia/libkate: remove dependency on python 2

PR:		249725
Approved by:	bar (maintainer)
This commit is contained in:
Steve Wills 2020-09-29 02:26:21 +00:00
parent 49de155856
commit 5b7c58bd66
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=550467
2 changed files with 2 additions and 55 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= libkate
PORTVERSION= 0.4.1
PORTREVISION= 10
PORTREVISION= 11
CATEGORIES= multimedia
MASTER_SITES= http://downloads.xiph.org/releases/kate/
@ -23,10 +23,9 @@ USE_LDCONFIG= yes
CFLAGS+= "-I${LOCALBASE}/include"
MANPAGE= katalyzer.1 kateenc.1 katedec.1
OPTIONS_DEFINE= DOXYGEN HTMLDOCS KATEDJ DOCS
OPTIONS_DEFINE= DOXYGEN HTMLDOCS DOCS
HTMLDOCS_DESC= Install bundled html documentation
KATEDJ_DESC= Install KateDJ (Huge dependencies list)
PORTDOCS= *
@ -38,28 +37,11 @@ BUILD_DEPENDS+= doxygen:devel/doxygen
CONFIGURE_ARGS+= --disable-doc
.endif
.if ${PORT_OPTIONS:MKATEDJ}
RUN_DEPENDS= ${LOCALBASE}/bin/oggz:audio/liboggz
USES+= python:2.7 shebangfix
SHEBANG_FILES= tools/KateDJ/KateDJ
USE_WX= 3.0+
WX_COMPS= wx python:lib
MANPAGE+= KateDJ.1
PLIST_SUB+= KATEDJ=""
.else
PLIST_SUB+= KATEDJ="@comment "
.endif
post-patch:
.if ${PORT_OPTIONS:MKATEDJ}
@${REINPLACE_CMD} -e 's|PYTHON=python|PYTHON=${PYTHON_CMD}|' \
${WRKSRC}/misc/autotools/py-compile
.else
@${REINPLACE_CMD} -e \
"s| HAVE_PYTHON_TRUE=$$| HAVE_PYTHON_TRUE='#'|; \
s| HAVE_PYTHON_FALSE='#'$$| HAVE_PYTHON_FALSE=|" \
${WRKSRC}/configure
.endif
@${REINPLACE_CMD} -E -e \
"s|^(install-data-am: ).*|\1|" \

View File

@ -1,4 +1,3 @@
%%KATEDJ%%bin/KateDJ
bin/katalyzer
bin/katedec
bin/kateenc
@ -18,37 +17,3 @@ libdata/pkgconfig/oggkate.pc
man/man1/katalyzer.1.gz
man/man1/katedec.1.gz
man/man1/kateenc.1.gz
%%KATEDJ%%man/man1/KateDJ.1.gz
%%KATEDJ%%%%PYTHON_SITELIBDIR%%/kdj/__init__.py
%%KATEDJ%%%%PYTHON_SITELIBDIR%%/kdj/__init__.pyc
%%KATEDJ%%%%PYTHON_SITELIBDIR%%/kdj/__init__.pyo
%%KATEDJ%%%%PYTHON_SITELIBDIR%%/kdj/constants.py
%%KATEDJ%%%%PYTHON_SITELIBDIR%%/kdj/constants.pyc
%%KATEDJ%%%%PYTHON_SITELIBDIR%%/kdj/constants.pyo
%%KATEDJ%%%%PYTHON_SITELIBDIR%%/kdj/demuxer.py
%%KATEDJ%%%%PYTHON_SITELIBDIR%%/kdj/demuxer.pyc
%%KATEDJ%%%%PYTHON_SITELIBDIR%%/kdj/demuxer.pyo
%%KATEDJ%%%%PYTHON_SITELIBDIR%%/kdj/finder.py
%%KATEDJ%%%%PYTHON_SITELIBDIR%%/kdj/finder.pyc
%%KATEDJ%%%%PYTHON_SITELIBDIR%%/kdj/finder.pyo
%%KATEDJ%%%%PYTHON_SITELIBDIR%%/kdj/muxer.py
%%KATEDJ%%%%PYTHON_SITELIBDIR%%/kdj/muxer.pyc
%%KATEDJ%%%%PYTHON_SITELIBDIR%%/kdj/muxer.pyo
%%KATEDJ%%%%PYTHON_SITELIBDIR%%/kdj/options.py
%%KATEDJ%%%%PYTHON_SITELIBDIR%%/kdj/options.pyc
%%KATEDJ%%%%PYTHON_SITELIBDIR%%/kdj/options.pyo
%%KATEDJ%%%%PYTHON_SITELIBDIR%%/kdj/tester.py
%%KATEDJ%%%%PYTHON_SITELIBDIR%%/kdj/tester.pyc
%%KATEDJ%%%%PYTHON_SITELIBDIR%%/kdj/tester.pyo
%%KATEDJ%%%%PYTHON_SITELIBDIR%%/kdj/tools.py
%%KATEDJ%%%%PYTHON_SITELIBDIR%%/kdj/tools.pyc
%%KATEDJ%%%%PYTHON_SITELIBDIR%%/kdj/tools.pyo
%%KATEDJ%%%%PYTHON_SITELIBDIR%%/kdj/ui_editor.py
%%KATEDJ%%%%PYTHON_SITELIBDIR%%/kdj/ui_editor.pyc
%%KATEDJ%%%%PYTHON_SITELIBDIR%%/kdj/ui_editor.pyo
%%KATEDJ%%%%PYTHON_SITELIBDIR%%/kdj/ui_main.py
%%KATEDJ%%%%PYTHON_SITELIBDIR%%/kdj/ui_main.pyc
%%KATEDJ%%%%PYTHON_SITELIBDIR%%/kdj/ui_main.pyo
%%KATEDJ%%%%PYTHON_SITELIBDIR%%/kdj/ui_options.py
%%KATEDJ%%%%PYTHON_SITELIBDIR%%/kdj/ui_options.pyc
%%KATEDJ%%%%PYTHON_SITELIBDIR%%/kdj/ui_options.pyo