summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 4fdbb89..c057316 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 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