Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 May 2013 06:31:06 +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: r317573 - in head/audio: cmus-post.fm gnormalize mp3check pacpl ripit
Message-ID:  <201305070631.r476V6nx066223@svn.freebsd.org>

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



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