Add go-fsync package

This commit is contained in:
gavan 2017-08-17 01:25:46 +00:00
parent 919496ae99
commit 51ef8cc1b0
5 changed files with 53 additions and 0 deletions

1
devel/go-fsync/DESCR Normal file
View file

@ -0,0 +1 @@
Package fsync keeps files and directories in sync.

21
devel/go-fsync/Makefile Normal file
View file

@ -0,0 +1,21 @@
# $NetBSD: Makefile,v 1.1 2017/08/17 01:25:46 gavan Exp $
DISTNAME= fsync-0.0.20170320
PKGNAME= go-${DISTNAME}
MASTER_SITES= ${MASTER_SITE_GITHUB:=spf13/}
CATEGORIES= devel
GITHUB_TAG= 12a01e648f05a938100a26858d2d59a120307a18
GITHUB_PROJECT= ${PKGBASE:S/^go-//}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/spf13/fsync
COMMENT= Package fsync keeps files and directories in sync.
LICENSE= mit
GO_DIST_BASE= ${GITHUB_PROJECT}-${GITHUB_TAG}
GO_SRCPATH= github.com/spf13/fsync
.include "../../devel/go-afero/buildlink3.mk"
.include "../../lang/go/go-package.mk"
.include "../../mk/bsd.pkg.mk"

7
devel/go-fsync/PLIST Normal file
View file

@ -0,0 +1,7 @@
@comment $NetBSD: PLIST,v 1.1 2017/08/17 01:25:46 gavan Exp $
gopkg/pkg/${GO_PLATFORM}/github.com/spf13/fsync.a
gopkg/src/github.com/spf13/fsync/LICENSE
gopkg/src/github.com/spf13/fsync/README.md
gopkg/src/github.com/spf13/fsync/fsync.go
gopkg/src/github.com/spf13/fsync/fsync_test.go
@pkgdir bin

View file

@ -0,0 +1,18 @@
# $NetBSD: buildlink3.mk,v 1.1 2017/08/17 01:25:46 gavan Exp $
BUILDLINK_TREE+= go-fsync
.if !defined(GO_FSYNC_BUILDLINK3_MK)
GO_FSYNC_BUILDLINK3_MK:=
BUILDLINK_CONTENTS_FILTER.go-fsync= ${EGREP} gopkg/
BUILDLINK_DEPMETHOD.go-fsync?= build
BUILDLINK_API_DEPENDS.go-fsync+= go-fsync>=0.0
BUILDLINK_PKGSRCDIR.go-fsync?= ../../devel/go-fsync
.include "../../devel/go-afero/buildlink3.mk"
.endif # GO_FSYNC_BUILDLINK3_MK
BUILDLINK_TREE+= -go-fsync

6
devel/go-fsync/distinfo Normal file
View file

@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.1 2017/08/17 01:25:46 gavan Exp $
SHA1 (fsync-0.0.20170320-12a01e648f05a938100a26858d2d59a120307a18.tar.gz) = 4bf4295e63b3c7f1f659e93abf100c241aa3a1cd
RMD160 (fsync-0.0.20170320-12a01e648f05a938100a26858d2d59a120307a18.tar.gz) = 6b8933c2cebf73df95a4ec7c4c28fb1a0fa3e9f3
SHA512 (fsync-0.0.20170320-12a01e648f05a938100a26858d2d59a120307a18.tar.gz) = 62c62aa2090ca0dd4aa24b4ba452a8635d5d6ee89740ab34178fb1b7665de515e65dd38504498156f183c0362953ea3ae8aa6ab1c6385f8bdc1c38e6e258448e
Size (fsync-0.0.20170320-12a01e648f05a938100a26858d2d59a120307a18.tar.gz) = 4845 bytes