mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
sysutils/usacloud: New port
Meta port for SAKURA cloud Approved by: hrs (mentor)
This commit is contained in:
parent
bb7a304bc2
commit
0c72e57044
3 changed files with 60 additions and 0 deletions
|
@ -1493,6 +1493,7 @@
|
||||||
SUBDIR += upower
|
SUBDIR += upower
|
||||||
SUBDIR += upsdaemon
|
SUBDIR += upsdaemon
|
||||||
SUBDIR += uptimed
|
SUBDIR += uptimed
|
||||||
|
SUBDIR += usacloud
|
||||||
SUBDIR += usacloud-core
|
SUBDIR += usacloud-core
|
||||||
SUBDIR += usb_modeswitch
|
SUBDIR += usb_modeswitch
|
||||||
SUBDIR += usbhid-dump
|
SUBDIR += usbhid-dump
|
||||||
|
|
35
sysutils/usacloud/Makefile
Normal file
35
sysutils/usacloud/Makefile
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
PORTNAME= usacloud
|
||||||
|
CATEGORIES= sysutils
|
||||||
|
MASTER_SITES= # empty
|
||||||
|
DISTFILES= # empty
|
||||||
|
|
||||||
|
MAINTAINER= nork@FreeBSD.org
|
||||||
|
COMMENT= Meta port for SAKURA cloud
|
||||||
|
WWW= https://docs.usacloud.jp/usacloud/
|
||||||
|
|
||||||
|
LICENSE= APACHE20
|
||||||
|
|
||||||
|
BUILD_DEPENDS= usacloud-core>=${PKGVERSION}:sysutils/usacloud-core
|
||||||
|
RUN_DEPENDS= usacloud-core>=${PKGVERSION}:sysutils/usacloud-core
|
||||||
|
|
||||||
|
NO_ARCH= yes
|
||||||
|
NO_TEST= yes
|
||||||
|
NO_WRKSUBDIR= yes
|
||||||
|
|
||||||
|
USACLOUD_CMD= ${LOCALBASE}/bin/usacloud completion
|
||||||
|
ENTRIES= bash:etc/bash_completion.d/usacloud \
|
||||||
|
zsh:share/zsh/site-functions/_usacloud
|
||||||
|
M_LABEL= C,\:.*$$,,
|
||||||
|
M_PATH= C,^.*\:,,
|
||||||
|
PLIST_FILES= ${ENTRIES:${M_PATH}}
|
||||||
|
|
||||||
|
do-build:
|
||||||
|
cd ${BUILD_WRKSRC} && \
|
||||||
|
${MKDIR} ${ENTRIES:${M_PATH}:H} && \
|
||||||
|
${ENTRIES:@F@${USACLOUD_CMD} ${F:${M_LABEL}} > ${F:${M_PATH}};@}
|
||||||
|
|
||||||
|
do-install:
|
||||||
|
cd ${INSTALL_WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}
|
||||||
|
|
||||||
|
.include "${.CURDIR}/../usacloud-core/Makefile.version"
|
||||||
|
.include <bsd.port.mk>
|
24
sysutils/usacloud/pkg-descr
Normal file
24
sysutils/usacloud/pkg-descr
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
usacloud is the official CLI client for SAKURA cloud which is provided by
|
||||||
|
SAKURA internet Inc. in Japan.
|
||||||
|
|
||||||
|
The following feactures are available to SARKUA cloud users via RESTful APIs:
|
||||||
|
|
||||||
|
- Configuration
|
||||||
|
- Authentication
|
||||||
|
- Computing / Storage / Networking
|
||||||
|
- Appliance / Networking
|
||||||
|
- Secure Mobile
|
||||||
|
- Common service items
|
||||||
|
- Billing
|
||||||
|
- Lab
|
||||||
|
- WebAccelerator
|
||||||
|
- Region/Zone information
|
||||||
|
- Service/Product information
|
||||||
|
- Other services / commands
|
||||||
|
|
||||||
|
SEE ALSO following manuals:
|
||||||
|
https://docs.usacloud.jp/usacloud/installation/start_guide/
|
||||||
|
https://docs.usacloud.jp/usacloud/guides/basic_usage/
|
||||||
|
https://docs.usacloud.jp/usacloud/references/global/
|
||||||
|
https://docs.usacloud.jp/usacloud/references/profile/
|
||||||
|
https://docs.usacloud.jp/usacloud/references/env/
|
Loading…
Add table
Reference in a new issue