pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/go-md2man Add go-md2man package



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d42a070da911
branches:  trunk
changeset: 366667:d42a070da911
user:      gavan <gavan%pkgsrc.org@localhost>
date:      Thu Aug 17 01:55:42 2017 +0000

description:
Add go-md2man package

diffstat:

 textproc/go-md2man/DESCR         |  10 ++++++++++
 textproc/go-md2man/Makefile      |  22 ++++++++++++++++++++++
 textproc/go-md2man/PLIST         |   9 +++++++++
 textproc/go-md2man/buildlink3.mk |  19 +++++++++++++++++++
 textproc/go-md2man/distinfo      |   6 ++++++
 5 files changed, 66 insertions(+), 0 deletions(-)

diffs (86 lines):

diff -r 9227da20400f -r d42a070da911 textproc/go-md2man/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/go-md2man/DESCR  Thu Aug 17 01:55:42 2017 +0000
@@ -0,0 +1,10 @@
+go-md2man
+
+** Work in Progress ** This still needs a lot of help to be complete, or even usable!
+
+Uses blackfriday to process markdown into man pages.
+
+Usage
+
+./md2man -in /path/to/markdownfile.md -out /manfile/output/path
+
diff -r 9227da20400f -r d42a070da911 textproc/go-md2man/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/go-md2man/Makefile       Thu Aug 17 01:55:42 2017 +0000
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1 2017/08/17 01:55:42 gavan Exp $
+
+DISTNAME=      go-md2man-1.0.6
+PKGNAME=       ${DISTNAME}
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=cpuguy83/}
+CATEGORIES=    textproc
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+GITHUB_PROJECT= ${PKGBASE}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/cpuguy83/go-md2man/
+COMMENT=       Uses blackfriday to process markdown into man pages.
+LICENSE=       mit
+
+GO_DIST_BASE=  ${DISTNAME}
+GO_SRCPATH=    github.com/cpuguy83/go-md2man
+
+.include "../../devel/go-blackfriday/buildlink3.mk"
+.include "../../devel/go-sanitized_anchor_name/buildlink3.mk"
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
+
diff -r 9227da20400f -r d42a070da911 textproc/go-md2man/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/go-md2man/PLIST  Thu Aug 17 01:55:42 2017 +0000
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1 2017/08/17 01:55:42 gavan Exp $
+bin/go-md2man
+gopkg/pkg/${GO_PLATFORM}/github.com/cpuguy83/go-md2man/md2man.a
+gopkg/src/github.com/cpuguy83/go-md2man/LICENSE.md
+gopkg/src/github.com/cpuguy83/go-md2man/README.md
+gopkg/src/github.com/cpuguy83/go-md2man/go-md2man.1.md
+gopkg/src/github.com/cpuguy83/go-md2man/md2man.go
+gopkg/src/github.com/cpuguy83/go-md2man/md2man/md2man.go
+gopkg/src/github.com/cpuguy83/go-md2man/md2man/roff.go
diff -r 9227da20400f -r d42a070da911 textproc/go-md2man/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/go-md2man/buildlink3.mk  Thu Aug 17 01:55:42 2017 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink3.mk,v 1.1 2017/08/17 01:55:42 gavan Exp $
+
+BUILDLINK_TREE+=       go-md2man
+
+.if !defined(GO_MD2MAN_BUILDLINK3_MK)
+GO_MD2MAN_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-md2man=   ${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-md2man?=                build
+
+BUILDLINK_API_DEPENDS.go-md2man+=      go-md2man>=1.0.6
+BUILDLINK_PKGSRCDIR.go-md2man?=                ../../textproc/go-md2man
+
+.include "../../devel/go-blackfriday/buildlink3.mk"
+.include "../../devel/go-sanitized_anchor_name/buildlink3.mk"
+.endif  # GO_MD2MAN_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -go-md2man
+
diff -r 9227da20400f -r d42a070da911 textproc/go-md2man/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/go-md2man/distinfo       Thu Aug 17 01:55:42 2017 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/08/17 01:55:42 gavan Exp $
+
+SHA1 (go-md2man-1.0.6.tar.gz) = f0650399c85fec078e23af7e0a79fbe93559451a
+RMD160 (go-md2man-1.0.6.tar.gz) = bbb1df18abdc851dc738e4f30778be198d75ef43
+SHA512 (go-md2man-1.0.6.tar.gz) = 73abf08470c7ba3c5e5f0212a19f37ae98a8582605d2493bb21b2e5c07fafa8fb711f05665e153863d195749a0870e674e203f377ec7bb8425b9d497fa9864d1
+Size (go-md2man-1.0.6.tar.gz) = 40240 bytes



Home | Main Index | Thread Index | Old Index