aboutsummaryrefslogtreecommitdiffstats
path: root/ports-mgmt
diff options
context:
space:
mode:
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>