diff options
author | minskim <minskim@pkgsrc.org> | 2018-06-13 16:19:31 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2018-06-13 16:19:31 +0000 |
commit | f42c16dde1de6db04fc8f3dd9337bd99929a3a8c (patch) | |
tree | d4988fc44e610afa940bc654b89e1483c84f0f9c /graphics | |
parent | 4152ec5b05b420a880aaaa8b8238e16a531bf2a9 (diff) | |
download | pkgsrc-f42c16dde1de6db04fc8f3dd9337bd99929a3a8c.tar.gz |
graphics/go-resize: Import version 0.0.20180221
Image resizing for the Go programming language with common
interpolation methods.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/go-resize/DESCR | 2 | ||||
-rw-r--r-- | graphics/go-resize/Makefile | 19 | ||||
-rw-r--r-- | graphics/go-resize/PLIST | 15 | ||||
-rw-r--r-- | graphics/go-resize/buildlink3.mk | 15 | ||||
-rw-r--r-- | graphics/go-resize/distinfo | 6 |
5 files changed, 57 insertions, 0 deletions
diff --git a/graphics/go-resize/DESCR b/graphics/go-resize/DESCR new file mode 100644 index 00000000000..d10ec0fb8c5 --- /dev/null +++ b/graphics/go-resize/DESCR @@ -0,0 +1,2 @@ +Image resizing for the Go programming language with common +interpolation methods. diff --git a/graphics/go-resize/Makefile b/graphics/go-resize/Makefile new file mode 100644 index 00000000000..4a623c87642 --- /dev/null +++ b/graphics/go-resize/Makefile @@ -0,0 +1,19 @@ +# $NetBSD: Makefile,v 1.1 2018/06/13 16:19:31 minskim Exp $ + +DISTNAME= resize-0.0.20180221 +PKGNAME= go-${DISTNAME} +MASTER_SITES= ${MASTER_SITE_GITHUB:=nfnt/} +CATEGORIES= graphics +GITHUB_PROJECT= ${PKGBASE:S/^go-//} +GITHUB_TAG= 83c6a9932646f83e3267f353373d47347b6036b2 + +MAINTAINER= minskim@NetBSD.org +HOMEPAGE= https://github.com/nfnt/resize +COMMENT= Pure Go image resizing +LICENSE= isc + +GO_DIST_BASE= ${PKGBASE:S/go-//}-${GITHUB_TAG} +GO_SRCPATH= ${HOMEPAGE:S,https://,,} + +.include "../../lang/go/go-package.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/graphics/go-resize/PLIST b/graphics/go-resize/PLIST new file mode 100644 index 00000000000..dc0102a081e --- /dev/null +++ b/graphics/go-resize/PLIST @@ -0,0 +1,15 @@ +@comment $NetBSD: PLIST,v 1.1 2018/06/13 16:19:31 minskim Exp $ +gopkg/pkg/${GO_PLATFORM}/github.com/nfnt/resize.a +gopkg/src/github.com/nfnt/resize/LICENSE +gopkg/src/github.com/nfnt/resize/README.md +gopkg/src/github.com/nfnt/resize/converter.go +gopkg/src/github.com/nfnt/resize/converter_test.go +gopkg/src/github.com/nfnt/resize/filters.go +gopkg/src/github.com/nfnt/resize/nearest.go +gopkg/src/github.com/nfnt/resize/nearest_test.go +gopkg/src/github.com/nfnt/resize/resize.go +gopkg/src/github.com/nfnt/resize/resize_test.go +gopkg/src/github.com/nfnt/resize/thumbnail.go +gopkg/src/github.com/nfnt/resize/thumbnail_test.go +gopkg/src/github.com/nfnt/resize/ycc.go +gopkg/src/github.com/nfnt/resize/ycc_test.go diff --git a/graphics/go-resize/buildlink3.mk b/graphics/go-resize/buildlink3.mk new file mode 100644 index 00000000000..07b27976352 --- /dev/null +++ b/graphics/go-resize/buildlink3.mk @@ -0,0 +1,15 @@ +# $NetBSD: buildlink3.mk,v 1.1 2018/06/13 16:19:31 minskim Exp $ + +BUILDLINK_TREE+= go-resize + +.if !defined(GO_RESIZE_BUILDLINK3_MK) +GO_RESIZE_BUILDLINK3_MK:= + +BUILDLINK_CONTENTS_FILTER.go-resize= ${EGREP} gopkg/ +BUILDLINK_DEPMETHOD.go-resize?= build + +BUILDLINK_API_DEPENDS.go-resize+= go-resize>=0.0.20180221 +BUILDLINK_PKGSRCDIR.go-resize?= ../../graphics/go-resize +.endif # GO_RESIZE_BUILDLINK3_MK + +BUILDLINK_TREE+= -go-resize diff --git a/graphics/go-resize/distinfo b/graphics/go-resize/distinfo new file mode 100644 index 00000000000..19e84d807ad --- /dev/null +++ b/graphics/go-resize/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2018/06/13 16:19:31 minskim Exp $ + +SHA1 (resize-0.0.20180221-83c6a9932646f83e3267f353373d47347b6036b2.tar.gz) = e7db375d4ee02b186dca48ab2753905c0080795e +RMD160 (resize-0.0.20180221-83c6a9932646f83e3267f353373d47347b6036b2.tar.gz) = 1833003d0d127f40cedb700ccd60cb2c4a153823 +SHA512 (resize-0.0.20180221-83c6a9932646f83e3267f353373d47347b6036b2.tar.gz) = 658fe80affcdf5df30009daeb3879406e42c7beb40267a8f3fd55e0522d701cb6db794018fbdd6fb04fc6ee7e464ba612d0aa691867fa6dbe297e29e26b8b298 +Size (resize-0.0.20180221-83c6a9932646f83e3267f353373d47347b6036b2.tar.gz) = 12464 bytes |