svn commit: r348081 - head/ports-mgmt/pkg_remove

Emanuel Haupt ehaupt at FreeBSD.org
Thu Mar 13 15:06:28 UTC 2014


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 at 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>


More information about the svn-ports-head mailing list