summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-04-04 18:26:45 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-04-04 18:26:45 +0000
commit0ae2ecac8c72084d2f3f7688fdce08bdc785b0f8 (patch)
treef53a9a94c4787cafb71e3b0721ebdf1f379033f6
parentDo not overwrite build_depends (diff)
Support stage
-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>