aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2001-04-07 15:11:21 +0800
committerwill <will@FreeBSD.org>2001-04-07 15:11:21 +0800
commit616b5223b5312309b52110734afa6a2c939aa635 (patch)
treed5230fd5950c60e5883fae834c6976b9cff500f5 /net
parentb4932a487612f4a7aa0dfe4197d0550c2f5dbfee (diff)
downloadfreebsd-ports-gnome-616b5223b5312309b52110734afa6a2c939aa635.tar.gz
freebsd-ports-gnome-616b5223b5312309b52110734afa6a2c939aa635.tar.zst
freebsd-ports-gnome-616b5223b5312309b52110734afa6a2c939aa635.zip
Add urlendec 1.0, URL encoder and decoder.
PR: 22303 Submitted by: G. Adam Stanislav <adam@whizkidtech.net>
Diffstat (limited to 'net')
-rw-r--r--net/Makefile1
-rw-r--r--net/urlendec/Makefile39
-rw-r--r--net/urlendec/distinfo1
-rw-r--r--net/urlendec/pkg-comment1
-rw-r--r--net/urlendec/pkg-descr9
-rw-r--r--net/urlendec/pkg-plist4
6 files changed, 55 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index 4fdbb8912e85..c05731647c75 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -343,6 +343,7 @@
SUBDIR += ttt
SUBDIR += tund
SUBDIR += unison
+ SUBDIR += urlendec
SUBDIR += vnc
SUBDIR += vrrp
SUBDIR += vtun
diff --git a/net/urlendec/Makefile b/net/urlendec/Makefile
new file mode 100644
index 000000000000..eb41ed239a14
--- /dev/null
+++ b/net/urlendec/Makefile
@@ -0,0 +1,39 @@
+# New ports collection makefile for: urlendec
+# Date created: 25 October 2000
+# Whom: G. Adam Stanislav <adam@whizkidtech.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= urlendec
+PORTVERSION= 1.0
+CATEGORIES= net
+MASTER_SITES= http://www.whizkidtech.net/fports/
+
+MAINTAINER= adam@whizkidtech.net
+
+BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm
+
+BINARIES= urlencode urldecode
+DOCFILES= index.html rfc1738.txt
+
+do-install:
+.for f in ${BINARIES}
+ ${INSTALL_PROGRAM} ${WRKSRC}/${f} ${PREFIX}/bin
+.endfor
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${PREFIX}/share/doc/urlendec
+.for f in ${DOCFILES}
+ ${INSTALL_MAN} ${WRKSRC}/${f} ${PREFIX}/share/doc/urlendec
+.endfor
+ @echo ""
+ @echo " ----------------------------------------------------"
+ @echo " Please read ${PREFIX}/share/doc/urlendec/index.html"
+ @echo " for detailed instructions how to use this port."
+ @echo " ----------------------------------------------------"
+ @echo ""
+.endif
+
+.include <bsd.port.mk>
diff --git a/net/urlendec/distinfo b/net/urlendec/distinfo
new file mode 100644
index 000000000000..e4ef99f0f8f0
--- /dev/null
+++ b/net/urlendec/distinfo
@@ -0,0 +1 @@
+MD5 (urlendec-1.0.tar.gz) = 13d7b876048f070951bccaae776f1180
diff --git a/net/urlendec/pkg-comment b/net/urlendec/pkg-comment
new file mode 100644
index 000000000000..8c7cbbba0bb3
--- /dev/null
+++ b/net/urlendec/pkg-comment
@@ -0,0 +1 @@
+URL encoder and decoder
diff --git a/net/urlendec/pkg-descr b/net/urlendec/pkg-descr
new file mode 100644
index 000000000000..1733910bdc9d
--- /dev/null
+++ b/net/urlendec/pkg-descr
@@ -0,0 +1,9 @@
+A set of two tools to URL encode and URL decode any stream of data, either
+from the command line or from standard input.
+
+See RFC 1738, section 2.2, for an eplanation of URL encoding.
+
+WWW: http://www.whizkidtech.net/urlendec/
+
+G. Adam Stanislav
+adam@whizkidtech.net
diff --git a/net/urlendec/pkg-plist b/net/urlendec/pkg-plist
new file mode 100644
index 000000000000..eee36eac6720
--- /dev/null
+++ b/net/urlendec/pkg-plist
@@ -0,0 +1,4 @@
+bin/urlencode
+bin/urldecode
+share/doc/urlendec/index.html
+share/doc/urlendec/rfc1738.txt