Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Mar 2014 15:06:28 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r348081 - head/ports-mgmt/pkg_remove
Message-ID:  <201403131506.s2DF6Sek041401@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Thu Mar 13 15:06:28 2014
New Revision: 348081
URL: http://svnweb.freebsd.org/changeset/ports/348081
QAT: https://qat.redports.org/buildarchive/r348081/

Log:
  - Support staging
  - Use shebangfix

Modified:
  head/ports-mgmt/pkg_remove/Makefile

Modified: head/ports-mgmt/pkg_remove/Makefile
==============================================================================
--- head/ports-mgmt/pkg_remove/Makefile	Thu Mar 13 15:04:29 2014	(r348080)
+++ head/ports-mgmt/pkg_remove/Makefile	Thu Mar 13 15:06:28 2014	(r348081)
@@ -10,17 +10,23 @@ DISTFILES=	# none
 MAINTAINER=	nakaji@jp.freebsd.org
 COMMENT=	Utility to uninstall packages
 
+USES=		shebangfix
 NO_BUILD=	yes
 NO_WRKSUBDIR=	yes
 
+SHEBANG_FILES=	pkg_remove
 PLIST_FILES=	bin/pkg_remove
+
 SRC=		${.CURDIR}/src
 
-NO_STAGE=	yes
 do-fetch:
 	@${DO_NADA}
 
+do-extract:
+	@${MKDIR} ${WRKSRC}
+	@${CP} ${SRC}/pkg_remove.txt ${WRKSRC}/pkg_remove
+
 do-install:
-	${INSTALL_SCRIPT} ${SRC}/pkg_remove.txt ${PREFIX}/bin/pkg_remove
+	${INSTALL_SCRIPT} ${WRKSRC}/pkg_remove ${STAGEDIR}${PREFIX}/bin
 
 .include <bsd.port.mk>



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