Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Oct 2014 00:09:50 +0000 (UTC)
From:      "Jason E. Hale" <jhale@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r370028 - in head/audio/soundconverter: . files
Message-ID:  <201410050009.s9509ov1012755@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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
-@dirrm %%DATADIR%%



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410050009.s9509ov1012755>