svn commit: r336009 - head/misc/umodunpack

Danilo Egea Gondolfo danilo at FreeBSD.org
Mon Dec 9 17:00:21 UTC 2013


Author: danilo
Date: Mon Dec  9 17:00:20 2013
New Revision: 336009
URL: http://svnweb.freebsd.org/changeset/ports/336009

Log:
  - Add shebangfix to USES
  - Add stage support

Modified:
  head/misc/umodunpack/Makefile

Modified: head/misc/umodunpack/Makefile
==============================================================================
--- head/misc/umodunpack/Makefile	Mon Dec  9 16:52:57 2013	(r336008)
+++ head/misc/umodunpack/Makefile	Mon Dec  9 17:00:20 2013	(r336009)
@@ -12,14 +12,18 @@ EXTRACT_ONLY=
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Unpack umod files for Unreal and/or Unreal Tournament
 
-USES=		perl5
+USES=		perl5 shebangfix
+SHEBANG_FILES=	${DISTNAME}
+
 USE_PERL5=	run
 NO_WRKSUBDIR=	yes
 NO_BUILD=	yes
 PLIST_FILES=	bin/${DISTNAME}
 
-NO_STAGE=	yes
+post-extract:
+	${CP} ${DISTDIR}/${DISTNAME} ${WRKDIR}
+
 do-install:
-	@${INSTALL_SCRIPT} ${DISTDIR}/${DISTNAME} ${PREFIX}/bin/${DISTNAME}
+	${INSTALL_SCRIPT} ${WRKDIR}/${DISTNAME}  ${STAGEDIR}${PREFIX}/bin/${DISTNAME}
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list