mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- Update to upstream version 3.0.3
- Add LICENSE - Makefile cleanup - Use pkg-message.in instead of pkg-message PR: 190889 Submitted by: tkato432@yahoo.com Approved by: mentors (implicit)
This commit is contained in:
parent
e0533dac80
commit
0ad35eb91e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=363891
@ -2,8 +2,7 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PORTNAME= pytone
|
PORTNAME= pytone
|
||||||
PORTVERSION= 3.0.2
|
PORTVERSION= 3.0.3
|
||||||
PORTREVISION= 2
|
|
||||||
CATEGORIES= audio python
|
CATEGORIES= audio python
|
||||||
MASTER_SITES= http://www.luga.de/pytone/download/ \
|
MASTER_SITES= http://www.luga.de/pytone/download/ \
|
||||||
http://redundancy.redundancy.org/mirror/
|
http://redundancy.redundancy.org/mirror/
|
||||||
@ -12,37 +11,45 @@ DISTNAME= PyTone-${PORTVERSION}
|
|||||||
MAINTAINER= ports@FreeBSD.org
|
MAINTAINER= ports@FreeBSD.org
|
||||||
COMMENT= Music jukebox written in Python with a curses GUI
|
COMMENT= Music jukebox written in Python with a curses GUI
|
||||||
|
|
||||||
|
LICENSE= GPLv2
|
||||||
|
|
||||||
LIB_DEPENDS= libao.so:${PORTSDIR}/audio/libao
|
LIB_DEPENDS= libao.so:${PORTSDIR}/audio/libao
|
||||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3 \
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3 \
|
||||||
${PYTHON_SITELIBDIR}/mutagen/__init__.py:${PORTSDIR}/audio/py-mutagen
|
${PYTHON_PKGNAMEPREFIX}mutagen>0y:${PORTSDIR}/audio/py-mutagen
|
||||||
|
|
||||||
|
|
||||||
USES= ncurses
|
USES= ncurses
|
||||||
USE_PYTHON= yes
|
USE_PYTHON= yes
|
||||||
USE_PYDISTUTILS= yes
|
USE_PYDISTUTILS= yes
|
||||||
PYDISTUTILS_AUTOPLIST= yes
|
PYDISTUTILS_AUTOPLIST= yes
|
||||||
|
|
||||||
OPTIONS_DEFINE= MAD VORBIS PYAO MPG123 MPG321
|
|
||||||
OPTIONS_DEFAULT= MAD VORBIS
|
|
||||||
PYAO_DESC= ${AO_DESC}
|
|
||||||
MPG123_DESC= mpg123 player engine
|
|
||||||
MPG321_DESC= mpg321 player engine
|
|
||||||
PLIST_FILES= etc/pytonerc.sample
|
|
||||||
|
|
||||||
CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib
|
CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib
|
||||||
|
|
||||||
MAD_RUN_DEPENDS= ${PYTHON_SITELIBDIR}/madmodule.so:${PORTSDIR}/audio/py-mad
|
SUB_FILES= pkg-message
|
||||||
VORBIS_RUN_DEPENDS= ${PYTHON_SITELIBDIR}/ogg/vorbis.so:${PORTSDIR}/audio/py-vorbis
|
|
||||||
PYAO_BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/aomodule.so:${PORTSDIR}/audio/py-ao
|
PLIST_FILES= etc/pytonerc.sample
|
||||||
MPG123_RUN_DEPENDS= ${LOCALBASE}/bin/mpg123:${PORTSDIR}/audio/mpg123
|
|
||||||
MPG321_RUN_DEPENDS+= ${LOCALBASE}/bin/mpg321:${PORTSDIR}/audio/mpg321
|
OPTIONS_DEFINE= MAD MPG123 MPG321 PYAO VORBIS
|
||||||
|
OPTIONS_DEFAULT= MAD VORBIS
|
||||||
|
|
||||||
|
MAD_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mad>0:${PORTSDIR}/audio/py-mad
|
||||||
|
MPG123_RUN_DEPENDS= mpg123:${PORTSDIR}/audio/mpg123
|
||||||
|
MPG321_DESC= MP3 decoding support via mpg321
|
||||||
|
MPG321_RUN_DEPENDS= mpg321:${PORTSDIR}/audio/mpg321
|
||||||
|
PYAO_DESC= ${AO_DESC}
|
||||||
|
PYAO_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ao>0:${PORTSDIR}/audio/py-ao
|
||||||
|
VORBIS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}vorbis>0:${PORTSDIR}/audio/py-vorbis
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e 's|src/|${PYTHON_SITELIBDIR}/pytone/|g' \
|
.for i in pytone pytonectl
|
||||||
${WRKSRC}/pytone
|
@${REINPLACE_CMD} -e \
|
||||||
@${REINPLACE_CMD} -e 's|src/|${PYTHON_SITELIBDIR}/pytone/|g' \
|
's|^python |${PYTHON_CMD} | ; \
|
||||||
${WRKSRC}/pytonectl
|
s|src/|${PYTHONPREFIX_SITELIBDIR}/pytone/|' ${WRKSRC}/${i}
|
||||||
|
.endfor
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
${INSTALL_DATA} ${WRKSRC}/conf/pytonerc ${STAGEDIR}${PREFIX}/etc/pytonerc.sample
|
(cd ${WRKSRC}/conf && ${INSTALL_DATA} pytonerc \
|
||||||
|
${STAGEDIR}${PREFIX}/etc/pytonerc.sample)
|
||||||
|
@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pytone/*.so
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
SHA256 (PyTone-3.0.2.tar.gz) = 303fdf52733deb27f00f8449e339972c6568b0180f58450685f101fdc1c24832
|
SHA256 (PyTone-3.0.3.tar.gz) = 50b31aadb2b810549ab1441cd1e8de023a9c9a28a914a676a68c8a781000ab1e
|
||||||
SIZE (PyTone-3.0.2.tar.gz) = 161636
|
SIZE (PyTone-3.0.3.tar.gz) = 161612
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
###############################################################
|
###############################################################
|
||||||
|
|
||||||
To use pytone, you should copy ${LOCALBASE}/etc/pytonerc.sample to:
|
To use pytone, you should copy %%PREFIX%%/etc/pytonerc.sample to:
|
||||||
|
|
||||||
~/.pytone/pytonerc
|
~/.pytone/pytonerc
|
||||||
|
|
Loading…
Reference in New Issue
Block a user