Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 May 2013 06:45:40 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r317576 - in head/audio: abcde deadbeef jack-rack last.fm muine
Message-ID:  <201305070645.r476jeOU070668@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Tue May  7 06:45:39 2013
New Revision: 317576
URL: http://svnweb.freebsd.org/changeset/ports/317576

Log:
  Use shebangfix

Modified:
  head/audio/abcde/Makefile
  head/audio/deadbeef/Makefile
  head/audio/jack-rack/Makefile
  head/audio/last.fm/Makefile
  head/audio/muine/Makefile

Modified: head/audio/abcde/Makefile
==============================================================================
--- head/audio/abcde/Makefile	Tue May  7 06:36:27 2013	(r317575)
+++ head/audio/abcde/Makefile	Tue May  7 06:45:39 2013	(r317576)
@@ -30,6 +30,9 @@ EJECT_DESC?=	Enable auto-eject support
 NORMALIZE_DESC?=	Enable normalize support
 REPLAYGAIN_DESC?=	Enable (vorbis|mp3)gain support
 
+USES=		shebangfix
+SHEBANG_FILES=	${PORTNAME} cddb-tool
+
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MCDDA2WAV}
@@ -73,10 +76,7 @@ post-patch:
 	${REINPLACE_CMD} -e 's#/etc/#${PREFIX}/etc/#g' \
 		${WRKSRC}/abcde.1
 	${REINPLACE_CMD} -e 's#/etc/#${PREFIX}/etc/#g' \
-		-e 's#/bin/bash#${LOCALBASE}/bin/bash#g' \
 		${WRKSRC}/abcde
-	${REINPLACE_CMD} -e 's#/bin/bash#${LOCALBASE}/bin/bash#g' \
-		${WRKSRC}/cddb-tool
 
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/abcde ${PREFIX}/bin

Modified: head/audio/deadbeef/Makefile
==============================================================================
--- head/audio/deadbeef/Makefile	Tue May  7 06:36:27 2013	(r317575)
+++ head/audio/deadbeef/Makefile	Tue May  7 06:45:39 2013	(r317576)
@@ -18,7 +18,7 @@ LIB_DEPENDS=	samplerate:${PORTSDIR}/audi
 		execinfo:${PORTSDIR}/devel/libexecinfo
 
 GNU_CONFIGURE=	yes
-USES=		pkgconfig gettext iconv
+USES=		pkgconfig gettext iconv shebangfix
 USE_GMAKE=	yes
 USE_LDCONFIG=	yes
 USE_BZIP2=	yes
@@ -29,6 +29,7 @@ WANT_GNOME=	yes
 INSTALLS_ICONS=	yes
 MAKE_JOBS_SAFE=	yes
 CONFIGURE_ENV+=	CONFIG_SHELL="${LOCALBASE}/bin/bash"
+SHEBANG_FILES=	yasmwrapper.sh
 
 OPTIONS_DEFINE=	PULSEAUDIO GUI VFS LASTFM ART EQ SID FFAP VTX HOTKEYS VORBIS FFMPEG \
 		FLAC SNDFILE WAV CDDA GME DUMB NOTIFY MUSEPACK WILD TTA DCA AAC \
@@ -357,8 +358,6 @@ post-patch:
 		${WRKSRC}/plugins/gme/Makefile.in \
 		${WRKSRC}/plugins/sid/Makefile.in \
 		${WRKSRC}/plugins/supereq/Makefile.in
-	@${REINPLACE_CMD} -e 's,/bin/bash,${LOCALBASE}/bin/bash,' \
-		${WRKSRC}/yasmwrapper.sh
 	@${REINPLACE_CMD} -e 's,/etc/timidity++/timidity-freepats.cfg:/etc/timidity/freepats.cfg:/etc/timidity/,${LOCALBASE}/share/,' \
 		${WRKSRC}/plugins/wildmidi/wildmidiplug.c
 

Modified: head/audio/jack-rack/Makefile
==============================================================================
--- head/audio/jack-rack/Makefile	Tue May  7 06:36:27 2013	(r317575)
+++ head/audio/jack-rack/Makefile	Tue May  7 06:45:39 2013	(r317576)
@@ -17,16 +17,16 @@ RUN_DEPENDS=	${LOCALBASE}/include/ladspa
 
 USE_BZIP2=	yes
 USE_GNOME=	libgnomeui libxml2
