aboutsummaryrefslogtreecommitdiffstats
path: root/ports-mgmt
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-03-13 23:06:28 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-03-13 23:06:28 +0800
commitd035f7802eec15193bd643340c5d13f15e184076 (patch)
treee2e3d76d4086cbb30bbdd1db6c0b66267751e027 /ports-mgmt
parenta2a81dc99a7208082ea487d47dd30132403f2bb7 (diff)
downloadfreebsd-ports-gnome-d035f7802eec15193bd643340c5d13f15e184076.tar.gz
freebsd-ports-gnome-d035f7802eec15193bd643340c5d13f15e184076.tar.zst
freebsd-ports-gnome-d035f7802eec15193bd643340c5d13f15e184076.zip
- Support staging
- Use shebangfix
Diffstat (limited to 'ports-mgmt')
-rw-r--r--ports-mgmt/pkg_remove/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/ports-mgmt/pkg_remove/Makefile b/ports-mgmt/pkg_remove/Makefile
index 4b52dea9bd87..62f0ec398dcb 100644
--- a/ports-mgmt/pkg_remove/Makefile
+++ b/ports-mgmt/pkg_remove/Makefile
@@ -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>