aboutsummaryrefslogtreecommitdiff
path: root/ports-mgmt
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2014-03-13 15:06:28 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2014-03-13 15:06:28 +0000
commit9001e5253f4720f75a34215e66ffcf7ab9e6ca25 (patch)
treee2e3d76d4086cbb30bbdd1db6c0b66267751e027 /ports-mgmt
parentc2a9cb75bc31577c2fd1b762f18f682539602c4f (diff)
downloadports-9001e5253f4720f75a34215e66ffcf7ab9e6ca25.tar.gz
ports-9001e5253f4720f75a34215e66ffcf7ab9e6ca25.zip
Notes
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>