svn commit: r334782 - head/audio/cue2toc

Baptiste Daroussin bapt at FreeBSD.org
Sun Nov 24 19:48:43 UTC 2013


Author: bapt
Date: Sun Nov 24 19:48:42 2013
New Revision: 334782
URL: http://svnweb.freebsd.org/changeset/ports/334782

Log:
  Support staging,
  Use shebangfix

Modified:
  head/audio/cue2toc/Makefile

Modified: head/audio/cue2toc/Makefile
==============================================================================
--- head/audio/cue2toc/Makefile	Sun Nov 24 19:44:46 2013	(r334781)
+++ head/audio/cue2toc/Makefile	Sun Nov 24 19:48:42 2013	(r334782)
@@ -12,15 +12,16 @@ COMMENT=	Perl script that converts CUE f
 
 RUN_DEPENDS=	p5-Audio-Wav>=0:${PORTSDIR}/audio/p5-Audio-Wav
 
-USES=		perl5
-NO_STAGE=	yes
+USES=		perl5 shebangfix
+NO_WRKSUBDIR=	yes
 NO_BUILD=	yes
 PLIST_FILES=	bin/cue2toc.pl
+SHEBANG_FILES=	cue2toc
 
 pre-patch:
 	@${REINPLACE_CMD} -e 's|use warnings;||' ${WRKDIR}/cue2toc
 
 do-install:
-	${INSTALL_SCRIPT} ${WRKDIR}/cue2toc ${PREFIX}/bin/cue2toc.pl
+	${INSTALL_SCRIPT} ${WRKDIR}/cue2toc ${STAGEDIR}${PREFIX}/bin/cue2toc.pl
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list