Add go-md2man package
This commit is contained in:
parent
b633a97194
commit
357a7a02b5
5 changed files with 66 additions and 0 deletions
10
textproc/go-md2man/DESCR
Normal file
10
textproc/go-md2man/DESCR
Normal file
|
@ -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
|
||||
|
22
textproc/go-md2man/Makefile
Normal file
22
textproc/go-md2man/Makefile
Normal file
|
@ -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"
|
||||
|
9
textproc/go-md2man/PLIST
Normal file
9
textproc/go-md2man/PLIST
Normal file
|
@ -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
|
19
textproc/go-md2man/buildlink3.mk
Normal file
19
textproc/go-md2man/buildlink3.mk
Normal file
|
@ -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
|
||||
|
6
textproc/go-md2man/distinfo
Normal file
6
textproc/go-md2man/distinfo
Normal file
|
@ -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
|
Loading…
Reference in a new issue