aboutsummaryrefslogtreecommitdiff
path: root/sysutils/rsyncbackup
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2014-03-14 13:45:41 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2014-03-14 13:45:41 +0000
commit73ad11b40ca5cbc18ae5bf921ab61b76328295bc (patch)
treeb21c5d7a1d8a5e62958e8f463cc5cac92c64009a /sysutils/rsyncbackup
parentd1e5f1ed50530996628c2ea8fdf677d701d43153 (diff)
downloadports-73ad11b40ca5cbc18ae5bf921ab61b76328295bc.tar.gz
ports-73ad11b40ca5cbc18ae5bf921ab61b76328295bc.zip
Notes
Diffstat (limited to 'sysutils/rsyncbackup')
-rw-r--r--sysutils/rsyncbackup/Makefile21
1 files changed, 8 insertions, 13 deletions
diff --git a/sysutils/rsyncbackup/Makefile b/sysutils/rsyncbackup/Makefile
index 4641079b9bb1..9bae23703fa7 100644
--- a/sysutils/rsyncbackup/Makefile
+++ b/sysutils/rsyncbackup/Makefile
@@ -21,21 +21,16 @@ NO_BUILD= yes
SUB_FILES= pkg-message
-NO_STAGE= yes
-do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
+OPTIONS_DEFINE= DOCS
- ${MKDIR} ${ETCDIR}
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+ @${MKDIR} ${STAGEDIR}${ETCDIR}
.for configfile in ${CONFIGFILES}
- ${INSTALL_DATA} ${CONFIGSRC}/${configfile} ${ETCDIR}/${configfile}.example
+ ${INSTALL_DATA} ${CONFIGSRC}/${configfile} \
+ ${STAGEDIR}${ETCDIR}/${configfile}.example
.endfor
-
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- (cd ${WRKSRC}/doc && ${COPYTREE_SHARE} \* ${DOCSDIR})
-.endif
-
-post-install:
- @${CAT} ${PKGMESSAGE}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ (cd ${WRKSRC}/doc && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>