mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-05 06:27:37 +00:00
Restore DOCS option to reduce diff with devel/etcd.
This commit is contained in:
parent
8614790126
commit
26c4df674d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=422185
@ -26,6 +26,9 @@ PLIST_FILES= bin/etcd \
|
||||
bin/etcdctl
|
||||
PORTDOCS= README.md
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
DOCS_DESC= Install etcd README file
|
||||
|
||||
post-extract:
|
||||
@${MV} ${WRKSRC}/cmd/vendor ${WRKDIR}/src
|
||||
@${RM} ${GO_WRKDIR_SRC}/github.com/${GH_ACCOUNT}/${PORTNAME}
|
||||
@ -35,6 +38,8 @@ post-extract:
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${GO_WRKDIR_BIN}/etcd ${STAGEDIR}${PREFIX}/bin/
|
||||
${INSTALL_PROGRAM} ${GO_WRKDIR_BIN}/etcdctl ${STAGEDIR}${PREFIX}/bin/
|
||||
|
||||
do-install-DOCS-on:
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user