aboutsummaryrefslogtreecommitdiff
path: root/net/sbd
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-24 14:54:13 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-24 14:54:13 +0000
commit9234608a499504650d090215731808e41b8053db (patch)
tree7616a237b0673e5895aa0605879565ded2b1b884 /net/sbd
parentde4790f57a5e8587ec6a27a69869a598cd164fa0 (diff)
downloadports-9234608a499504650d090215731808e41b8053db.tar.gz
ports-9234608a499504650d090215731808e41b8053db.zip
Support staging
Notes
Notes: svn path=/head/; revision=345857
Diffstat (limited to 'net/sbd')
-rw-r--r--net/sbd/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/net/sbd/Makefile b/net/sbd/Makefile
index 482dc2cc5dd5..42628c3e6ac8 100644
--- a/net/sbd/Makefile
+++ b/net/sbd/Makefile
@@ -15,12 +15,11 @@ ALL_TARGET= unix
PLIST_FILES= bin/sbd
PORTDOCS= README
-NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
+
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/sbd ${PREFIX}/bin
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
-.endif
+ ${INSTALL_PROGRAM} ${WRKSRC}/sbd ${STAGEDIR}${PREFIX}/bin
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>