summaryrefslogtreecommitdiff
path: root/textproc/go-md2man
diff options
context:
space:
mode:
authorgavan <gavan@pkgsrc.org>2017-08-17 01:55:42 +0000
committergavan <gavan@pkgsrc.org>2017-08-17 01:55:42 +0000
commit3dec3777675f291c339c0e388e59ed01ccfdbf18 (patch)
tree11c4818e6bc2e80f2e1574b67997800cb8a61c3c /textproc/go-md2man
parentdb4f2b3b30f8d057734f9a09299246264624988c (diff)
downloadpkgsrc-3dec3777675f291c339c0e388e59ed01ccfdbf18.tar.gz
Add go-md2man package
Diffstat (limited to 'textproc/go-md2man')
-rw-r--r--textproc/go-md2man/DESCR10
-rw-r--r--textproc/go-md2man/Makefile22
-rw-r--r--textproc/go-md2man/PLIST9
-rw-r--r--textproc/go-md2man/buildlink3.mk19
-rw-r--r--textproc/go-md2man/distinfo6
5 files changed, 66 insertions, 0 deletions
diff --git a/textproc/go-md2man/DESCR b/textproc/go-md2man/DESCR
new file mode 100644
index 00000000000..817e1f51984
--- /dev/null
+++ b/textproc/go-md2man/DESCR
@@ -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 --git a/textproc/go-md2man/Makefile b/textproc/go-md2man/Makefile
new file mode 100644
index 00000000000..320608bc152
--- /dev/null
+++ b/textproc/go-md2man/Makefile
@@ -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
+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 --git a/textproc/go-md2man/PLIST b/textproc/go-md2man/PLIST
new file mode 100644
index 00000000000..1b4da6ee65e
--- /dev/null
+++ b/textproc/go-md2man/PLIST
@@ -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 --git a/textproc/go-md2man/buildlink3.mk b/textproc/go-md2man/buildlink3.mk
new file mode 100644
index 00000000000..bd97e79b5fc
--- /dev/null
+++ b/textproc/go-md2man/buildlink3.mk
@@ -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 --git a/textproc/go-md2man/distinfo b/textproc/go-md2man/distinfo
new file mode 100644
index 00000000000..89ad932cec5
--- /dev/null
+++ b/textproc/go-md2man/distinfo
@@ -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