mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
ftp/wcurl: add port: Simple wrapper around curl to easily download files
wcurl is a simple curl wrapper which lets you use curl to download files without having to remember any parameters. Simply call wcurl with a list of URLs you want to download and wcurl will pick sane defaults. If you need anything more complex, you can provide any of curl's supported parameters via the --curl-options option. Just beware that you likely should be using curl directly if your use case is not covered. WWW: https://curl.se/wcurl/
This commit is contained in:
parent
a067c93271
commit
ba7c09d984
4 changed files with 45 additions and 0 deletions
|
@ -91,6 +91,7 @@
|
||||||
SUBDIR += vsftpd
|
SUBDIR += vsftpd
|
||||||
SUBDIR += vsftpd-ext
|
SUBDIR += vsftpd-ext
|
||||||
SUBDIR += waiho
|
SUBDIR += waiho
|
||||||
|
SUBDIR += wcurl
|
||||||
SUBDIR += weex
|
SUBDIR += weex
|
||||||
SUBDIR += wget
|
SUBDIR += wget
|
||||||
SUBDIR += wmget
|
SUBDIR += wmget
|
||||||
|
|
31
ftp/wcurl/Makefile
Normal file
31
ftp/wcurl/Makefile
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
PORTNAME= wcurl
|
||||||
|
DISTVERSION= 2024.07.10
|
||||||
|
CATEGORIES= ftp net www
|
||||||
|
|
||||||
|
MAINTAINER= tagattie@FreeBSD.org
|
||||||
|
COMMENT= Simple wrapper around curl to easily download files
|
||||||
|
WWW= https://curl.se/wcurl/
|
||||||
|
|
||||||
|
LICENSE= MIT
|
||||||
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||||
|
|
||||||
|
RUN_DEPENDS= curl>=7.46.0:ftp/curl
|
||||||
|
TEST_DEPENDS= shunit2:devel/shunit2
|
||||||
|
|
||||||
|
USE_GITHUB= yes
|
||||||
|
GH_ACCOUNT= curl
|
||||||
|
|
||||||
|
NO_ARCH= yes
|
||||||
|
NO_BUILD= yes
|
||||||
|
|
||||||
|
PLIST_FILES= bin/wcurl \
|
||||||
|
share/man/man1/wcurl.1.gz
|
||||||
|
|
||||||
|
do-install:
|
||||||
|
${INSTALL_SCRIPT} ${WRKSRC}/wcurl ${STAGEDIR}${PREFIX}/bin
|
||||||
|
${INSTALL_MAN} ${WRKSRC}/wcurl.1 ${STAGEDIR}${PREFIX}/share/man/man1
|
||||||
|
|
||||||
|
do-test:
|
||||||
|
cd ${WRKSRC} && ./tests/tests.sh
|
||||||
|
|
||||||
|
.include <bsd.port.mk>
|
3
ftp/wcurl/distinfo
Normal file
3
ftp/wcurl/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
TIMESTAMP = 1725536015
|
||||||
|
SHA256 (curl-wcurl-2024.07.10_GH0.tar.gz) = 962bb72e36e6f6cedbd21c8ca3af50e7dadd587a49d2482ab3226e76cf6dcc97
|
||||||
|
SIZE (curl-wcurl-2024.07.10_GH0.tar.gz) = 5791
|
10
ftp/wcurl/pkg-descr
Normal file
10
ftp/wcurl/pkg-descr
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
wcurl is a simple curl wrapper which lets you use curl to download
|
||||||
|
files without having to remember any parameters.
|
||||||
|
|
||||||
|
Simply call wcurl with a list of URLs you want to download and wcurl
|
||||||
|
will pick sane defaults.
|
||||||
|
|
||||||
|
If you need anything more complex, you can provide any of curl's
|
||||||
|
supported parameters via the --curl-options option. Just beware that
|
||||||
|
you likely should be using curl directly if your use case is not
|
||||||
|
covered.
|
Loading…
Add table
Reference in a new issue