aboutsummaryrefslogtreecommitdiff
path: root/audio/sonice
diff options
context:
space:
mode:
Diffstat (limited to 'audio/sonice')
-rw-r--r--audio/sonice/Makefile18
-rw-r--r--audio/sonice/distinfo2
-rw-r--r--audio/sonice/pkg-plist45
3 files changed, 52 insertions, 13 deletions
diff --git a/audio/sonice/Makefile b/audio/sonice/Makefile
index 3d56e4935a91..f76d09cce88b 100644
--- a/audio/sonice/Makefile
+++ b/audio/sonice/Makefile
@@ -7,24 +7,22 @@
#
PORTNAME= sonice
-PORTVERSION= 1.2
+PORTVERSION= 2.0
CATEGORIES= audio
MASTER_SITES= http://www.cyclooctane.com/sonice/release/
MAINTAINER= ports@FreeBSD.org
RUN_DEPENDS= oggenc:${PORTSDIR}/audio/vorbis-tools \
- flac:${PORTSDIR}/audio/flac
+ flac:${PORTSDIR}/audio/flac \
+ vorbisgain:${PORTSDIR}/audio/vorbisgain \
+ ${PYTHON_SITELIBDIR}/yaml/__init__.py:${PORTSDIR}/devel/py-yaml
-USE_ZIP= yes
USE_PYTHON= yes
-NO_WRKSUBDIR= yes
-NO_BUILD= yes
+USE_PYDISTUTILS= yes
+WRKSRC= ${WRKDIR}/sonice
-do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/sonice.py ${PREFIX}/bin/sonice
-.for file in comatoys ogg
- ${INSTALL_SCRIPT} ${WRKSRC}/${file}.py ${PYTHON_SITELIBDIR}
-.endfor
+post-install:
+ @${MV} ${PREFIX}/bin/sonice.py ${PREFIX}/bin/sonice
.include <bsd.port.mk>
diff --git a/audio/sonice/distinfo b/audio/sonice/distinfo
index 64b3cb97e8ae..78db4a15c619 100644
--- a/audio/sonice/distinfo
+++ b/audio/sonice/distinfo
@@ -1 +1 @@
-MD5 (sonice-1.2.zip) = 38ac53d2942fc547b4a744cae4dc2dab
+MD5 (sonice-2.0.tar.gz) = adb5745620392bd849f603d2da725119
diff --git a/audio/sonice/pkg-plist b/audio/sonice/pkg-plist
index 80a891202456..f73eb6dc0830 100644
--- a/audio/sonice/pkg-plist
+++ b/audio/sonice/pkg-plist
@@ -1,3 +1,44 @@
bin/sonice
-lib/%%PYTHON_VERSION%%/site-packages/comatoys.py
-lib/%%PYTHON_VERSION%%/site-packages/ogg.py
+%%PYTHON_SITELIBDIR%%/libsonice/__init__.py
+%%PYTHON_SITELIBDIR%%/libsonice/__init__.pyc
+%%PYTHON_SITELIBDIR%%/libsonice/__init__.pyo
+%%PYTHON_SITELIBDIR%%/libsonice/adders.py
+%%PYTHON_SITELIBDIR%%/libsonice/adders.pyc
+%%PYTHON_SITELIBDIR%%/libsonice/adders.pyo
+%%PYTHON_SITELIBDIR%%/libsonice/dicts.py
+%%PYTHON_SITELIBDIR%%/libsonice/dicts.pyc
+%%PYTHON_SITELIBDIR%%/libsonice/dicts.pyo
+%%PYTHON_SITELIBDIR%%/libsonice/files.py
+%%PYTHON_SITELIBDIR%%/libsonice/files.pyc
+%%PYTHON_SITELIBDIR%%/libsonice/files.pyo
+%%PYTHON_SITELIBDIR%%/libsonice/flac.py
+%%PYTHON_SITELIBDIR%%/libsonice/flac.pyc
+%%PYTHON_SITELIBDIR%%/libsonice/flac.pyo
+%%PYTHON_SITELIBDIR%%/libsonice/metadata.py
+%%PYTHON_SITELIBDIR%%/libsonice/metadata.pyc
+%%PYTHON_SITELIBDIR%%/libsonice/metadata.pyo
+%%PYTHON_SITELIBDIR%%/libsonice/ogg.py
+%%PYTHON_SITELIBDIR%%/libsonice/ogg.pyc
+%%PYTHON_SITELIBDIR%%/libsonice/ogg.pyo
+%%PYTHON_SITELIBDIR%%/libsonice/ogglayer.py
+%%PYTHON_SITELIBDIR%%/libsonice/ogglayer.pyc
+%%PYTHON_SITELIBDIR%%/libsonice/ogglayer.pyo
+%%PYTHON_SITELIBDIR%%/libsonice/options.py
+%%PYTHON_SITELIBDIR%%/libsonice/options.pyc
+%%PYTHON_SITELIBDIR%%/libsonice/options.pyo
+%%PYTHON_SITELIBDIR%%/libsonice/prioritymanager.py
+%%PYTHON_SITELIBDIR%%/libsonice/prioritymanager.pyc
+%%PYTHON_SITELIBDIR%%/libsonice/prioritymanager.pyo
+%%PYTHON_SITELIBDIR%%/libsonice/toybag.py
+%%PYTHON_SITELIBDIR%%/libsonice/toybag.pyc
+%%PYTHON_SITELIBDIR%%/libsonice/toybag.pyo
+%%PYTHON_SITELIBDIR%%/libsonice/vorbisgain.py
+%%PYTHON_SITELIBDIR%%/libsonice/vorbisgain.pyc
+%%PYTHON_SITELIBDIR%%/libsonice/vorbisgain.pyo
+%%PYTHON_SITELIBDIR%%/libsonice/vorbisinfo.py
+%%PYTHON_SITELIBDIR%%/libsonice/vorbisinfo.pyc
+%%PYTHON_SITELIBDIR%%/libsonice/vorbisinfo.pyo
+%%PYTHON_SITELIBDIR%%/libsonice/wavmaker.py
+%%PYTHON_SITELIBDIR%%/libsonice/wavmaker.pyc
+%%PYTHON_SITELIBDIR%%/libsonice/wavmaker.pyo
+@dirrm %%PYTHON_SITELIBDIR%%/libsonice