aboutsummaryrefslogtreecommitdiff
path: root/misc/trurl
diff options
context:
space:
mode:
authorJuraj Lutter <otis@FreeBSD.org>2023-04-05 12:11:49 +0000
committerJuraj Lutter <otis@FreeBSD.org>2023-04-28 19:31:28 +0000
commitf001ef66d9190ce02c6a11fb39a5ee4bb94117ff (patch)
tree3c04041bc4409ba98581c95297c69877357f4a68 /misc/trurl
parent9b184369780286eaf422af87a7febade83ba4016 (diff)
downloadports-f001ef66d9190ce02c6a11fb39a5ee4bb94117ff.tar.gz
ports-f001ef66d9190ce02c6a11fb39a5ee4bb94117ff.zip
Diffstat (limited to 'misc/trurl')
-rw-r--r--misc/trurl/Makefile26
-rw-r--r--misc/trurl/distinfo3
-rw-r--r--misc/trurl/pkg-descr3
3 files changed, 32 insertions, 0 deletions
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'.