summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sysutils/dd_rescue/Makefile12
1 files changed, 3 insertions, 9 deletions
diff --git a/sysutils/dd_rescue/Makefile b/sysutils/dd_rescue/Makefile
index 8d640921abe4..3d6e1e87a4bc 100644
--- a/sysutils/dd_rescue/Makefile
+++ b/sysutils/dd_rescue/Makefile
@@ -20,17 +20,11 @@ USE_AUTOTOOLS= autoconf autoheader
WRKSRC= ${WRKDIR}/${PORTNAME}
ALL_TARGET= default
-NO_STAGE= yes
-
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/dd_rescue ${PREFIX}/bin
-.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README.dd_rescue ${DOCSDIR}
-.endif
+ ${INSTALL_PROGRAM} ${WRKSRC}/dd_rescue ${STAGEDIR}${PREFIX}/bin
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README.dd_rescue ${STAGEDIR}${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>