summaryrefslogtreecommitdiffstats
path: root/net/urlendec
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2001-04-07 07:11:21 +0000
committerwill <will@FreeBSD.org>2001-04-07 07:11:21 +0000
commit616b5223b5312309b52110734afa6a2c939aa635 (patch)
treed5230fd5950c60e5883fae834c6976b9cff500f5 /net/urlendec
parentb4932a487612f4a7aa0dfe4197d0550c2f5dbfee (diff)
downloadFreeBSD-ports-616b5223b5312309b52110734afa6a2c939aa635.zip
FreeBSD-ports-616b5223b5312309b52110734afa6a2c939aa635.tar.gz
Add urlendec 1.0, URL encoder and decoder.
PR: 22303 Submitted by: G. Adam Stanislav <adam@whizkidtech.net>
Diffstat (limited to 'net/urlendec')
-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
5 files changed, 54 insertions, 0 deletions
diff --git a/net/urlendec/Makefile b/net/urlendec/Makefile
new file mode 100644
index 0000000..eb41ed2
--- /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 0000000..e4ef99f
--- /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 0000000..8c7cbbb
--- /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 0000000..1733910
--- /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 0000000..eee36ea
--- /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
OpenPOWER on IntegriCloud