Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 May 2013 22:24:39 +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: r317556 - head/audio/abcselect
Message-ID:  <201305062224.r46MOdMJ093721@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Mon May  6 22:24:39 2013
New Revision: 317556
URL: http://svnweb.freebsd.org/changeset/ports/317556

Log:
  Convert to use the new shebangfix uses

Modified:
  head/audio/abcselect/Makefile

Modified: head/audio/abcselect/Makefile
==============================================================================
--- head/audio/abcselect/Makefile	Mon May  6 22:23:09 2013	(r317555)
+++ head/audio/abcselect/Makefile	Mon May  6 22:24:39 2013	(r317556)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:   abcselect
-# Date created:			11 March 2002
-# Whom:				Sue Blake <sue@FreeBSD.org>
-#
+# Created by: Sue Blake <sue@FreeBSD.org>
 # $FreeBSD$
-#
 
 PORTNAME=	abcselect
 PORTVERSION=	1.5
@@ -14,15 +10,15 @@ DISTNAME=	${PORTNAME}
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Extract parts, movements, etc from abc music files
 
-USE_PERL5=	yes
+USES=		shebangfix
+USE_PERL5_RUN=	yes
 NO_BUILD=	yes
 
+SHEBANG_FILES=	abcselect
+
 MAN1=	abcselect.1
 PLIST_FILES=	bin/abcselect
 
-post-patch:
-	@${PERL} -pi -e "s,/usr/bin/perl,${SETENV} perl,g" ${WRKSRC}/abcselect
-
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/abcselect ${PREFIX}/bin
 	${INSTALL_MAN} ${WRKSRC}/abcselect.1 ${MANPREFIX}/man/man1



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