aboutsummaryrefslogtreecommitdiffstats
path: root/dns
diff options
context:
space:
mode:
authorswills <swills@FreeBSD.org>2013-06-29 10:22:50 +0800
committerswills <swills@FreeBSD.org>2013-06-29 10:22:50 +0800
commit1790f13116eb002f67bbba56821b02546056e3cc (patch)
tree604ea6ea70052b765b5cdc46951b3966aec96fd4 /dns
parent65e8e3bbfcebc56aff88d5916f85585fa1cba61d (diff)
downloadfreebsd-ports-gnome-1790f13116eb002f67bbba56821b02546056e3cc.tar.gz
freebsd-ports-gnome-1790f13116eb002f67bbba56821b02546056e3cc.tar.zst
freebsd-ports-gnome-1790f13116eb002f67bbba56821b02546056e3cc.zip
PublicSuffix can parse and decompose a domain name into top level domain,
domain and subdomains. WWW: http://www.simonecarletti.com/code/publicsuffix
Diffstat (limited to 'dns')
-rw-r--r--dns/Makefile1
-rw-r--r--dns/rubygem-public_suffix/Makefile16
-rw-r--r--dns/rubygem-public_suffix/distinfo2
-rw-r--r--dns/rubygem-public_suffix/pkg-descr4
4 files changed, 23 insertions, 0 deletions
diff --git a/dns/Makefile b/dns/Makefile
index 602ea2d936b1..9acb4d1c92b3 100644
--- a/dns/Makefile
+++ b/dns/Makefile
@@ -146,6 +146,7 @@
SUBDIR += rbllookup-ng
SUBDIR += rubygem-dnsruby
SUBDIR += rubygem-net-dns
+ SUBDIR += rubygem-public_suffix
SUBDIR += rubygem-public_suffix_service
SUBDIR += samba-nsupdate
SUBDIR += scavenge
diff --git a/dns/rubygem-public_suffix/Makefile b/dns/rubygem-public_suffix/Makefile
new file mode 100644
index 000000000000..36d85d918ea6
--- /dev/null
+++ b/dns/rubygem-public_suffix/Makefile
@@ -0,0 +1,16 @@
+# Created by: Steve Wills <swills@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= public_suffix
+PORTVERSION= 1.3.0
+CATEGORIES= dns rubygems
+MASTER_SITES= RG
+
+MAINTAINER= ruby@FreeBSD.org
+COMMENT= Parse and decompose a domain name into top level domain, domain and subdomains
+
+USE_RUBY= yes
+USE_RUBYGEMS= yes
+RUBYGEM_AUTOPLIST= yes
+
+.include <bsd.port.mk>
diff --git a/dns/rubygem-public_suffix/distinfo b/dns/rubygem-public_suffix/distinfo
new file mode 100644
index 000000000000..1bf97a9e9e22
--- /dev/null
+++ b/dns/rubygem-public_suffix/distinfo
@@ -0,0 +1,2 @@
+SHA256 (rubygem/public_suffix-1.3.0.gem) = da94da1785f5ffa29bbb52de7dbe488d109c403f5db525846f157261a9d07c69
+SIZE (rubygem/public_suffix-1.3.0.gem) = 55296
diff --git a/dns/rubygem-public_suffix/pkg-descr b/dns/rubygem-public_suffix/pkg-descr
new file mode 100644
index 000000000000..38c60d607d8c
--- /dev/null
+++ b/dns/rubygem-public_suffix/pkg-descr
@@ -0,0 +1,4 @@
+PublicSuffix can parse and decompose a domain name into top level domain,
+domain and subdomains.
+
+WWW: http://www.simonecarletti.com/code/publicsuffix