pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/go-tocss www/go-tocss: import go-tocss-0.5.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d1fc3ef5a386
branches:  trunk
changeset: 387481:d1fc3ef5a386
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Sun Nov 18 08:48:11 2018 +0000

description:
www/go-tocss: import go-tocss-0.5.0

This is currently a, hopefully, simple to use LibSass Go API. It
uses the C bindings in https://github.com/wellington/go-libsass/libs
to do the heavy lifting.

The primary motivation for this project is to add SCSS support to
Hugo. It is has some generic tocss package names hoping that there
will be a solid native Go implementation that can replace LibSass
in the near future.

diffstat:

 www/go-tocss/DESCR         |   8 ++++++++
 www/go-tocss/Makefile      |  21 +++++++++++++++++++++
 www/go-tocss/PLIST         |  12 ++++++++++++
 www/go-tocss/buildlink3.mk |  16 ++++++++++++++++
 www/go-tocss/distinfo      |   6 ++++++
 5 files changed, 63 insertions(+), 0 deletions(-)

diffs (83 lines):

diff -r eae9cf9e5333 -r d1fc3ef5a386 www/go-tocss/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/go-tocss/DESCR        Sun Nov 18 08:48:11 2018 +0000
@@ -0,0 +1,8 @@
+This is currently a, hopefully, simple to use LibSass Go API. It
+uses the C bindings in https://github.com/wellington/go-libsass/libs
+to do the heavy lifting.
+
+The primary motivation for this project is to add SCSS support to
+Hugo. It is has some generic tocss package names hoping that there
+will be a solid native Go implementation that can replace LibSass
+in the near future.
diff -r eae9cf9e5333 -r d1fc3ef5a386 www/go-tocss/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/go-tocss/Makefile     Sun Nov 18 08:48:11 2018 +0000
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1 2018/11/18 08:48:11 ryoon Exp $
+
+DISTNAME=      go-tocss-0.5.0
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=bep/}
+CATEGORIES=    www
+GITHUB_PROJECT=        go-tocss
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/bep/go-tocss
+COMMENT=       Simple to use Go API for LibSass. Uses CGO
+LICENSE=       mit
+
+GO_DIST_BASE=  ${DISTNAME}
+GO_SRCPATH=    github.com/bep/go-tocss
+
+USE_LANGUAGES= c c++
+
+.include "../../www/go-libsass/buildlink3.mk"
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r eae9cf9e5333 -r d1fc3ef5a386 www/go-tocss/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/go-tocss/PLIST        Sun Nov 18 08:48:11 2018 +0000
@@ -0,0 +1,12 @@
+@comment $NetBSD: PLIST,v 1.1 2018/11/18 08:48:11 ryoon Exp $
+gopkg/pkg/${GO_PLATFORM}/github.com/bep/go-tocss/scss.a
+gopkg/pkg/${GO_PLATFORM}/github.com/bep/go-tocss/scss/libsass.a
+gopkg/pkg/${GO_PLATFORM}/github.com/bep/go-tocss/tocss.a
+gopkg/src/github.com/bep/go-tocss/LICENSE
+gopkg/src/github.com/bep/go-tocss/README.md
+gopkg/src/github.com/bep/go-tocss/appveyor.yml
+gopkg/src/github.com/bep/go-tocss/scss/common.go
+gopkg/src/github.com/bep/go-tocss/scss/common_test.go
+gopkg/src/github.com/bep/go-tocss/scss/libsass/transpiler.go
+gopkg/src/github.com/bep/go-tocss/scss/libsass/transpiler_test.go
+gopkg/src/github.com/bep/go-tocss/tocss/transpiler.go
diff -r eae9cf9e5333 -r d1fc3ef5a386 www/go-tocss/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/go-tocss/buildlink3.mk        Sun Nov 18 08:48:11 2018 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: buildlink3.mk,v 1.1 2018/11/18 08:48:11 ryoon Exp $
+
+BUILDLINK_TREE+=       go-tocss
+
+.if !defined(GO_TOCSS_BUILDLINK3_MK)
+GO_TOCSS_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-tocss=    ${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-tocss?=         build
+
+BUILDLINK_API_DEPENDS.go-tocss+=       go-tocss>=0.5.0
+BUILDLINK_PKGSRCDIR.go-tocss?=         ../../www/go-tocss
+
+.endif # GO_TOCSS_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -go-tocss
diff -r eae9cf9e5333 -r d1fc3ef5a386 www/go-tocss/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/go-tocss/distinfo     Sun Nov 18 08:48:11 2018 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2018/11/18 08:48:11 ryoon Exp $
+
+SHA1 (go-tocss-0.5.0.tar.gz) = e7d3eabd9f2edac48506c6580927b29a0ad28c26
+RMD160 (go-tocss-0.5.0.tar.gz) = aade891d5961bdbcdbb77e7ec6663ad4e3a2532a
+SHA512 (go-tocss-0.5.0.tar.gz) = df9c08241a0223bbb6b37b5da576a186152554ddc442cd0568a2f9bf7898e668587fe393c03f41e2b1cc994a3cd19d54c39fcf0e69e168451aff690883f42376
+Size (go-tocss-0.5.0.tar.gz) = 5370 bytes



Home | Main Index | Thread Index | Old Index