Import of pkgsrc-2016Q3

This commit is contained in:
2016-10-14 07:49:11 +02:00
committed by Lionel Sambuc
parent 9d819b6d54
commit 1242aa1e36
35952 changed files with 949749 additions and 377083 deletions

View File

@@ -0,0 +1,12 @@
MultiMarkdown, or MMD, is a tool to help turn minimally marked-up
plain text into well formatted documents, including HTML, PDF (by
way of LaTeX), OPML, or OpenDocument (specifically, Flat OpenDocument
or '.fodt', which can in turn be converted into RTF, Microsoft
Word, or virtually any other word-processing format).
MMD is a superset of the Markdown syntax, originally created by
John Gruber. It adds multiple syntax features (tables, footnotes,
and citations, to name a few), in addition to the various output
formats listed above (Markdown only creates HTML). Additionally,
it builds in "smart" typography for various languages (proper left-
and right-sided quotes, for example).

View File

@@ -0,0 +1,32 @@
# $NetBSD: Makefile,v 1.2 2016/07/09 06:39:06 wiz Exp $
DISTNAME= MultiMarkdown-4-4.7.1
PKGNAME= ${DISTNAME:S/MultiMarkdown-4-/multimarkdown-/}
PKGREVISION= 1
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_LOCAL}
MAINTAINER= ryoon@NetBSD.org
HOMEPAGE= http://fletcherpenney.net/multimarkdown/
COMMENT= MultiMarkdown (MMD) v4 written in C
LICENSE= gnu-gpl-v3 OR mit
USE_TOOLS+= gmake perl
MAKE_FLAGS+= prefix=${PREFIX}
BUILD_TARGET= ALL
INSTALL_TARGET= pkg-install pkg-install-scripts
REPLACE_PERL= enumsToPerl.pl
SUBST_CLASSES+= fix-paths
SUBST_STAGE.fix-paths= pre-configure
SUBST_MESSAGE.fix-paths= Fixing /usr/local paths.
SUBST_FILES.fix-paths= scripts/m*
SUBST_SED.fix-paths= -e 's,"/usr/local,"${PREFIX},g'
post-patch:
cd ${WRKSRC} && \
${RM} scripts/markdown.bat scripts/mmd2pdf.orig
.include "../../mk/bsd.pkg.mk"

View File

@@ -0,0 +1,10 @@
@comment $NetBSD: PLIST,v 1.1 2015/10/18 09:14:11 ryoon Exp $
bin/markdown
bin/mmd
bin/mmd2all
bin/mmd2odf
bin/mmd2opml
bin/mmd2pdf
bin/mmd2rtf
bin/mmd2tex
bin/multimarkdown

View File

@@ -0,0 +1,7 @@
$NetBSD: distinfo,v 1.1 2015/10/18 09:14:11 ryoon Exp $
SHA1 (MultiMarkdown-4-4.7.1.tar.gz) = 90a06cff838e598b9f1d30be0fe8f2d853ce8c59
RMD160 (MultiMarkdown-4-4.7.1.tar.gz) = 24b8b3a6631dd2aac3ea648fd0bb5715101d0e09
SHA512 (MultiMarkdown-4-4.7.1.tar.gz) = 0859e1b96f9321ab2ecf9f895ad6550bd36b48f8f77b1f403fdbef7d154e7a3e3e42ccd97d32e3002be773ba4d4cec166eba4f19903f4f084162ca61ec612d3b
Size (MultiMarkdown-4-4.7.1.tar.gz) = 759765 bytes
SHA1 (patch-scripts_mmd2pdf) = 234d96fc56a27bb1b69755b4097a3cf14cba1fd0

View File

@@ -0,0 +1,25 @@
$NetBSD: patch-scripts_mmd2pdf,v 1.1 2015/10/18 09:14:11 ryoon Exp $
* POSIX shell portability
https://github.com/fletcher/MultiMarkdown-4/pull/141
--- scripts/mmd2pdf.orig 2015-10-18 07:29:25.000000000 +0000
+++ scripts/mmd2pdf
@@ -37,7 +37,7 @@ do
xelatex "$file_name.tex"
- if [ "$?" == "127" ]
+ if [ "$?" = "127" ]
then
echo "It doesn't appear that xelatex is installed properly." 1>&2
echo "Be sure you have a working LaTeX installation." 1>&2
@@ -53,7 +53,7 @@ do
# Use LaTeX
latexmk "$file_name.tex"
- if [ "$?" == "127" ]
+ if [ "$?" = "127" ]
then
echo "It doesn't appear that latexmk is installed properly." 1>&2
echo "Be sure you have a working LaTeX installation." 1>&2