pkgsrc/textproc/multimarkdown/Makefile
ryoon 133fa1751f Import multimarkdown-4.7.1 as textproc/multimarkdown.
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).
2015-10-18 09:14:11 +00:00

31 lines
826 B
Makefile

# $NetBSD: Makefile,v 1.1 2015/10/18 09:14:11 ryoon Exp $
DISTNAME= MultiMarkdown-4-4.7.1
PKGNAME= ${DISTNAME:S/MultiMarkdown-4-/multimarkdown-/}
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"