diff options
author | Emanuel Haupt <ehaupt@FreeBSD.org> | 2014-03-14 13:45:41 +0000 |
---|---|---|
committer | Emanuel Haupt <ehaupt@FreeBSD.org> | 2014-03-14 13:45:41 +0000 |
commit | 73ad11b40ca5cbc18ae5bf921ab61b76328295bc (patch) | |
tree | b21c5d7a1d8a5e62958e8f463cc5cac92c64009a /sysutils/rsyncbackup | |
parent | d1e5f1ed50530996628c2ea8fdf677d701d43153 (diff) | |
download | ports-73ad11b40ca5cbc18ae5bf921ab61b76328295bc.tar.gz ports-73ad11b40ca5cbc18ae5bf921ab61b76328295bc.zip |
Notes
Diffstat (limited to 'sysutils/rsyncbackup')
-rw-r--r-- | sysutils/rsyncbackup/Makefile | 21 |
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> |