aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-03-14 21:45:41 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-03-14 21:45:41 +0800
commit3928e18e2c775020b2d1a954c686079977b51d58 (patch)
treeb21c5d7a1d8a5e62958e8f463cc5cac92c64009a
parentb06c634905cb5ea6b9157660fdc3b1524f15cce4 (diff)
downloadfreebsd-ports-gnome-3928e18e2c775020b2d1a954c686079977b51d58.tar.gz
freebsd-ports-gnome-3928e18e2c775020b2d1a954c686079977b51d58.tar.zst
freebsd-ports-gnome-3928e18e2c775020b2d1a954c686079977b51d58.zip
- Support staging
- Define DOCS option
-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>