svn commit: r370028 - in head/audio/soundconverter: . files
Jason E. Hale
jhale at FreeBSD.org
Sun Oct 5 00:09:51 UTC 2014
Author: jhale
Date: Sun Oct 5 00:09:49 2014
New Revision: 370028
URL: https://svnweb.freebsd.org/changeset/ports/370028
QAT: https://qat.redports.org/buildarchive/r370028/
Log:
- Convert to USES=python, limit to 2.x
- Drop leading "The" from COMMENT
- Use shebangfix instead of multiple patching
- Trim plist
Deleted:
head/audio/soundconverter/files/
Modified:
head/audio/soundconverter/Makefile
head/audio/soundconverter/pkg-plist
Modified: head/audio/soundconverter/Makefile
==============================================================================
--- head/audio/soundconverter/Makefile Sun Oct 5 00:09:15 2014 (r370027)
+++ head/audio/soundconverter/Makefile Sun Oct 5 00:09:49 2014 (r370028)
@@ -8,23 +8,25 @@ CATEGORIES= audio python
MASTER_SITES= BERLIOS
MAINTAINER= ports at FreeBSD.org
-COMMENT= The sound conversion application for the GNOME environment
+COMMENT= Sound conversion application for the GNOME environment
LICENSE= GPLv3
-RUN_DEPENDS= ${PYTHON_SITELIBDIR}/gst-0.10/gst/__init__.py:${PORTSDIR}/multimedia/py-gstreamer
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gstreamer>=0.10:${PORTSDIR}/multimedia/py-gstreamer
+
+USES= gettext gmake desktop-file-utils python:2 shebangfix
+
+SHEBANG_FILES= src/soundconverter.py
+python_OLD_CMD= /usr/bin/python -tt
-USES= gettext gmake desktop-file-utils
GNU_CONFIGURE= yes
-USE_PYTHON= yes
USE_GNOME= pygtk2 pygnome2
-MAKE_ENV= MAKE=${LOCALBASE}/bin/gmake
+MAKE_ENV= MAKE=${MAKE_CMD}
INSTALLS_ICONS= yes
post-patch:
@${REINPLACE_CMD} -e 's|@GMSGFMT@|${LOCALBASE}/bin/msgfmt|; \
s|itlocaledir = .*|itlocaledir = ${LOCALBASE}/share/locale|g' \
${WRKSRC}/po/Makefile.in.in
- @${REINPLACE_CMD} -e 's|#!/usr/bin/python|#!/usr/bin/env python|' ${WRKSRC}/src/soundconverter.py
.include <bsd.port.mk>
Modified: head/audio/soundconverter/pkg-plist
==============================================================================
--- head/audio/soundconverter/pkg-plist Sun Oct 5 00:09:15 2014 (r370027)
+++ head/audio/soundconverter/pkg-plist Sun Oct 5 00:09:49 2014 (r370028)
@@ -46,4 +46,3 @@ share/locale/zh_CN/LC_MESSAGES/soundconv
share/applications/soundconverter.desktop
share/icons/hicolor/48x48/apps/soundconverter.png
share/icons/hicolor/scalable/apps/soundconverter.svg
- at dirrm %%DATADIR%%
More information about the svn-ports-head
mailing list