View | Details | Raw Unified | Return to bug 270770
Collapse All | Expand All

(-)b/www/Makefile (+1 lines)
Lines 2314-2319 Link Here
2314
    SUBDIR += trafficserver
2314
    SUBDIR += trafficserver
2315
    SUBDIR += transmission-web
2315
    SUBDIR += transmission-web
2316
    SUBDIR += transproxy
2316
    SUBDIR += transproxy
2317
    SUBDIR += trurl
2317
    SUBDIR += tt-rss
2318
    SUBDIR += tt-rss
2318
    SUBDIR += tuifeed
2319
    SUBDIR += tuifeed
2319
    SUBDIR += tusc
2320
    SUBDIR += tusc
(-)b/www/trurl/Makefile (+36 lines)
Added Link Here
1
PORTNAME=		trurl
2
DISTVERSIONPREFIX=	${PORTNAME}-
3
DISTVERSION=		0.4
4
CATEGORIES=		www
5
6
MAINTAINER=	vidar@karlsen.tech
7
COMMENT=	Parses, manipulates and outputs URLs and parts of URLs
8
WWW=		https://curl.se/trurl
9
10
LICENSE=	MIT
11
LICENSE_FILE=	${WRKSRC}/COPYING
12
13
LIB_DEPENDS=	libcurl.so:ftp/curl
14
15
USES=		perl5
16
17
USE_GITHUB=	yes
18
GH_ACCOUNT=	curl
19
USE_PERL5=	test
20
21
TEST_TARGET=	test
22
23
CFLAGS+=	-I${LOCALBASE}/include
24
LDFLAGS+=	-L${LOCALBASE}/lib
25
26
PLIST_FILES=	bin/trurl share/man/man1/trurl.1.gz
27
28
post-patch:
29
	${REINPLACE_CMD} 's|LDLIBS = -lcurl|LDLIBS = ${LDFLAGS} -lcurl|' \
30
		${WRKSRC}/Makefile
31
	${REINPLACE_CMD} 's|CFLAGS :=|CFLAGS := ${CFLAGS}|' ${WRKSRC}/Makefile
32
33
do-build:
34
	cd ${WRKSRC} && make
35
36
.include <bsd.port.mk>
(-)b/www/trurl/distinfo (+3 lines)
Added Link Here
1
TIMESTAMP = 1681220884
2
SHA256 (curl-trurl-trurl-0.4_GH0.tar.gz) = e78f2397e9e60a73b106c12ef4cfd1fc766f50b36209c38df8a77cda48133e47
3
SIZE (curl-trurl-trurl-0.4_GH0.tar.gz) = 23602
(-)b/www/trurl/pkg-descr (-1 / +15 lines)
Added Link Here
0
- 
1
trurl parses, manipulates and outputs URLs and parts of URLs.
2
3
It uses the RFC 3986 definition of URLs and it uses libcurl's URL
4
parser to do so, which includes a few "extensions". The URL support is
5
limited to "hierarchical" URLs, the ones that use "://" separators
6
after the scheme.
7
8
Typically you pass in one or more URLs and decide what of that you want
9
output. Posssibly modifying the URL as well.
10
11
trurl knows URLs and every URL consists of up to ten separate and
12
independent "components". These components can be extracted, removed
13
and updated with trurl and they are referred to by their respective
14
names: scheme, user, password, options, host, port, path, query,
15
fragment and zoneid.

Return to bug 270770