diff options
author | Juraj Lutter <otis@FreeBSD.org> | 2023-04-05 12:11:49 +0000 |
---|---|---|
committer | Juraj Lutter <otis@FreeBSD.org> | 2023-04-28 19:31:28 +0000 |
commit | f001ef66d9190ce02c6a11fb39a5ee4bb94117ff (patch) | |
tree | 3c04041bc4409ba98581c95297c69877357f4a68 | |
parent | 9b184369780286eaf422af87a7febade83ba4016 (diff) | |
download | ports-f001ef66d9190ce02c6a11fb39a5ee4bb94117ff.tar.gz ports-f001ef66d9190ce02c6a11fb39a5ee4bb94117ff.zip |
misc/trurl: Add new port
trurl is a command line tool for URL parsing and manipulation.
WWW: https://github.com/curl/trurl
-rw-r--r-- | misc/Makefile | 1 | ||||
-rw-r--r-- | misc/trurl/Makefile | 26 | ||||
-rw-r--r-- | misc/trurl/distinfo | 3 | ||||
-rw-r--r-- | misc/trurl/pkg-descr | 3 |
4 files changed, 33 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile index a095bd368e54..7d8034c8307b 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -556,6 +556,7 @@ SUBDIR += tlci SUBDIR += toilet SUBDIR += translate + SUBDIR += trurl SUBDIR += ttyrec SUBDIR += tudu SUBDIR += tvbrowser diff --git a/misc/trurl/Makefile b/misc/trurl/Makefile new file mode 100644 index 000000000000..132c34bac63f --- /dev/null +++ b/misc/trurl/Makefile @@ -0,0 +1,26 @@ +PORTNAME= trurl +DISTVERSION= 0.5 +CATEGORIES= misc www + +MAINTAINER= otis@FreeBSD.org +COMMENT= Command line tool for URL parsing and manipulation +WWW= https://github.com/curl/trurl + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/COPYING + +LIB_DEPENDS= libcurl.so:ftp/curl + +USE_GITHUB= yes +GH_ACCOUNT= curl +GH_TAGNAME= ${PORTNAME}-${DISTVERSION} + +MAKE_ARGS= CFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +ALL_TARGET= ${PORTNAME} + +PLIST_FILES= bin/trurl \ + share/man/man1/trurl.1.gz + +.include <bsd.port.mk> diff --git a/misc/trurl/distinfo b/misc/trurl/distinfo new file mode 100644 index 000000000000..583a65ab7949 --- /dev/null +++ b/misc/trurl/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1682699294 +SHA256 (curl-trurl-0.5-trurl-0.5_GH0.tar.gz) = b5c5600cd3533e208b720f13aa06de724270d1750406b41a22f48ce95c51844d +SIZE (curl-trurl-0.5-trurl-0.5_GH0.tar.gz) = 28792 diff --git a/misc/trurl/pkg-descr b/misc/trurl/pkg-descr new file mode 100644 index 000000000000..8d9d5a346674 --- /dev/null +++ b/misc/trurl/pkg-descr @@ -0,0 +1,3 @@ +Command line tool for URL parsing and manipulation. + +It can be used as a complementary tool with `curl'. |