svn commit: r317556 - head/audio/abcselect

Baptiste Daroussin bapt at FreeBSD.org
Mon May 6 22:24:40 UTC 2013


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 at FreeBSD.org>
-#
+# Created by: Sue Blake <sue at FreeBSD.org>
 # $FreeBSD$
-#
 
 PORTNAME=	abcselect
 PORTVERSION=	1.5
@@ -14,15 +10,15 @@ DISTNAME=	${PORTNAME}
 MAINTAINER=	ports at 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


More information about the svn-ports-all mailing list