Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Dec 2013 17:00:20 +0000 (UTC)
From:      Danilo Egea Gondolfo <danilo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r336009 - head/misc/umodunpack
Message-ID:  <201312091700.rB9H0KSM096483@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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>



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