-USES=		gettext
+USES=		gettext shebangfix
 USE_PYTHON=	yes
 GNU_CONFIGURE=	yes
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 CONFIGURE_ARGS=	--disable-ladcca --disable-lash --disable-aseq
+SHEBANG_FILES=	ecarack
 
 post-patch:
 	@${REINPLACE_CMD} -e '/^jr_desktop_install/ s|/usr/share|${PREFIX}/share|' \
 		${WRKSRC}/configure
-	@${REINPLACE_CMD} -e 's|/usr/bin/python|${PYTHON_CMD}|' ${WRKSRC}/ecarack
 
 .include <bsd.port.mk>

Modified: head/audio/last.fm/Makefile
==============================================================================
--- head/audio/last.fm/Makefile	Tue May  7 06:36:27 2013	(r317575)
+++ head/audio/last.fm/Makefile	Tue May  7 06:45:39 2013	(r317576)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:   last.fm
-# Date created:        February 5th, 2007
-# Whom:                Michael Nottebrock <lofi@freebsd.org>
-#
+# Created by: Michael Nottebrock <lofi@freebsd.org>
 # $FreeBSD$
-#
 
 PORTNAME=	last.fm
 PORTVERSION=	1.5.4.26862
@@ -27,12 +23,14 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 PKGINSTALL=	${WRKDIR}/pkg-install
 PKGDEINSTALL=	${WRKDIR}/pkg-deinstall
 SUB_FILES=	pkg-install pkg-deinstall
+USES=		shebangfix
 USE_BZIP2=	yes
 USE_QT4=	gui imageformats_run moc_build network qmake_build rcc_build \
 		sql uic_build xml
 HAS_CONFIGURE=	yes
 USE_LDCONFIG=	yes
 USE_DOS2UNIX=	*.h
+SHEBANG_FILES=	dist/tarball_files/configure
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 
@@ -44,8 +42,7 @@ USE_GCC=4.2+
 
 post-patch:
 	${CP} ${WRKSRC}/dist/tarball_files/configure ${WRKSRC}/configure
-	${REINPLACE_CMD} -e 's|/bin/bash|/${LOCALBASE}/bin/bash|g' \
-			-E -e 's|(.*"CONFIG-=debug")|\1 ${QMAKEFLAGS}|g' \
+	${REINPLACE_CMD} -E -e 's|(.*"CONFIG-=debug")|\1 ${QMAKEFLAGS}|g' \
 			-e 's|function header|header()|g' \
 			-e 's|function middle|middle()|g' \
 			-e 's|-pthread|-pthread -R/usr/local/share/last.fm|g' \

Modified: head/audio/muine/Makefile
==============================================================================
--- head/audio/muine/Makefile	Tue May  7 06:36:27 2013	(r317575)
+++ head/audio/muine/Makefile	Tue May  7 06:45:39 2013	(r317576)
@@ -1,10 +1,6 @@
-# New ports collection makefile for:	muine
-# Date created:				20040615
-# Whom:				Tom McLaughlin <tmclaugh@sdf.lonestar.org>
-#
+# Created by: Tom McLaughlin <tmclaugh@sdf.lonestar.org>
 # $FreeBSD$
 #   $Id: Makefile,v 1.54 2007/01/26 03:17:25 tmclau02 Exp $
-#
 
 PORTNAME=	muine
 PORTVERSION=	0.8.11
@@ -24,20 +20,18 @@ BUILD_DEPENDS=	${LOCALBASE}/libdata/pkgc
 RUN_DEPENDS:=	${BUILD_DEPENDS}
 
 USE_GMAKE=	yes
-USES=		gettext
+USES=		gettext shebangfix
 USE_GNOME=	gnomeprefix gnomehack intltool libgnomeui gnomesharp20
 USE_GSTREAMER=	gconf
 USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
 INSTALLS_ICONS=	yes
+SHEBANG_FILES=	src/muine.in
+bash_CMD=	${SETENV} bash
 
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
 GCONF_SCHEMAS=	muine.schemas
 
-post-patch:
-	@${REINPLACE_CMD} -e 's|/bin/bash|/usr/bin/env bash|g' \
-		${WRKSRC}/src/muine.in
-
 .include <bsd.port.mk>



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