summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorgavan <gavan@pkgsrc.org>2017-08-17 01:37:13 +0000
committergavan <gavan@pkgsrc.org>2017-08-17 01:37:13 +0000
commita08fcd8e3a00657d5ef1a0ba55b0b0565c5f9151 (patch)
tree417d4ba7fd94fdddee54011e64df5d7694db9e23 /devel
parent7ff2d1d55711a96dfdf3b2234b8c58372cdaab31 (diff)
downloadpkgsrc-a08fcd8e3a00657d5ef1a0ba55b0b0565c5f9151.tar.gz
Add go-purell package
Diffstat (limited to 'devel')
-rw-r--r--devel/go-purell/DESCR1
-rw-r--r--devel/go-purell/Makefile20
-rw-r--r--devel/go-purell/PLIST9
-rw-r--r--devel/go-purell/buildlink3.mk17
-rw-r--r--devel/go-purell/distinfo6
5 files changed, 53 insertions, 0 deletions
diff --git a/devel/go-purell/DESCR b/devel/go-purell/DESCR
new file mode 100644
index 00000000000..3a601b64ade
--- /dev/null
+++ b/devel/go-purell/DESCR
@@ -0,0 +1 @@
+Purell is a tiny Go library to normalize URLs. It returns a pure URL. Pure-ell. Sanitizer and all. Yeah, I know...
diff --git a/devel/go-purell/Makefile b/devel/go-purell/Makefile
new file mode 100644
index 00000000000..5f3994d22c0
--- /dev/null
+++ b/devel/go-purell/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2017/08/17 01:37:13 gavan Exp $
+
+DISTNAME= purell-0.1.0
+PKGNAME= go-${DISTNAME}
+MASTER_SITES= ${MASTER_SITE_GITHUB:=PuerkitoBio/}
+CATEGORIES= devel
+GITHUB_TAG= v${PKGVERSION_NOREV}
+GITHUB_PROJECT= ${PKGBASE:S/^go-//}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/PuerkitoBio/purell
+COMMENT= Purell is a tiny Go library to normalize URLs.
+LICENSE= modified-bsd
+
+GO_DIST_BASE= ${DISTNAME}
+GO_SRCPATH= github.com/PuerkitoBio/purell
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
+
diff --git a/devel/go-purell/PLIST b/devel/go-purell/PLIST
new file mode 100644
index 00000000000..34c85e30851
--- /dev/null
+++ b/devel/go-purell/PLIST
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1 2017/08/17 01:37:13 gavan Exp $
+gopkg/pkg/${GO_PLATFORM}/github.com/PuerkitoBio/purell.a
+gopkg/src/github.com/PuerkitoBio/purell/LICENSE
+gopkg/src/github.com/PuerkitoBio/purell/README.md
+gopkg/src/github.com/PuerkitoBio/purell/example_test.go
+gopkg/src/github.com/PuerkitoBio/purell/purell.go
+gopkg/src/github.com/PuerkitoBio/purell/purell_test.go
+gopkg/src/github.com/PuerkitoBio/purell/urlnorm_test.go
+@pkgdir bin
diff --git a/devel/go-purell/buildlink3.mk b/devel/go-purell/buildlink3.mk
new file mode 100644
index 00000000000..20d259de282
--- /dev/null
+++ b/devel/go-purell/buildlink3.mk
@@ -0,0 +1,17 @@
+# $NetBSD: buildlink3.mk,v 1.1 2017/08/17 01:37:13 gavan Exp $
+
+BUILDLINK_TREE+= go-purell
+
+.if !defined(GO_PURELL_BUILDLINK3_MK)
+GO_PURELL_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-purell= ${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-purell?= build
+
+BUILDLINK_API_DEPENDS.go-purell+= go-purell>=0.1.0
+BUILDLINK_PKGSRCDIR.go-purell?= ../../devel/go-purell
+
+.endif # GO_PURELL_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -go-purell
+
diff --git a/devel/go-purell/distinfo b/devel/go-purell/distinfo
new file mode 100644
index 00000000000..60aa9444769
--- /dev/null
+++ b/devel/go-purell/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/08/17 01:37:13 gavan Exp $
+
+SHA1 (purell-0.1.0.tar.gz) = e5aaaeb4ade770117cc773ab02ce0fb5cfeafa3b
+RMD160 (purell-0.1.0.tar.gz) = 7cac2ce737d38edd06ab9cbbdd9fb524e1445c92
+SHA512 (purell-0.1.0.tar.gz) = ff45214f7b23d3043cbda68572939711be74440c22d35d3f37385373bd63e516f621ae1eb298d2234357cdb1be70eee9c0cc913fe0f44742204488e522637137
+Size (purell-0.1.0.tar.gz) = 10674 bytes