svn commit: r346301 - head/sysutils/geteltorito

Emanuel Haupt ehaupt at FreeBSD.org
Thu Feb 27 09:26:09 UTC 2014


Author: ehaupt
Date: Thu Feb 27 09:26:09 2014
New Revision: 346301
URL: http://svnweb.freebsd.org/changeset/ports/346301
QAT: https://qat.redports.org/buildarchive/r346301/

Log:
  - Support staging
  - Use shebangfix

Modified:
  head/sysutils/geteltorito/Makefile

Modified: head/sysutils/geteltorito/Makefile
==============================================================================
--- head/sysutils/geteltorito/Makefile	Thu Feb 27 09:24:15 2014	(r346300)
+++ head/sysutils/geteltorito/Makefile	Thu Feb 27 09:26:09 2014	(r346301)
@@ -12,13 +12,18 @@ MAINTAINER=	valerio.daelli at gmail.com
 COMMENT=	El Torito image extractor
 
 NO_BUILD=	yes
-USES=		perl5
+USES=		perl5 shebangfix
 USE_PERL5=	run
 
 PLIST_FILES=	bin/${PORTNAME}
+SHEBANG_FILES=	geteltorito.pl
+
+do-extract:
+	@${MKDIR} ${WRKSRC}
+	@${CP} ${DISTDIR}/${DISTFILES} ${WRKSRC}
 
-NO_STAGE=	yes
 do-install:
-	${INSTALL_SCRIPT} ${DISTDIR}/${PORTNAME}.pl ${PREFIX}/bin/${PORTNAME}
+	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl \
+		${STAGEDIR}${PREFIX}/bin/${PORTNAME}
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list