From 22a363d6005abccbf6f7904ce574703c70bf9cfe Mon Sep 17 00:00:00 2001 From: Emanuel Haupt Date: Mon, 24 Feb 2014 13:13:31 +0000 Subject: [PATCH] Support staging --- net/cryptcat/Makefile | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/net/cryptcat/Makefile b/net/cryptcat/Makefile index 0a92fd5408fd..0186903f647d 100644 --- a/net/cryptcat/Makefile +++ b/net/cryptcat/Makefile @@ -18,12 +18,11 @@ ALL_TARGET= freebsd PLIST_FILES= bin/cryptcat PORTDOCS= README.cryptcat -NO_STAGE= yes +OPTIONS_DEFINE= DOCS + do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/cryptcat ${PREFIX}/bin -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR} -.endif + ${INSTALL_PROGRAM} ${WRKSRC}/cryptcat ${STAGEDIR}${PREFIX}/bin + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include