From owner-svn-ports-head@FreeBSD.ORG  Tue May  7 06:31:07 2013
Return-Path: <owner-svn-ports-head@FreeBSD.ORG>
Delivered-To: svn-ports-head@freebsd.org
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
 by hub.freebsd.org (Postfix) with ESMTP id BF479A1;
 Tue,  7 May 2013 06:31:07 +0000 (UTC)
 (envelope-from bapt@FreeBSD.org)
Received: from svn.freebsd.org (svn.freebsd.org
 [IPv6:2001:1900:2254:2068::e6a:0])
 by mx1.freebsd.org (Postfix) with ESMTP id A232A1E9;
 Tue,  7 May 2013 06:31:07 +0000 (UTC)
Received: from svn.freebsd.org ([127.0.1.70])
 by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r476V7Ng066232;
 Tue, 7 May 2013 06:31:07 GMT (envelope-from bapt@svn.freebsd.org)
Received: (from bapt@localhost)
 by svn.freebsd.org (8.14.6/8.14.5/Submit) id r476V6nx066223;
 Tue, 7 May 2013 06:31:06 GMT (envelope-from bapt@svn.freebsd.org)
Message-Id: <201305070631.r476V6nx066223@svn.freebsd.org>
From: Baptiste Daroussin <bapt@FreeBSD.org>
Date: Tue, 7 May 2013 06:31:06 +0000 (UTC)
To: ports-committers@freebsd.org, svn-ports-all@freebsd.org,
 svn-ports-head@freebsd.org
Subject: svn commit: r317573 - in head/audio: cmus-post.fm gnormalize mp3check
 pacpl ripit
X-SVN-Group: ports-head
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-ports-head@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: SVN commit messages for the ports tree for head
 <svn-ports-head.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/svn-ports-head>,
 <mailto:svn-ports-head-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-ports-head>
List-Post: <mailto:svn-ports-head@freebsd.org>
List-Help: <mailto:svn-ports-head-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/svn-ports-head>,
 <mailto:svn-ports-head-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 07 May 2013 06:31:07 -0000

Author: bapt
Date: Tue May  7 06:31:06 2013
New Revision: 317573
URL: http://svnweb.freebsd.org/changeset/ports/317573

Log:
  Use shebangfix

Modified:
  head/audio/cmus-post.fm/Makefile
  head/audio/gnormalize/Makefile
  head/audio/mp3check/Makefile
  head/audio/pacpl/Makefile
  head/audio/pacpl/pkg-descr
  head/audio/ripit/Makefile

Modified: head/audio/cmus-post.fm/Makefile
==============================================================================
--- head/audio/cmus-post.fm/Makefile	Tue May  7 06:01:00 2013	(r317572)
+++ head/audio/cmus-post.fm/Makefile	Tue May  7 06:31:06 2013	(r317573)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	cmus-post.fm
-# Date created:		8 March 2007
-# Whom:			Andrew Pantyukhin <infofarmer@FreeBSD.org>
-#
+# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
 # $FreeBSD$
-#
 
 PORTNAME=	post.fm
 PORTVERSION=	1.0
@@ -17,15 +13,14 @@ COMMENT=	Last.fm submitter
 RUN_DEPENDS=	p5-libwww>=5.805:${PORTSDIR}/www/p5-libwww \
 		p5-Storable>=0:${PORTSDIR}/devel/p5-Storable
 
+USES=	shebangfix
 USE_BZIP2=	yes
 USE_PERL5_RUN=	yes
 SUB_FILES=	pkg-message
 NO_BUILD=	yes
 PLIST_FILES=	libexec/${PORTNAME} %%EXAMPLESDIR%%/${PORTNAME}.conf
 PLIST_DIRS=	%%EXAMPLESDIR%%
-
-post-patch:
-	@${REINPLACE_CMD} -e '1s|#!.*|#!${PERL5}|' ${WRKSRC}/${PORTNAME}
+SHEBANG_FILES=	${PORTNAME}
 
 do-install:
 	@${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/libexec/

Modified: head/audio/gnormalize/Makefile
==============================================================================
--- head/audio/gnormalize/Makefile	Tue May  7 06:01:00 2013	(r317572)
+++ head/audio/gnormalize/Makefile	Tue May  7 06:31:06 2013	(r317573)
@@ -3,7 +3,7 @@
 
 PORTNAME=	gnormalize
 PORTVERSION=	0.63
-PORTREVISION=	7
+PORTREVISION=	8
 CATEGORIES=	audio
 MASTER_SITES=	SF
 
@@ -13,9 +13,12 @@ COMMENT=	An alternative for replaygain
 RUN_DEPENDS+=	p5-Gtk2>=0:${PORTSDIR}/x11-toolkits/p5-Gtk2 \
 		wavegain:${PORTSDIR}/audio/wavegain
 
+USES=		shebangfix
 USE_PERL5_RUN=	yes
 INSTALLS_ICONS=	yes
 
+SHEBANGFILES=	${PORTNAME}
+
 NO_BUILD=	yes
 
 MAN1=		gnormalize.1
@@ -68,10 +71,6 @@ RUN_DEPENDS+=	mac:${PORTSDIR}/audio/mac
 RUN_DEPENDS+=	mppenc:${PORTSDIR}/audio/musepack
 .endif
 
-.if ${OSVERSION} < 800505 || (${OSVERSION} >= 900000 && ${OSVERSION} < 900012)
-BUILD_DEPENDS+=	lzma:${PORTSDIR}/archivers/xz
-.endif
-
 post-patch:
 	@${REINPLACE_CMD} -e 's,^PREFIX=.*,PREFIX=${PREFIX},; \
 		s,^MANDIR=.*,MANDIR=${MANPREFIX}/man,; \

Modified: head/audio/mp3check/Makefile
==============================================================================
--- head/audio/mp3check/Makefile	Tue May  7 06:01:00 2013	(r317572)
+++ head/audio/mp3check/Makefile	Tue May  7 06:31:06 2013	(r317573)
@@ -13,6 +13,7 @@ COMMENT=	Tool for checking and fixing MP
 RUN_DEPENDS=	${LOCALBASE}/bin/id3tool:${PORTSDIR}/audio/id3tool \
 		${LOCALBASE}/bin/mp3_check:${PORTSDIR}/audio/mp3_check
 
+USES=		shebangfix
 USE_PERL5_RUN=	yes
 NO_WRKSUBDIR=	yes
 EXTRACT_CMD=	${CP}
@@ -20,9 +21,7 @@ EXTRACT_BEFORE_ARGS=
 EXTRACT_AFTER_ARGS=	${WRKSRC}
 NO_BUILD=	yes
 PLIST_FILES=	bin/mp3check
-
-pre-patch:
-	${REINPLACE_CMD} -E "s|^#!.+|#!${PERL}|" ${WRKSRC}/${DISTNAME}
+SHEBANG_FILES=	${DISTNAME}
 
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${PREFIX}/bin/mp3check

Modified: head/audio/pacpl/Makefile
==============================================================================
--- head/audio/pacpl/Makefile	Tue May  7 06:01:00 2013	(r317572)
+++ head/audio/pacpl/Makefile	Tue May  7 06:31:06 2013	(r317573)
@@ -3,13 +3,14 @@
 
 PORTNAME=	pacpl
 PORTVERSION=	4.0.5
-PORTREVISION=	7
+PORTREVISION=	8
 CATEGORIES=	audio
 MASTER_SITES=	SF
 
 MAINTAINER=	perl@FreeBSD.org
 COMMENT=	Perl Audio Converter
 
+USES=		shebangfix
 USE_PERL5_BUILD=yes
 USE_PERL5_RUN=	yes
 ONLY_FOR_ARCHS=	i386 amd64
@@ -51,6 +52,8 @@ MORELANGS_DESC=	Enable Additional langua
 MAN1=		pacpl.1
 PACPL_PO=	en_US.po
 
+SHEBANG_FILES=	pacpl plugins/amarok/pacx
+
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MKDE4}

Modified: head/audio/pacpl/pkg-descr
==============================================================================
--- head/audio/pacpl/pkg-descr	Tue May  7 06:01:00 2013	(r317572)
+++ head/audio/pacpl/pkg-descr	Tue May  7 06:31:06 2013	(r317573)
@@ -9,5 +9,4 @@ CD ripping function with CDDB support, b
 tag preservation for most supported formats, independent tag reading/
 writing, and extensions for Konqueror and Amarok are also provided.
 
-Author: Philip Lyons <viiron@gmail.com>
 WWW: http://pacpl.sourceforge.net/

Modified: head/audio/ripit/Makefile
==============================================================================
--- head/audio/ripit/Makefile	Tue May  7 06:01:00 2013	(r317572)
+++ head/audio/ripit/Makefile	Tue May  7 06:31:06 2013	(r317573)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:    ripit
-# Date created:         2 May 1999
-# Whom:                 oyvindmo@initio.no
-#
+# Created by: oyvindmo@initio.no
 # $FreeBSD$
-#
 
 PORTNAME=	ripit
 PORTVERSION=	3.9.0
@@ -22,20 +18,22 @@ RUN_DEPENDS=	p5-CDDB_get>=0:${PORTSDIR}/
 	lame:${PORTSDIR}/audio/lame \
 	cdparanoia:${PORTSDIR}/audio/cdparanoia \
 
+USES=	shebangfix
 NO_BUILD=	yes
 PLIST_FILES=	bin/ripit
 MAN1=		ripit.1
 PORTEXAMPLES=	config
 USE_PERL5_RUN=	yes
 USE_BZIP2=	yes
+SHEBANG_FILES=	ripit.pl
+perl_OLD_CMD=	/usr/bin/env perl
 
-post-patch:
-	@${REINPLACE_CMD} -e "s|#!/usr/bin/env perl|#!${PERL}|" ${WRKSRC}/ripit.pl
+.include <bsd.port.options.mk>
 
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/ripit.pl ${PREFIX}/bin/ripit
 	${INSTALL_MAN} ${WRKSRC}/ripit.1 ${MAN1PREFIX}/man/man1
-.if !defined(NOPORTEXAMPLES)
+.if ${PORT_OPTIONS:MEXAMPLES}
 	${MKDIR} ${EXAMPLESDIR}/
 	${INSTALL_DATA} ${WRKSRC}/config ${EXAMPLESDIR}/config
 .endif